:root {
  --bg: #0b0b12;
  --bg-elevated: #14141f;
  --text: #f2f2f7;
  --text-dim: #9a9ab0;
  --accent: #ff7a3d;
  --accent-2: #ffd23d;
  --border: #26263a;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(rgba(11, 11, 18, 0.45), rgba(11, 11, 18, 0.65)),
    url("../assets/aurora-bg.png") center center / cover no-repeat fixed;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Inter, Roboto, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

#spark-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* --- Nav --- */
.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.brand-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  white-space: nowrap;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* --- Hero --- */
.hero {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.hero-icon {
  width: clamp(56px, 10vw, 96px);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(255, 122, 61, 0.55));
}

.hero-title {
  margin-top: 14px;
}

.hero-title img {
  width: clamp(260px, 42vw, 560px);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(255, 90, 30, 0.45));
}

.hero-dialogue {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 46ch;
}

.dialogue-line {
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-style: italic;
}

/* Two speakers — offset in opposite directions and given distinct
   weight/color so the exchange reads as a back-and-forth, not one line. */
.line-a {
  align-self: flex-start;
  color: var(--text-dim);
}

.line-b {
  align-self: flex-end;
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-status {
  margin-top: 22px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #14100a;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865f2;
  color: #fff;
}

.discord-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Sections --- */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 24px;
}

.contact {
  text-align: center;
}

.contact .placeholder-text {
  margin: 0 auto 26px;
}

/* Pull Concept Art up closer to About — the two read as one flow,
   so the usual full section gap between them just reads as empty space. */
#about {
  padding-bottom: 30px;
}

#screenshots {
  padding-top: 30px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.placeholder-text {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 65ch;
}

.placeholder-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
  opacity: 0.7;
}

.placeholder-note code {
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
}

/* --- About --- */
/* --- Journey banner --- */
.journey-banner {
  padding-bottom: 56px;
  text-align: center;
  background: #050304;
}

.journey-art {
  display: block;
  width: 100%;
  height: auto;
}

.journey-caption {
  max-width: 60ch;
  margin: 32px auto 0;
  padding: 0 24px;
}

.journey-quote {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  line-height: 1.6;
  color: var(--text);
}

.journey-credit {
  margin-top: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.about-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.about-card h3 {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--accent-2);
}

.about-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

.about-note {
  margin-top: 32px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text);
}

/* --- Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

.gallery-tile {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 0.9rem;
  overflow: hidden;
}

.gallery-tile img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.gallery-tile:hover img {
  transform: scale(1.03);
}

/* --- Engine teaser --- */
.engine-teaser {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  max-width: 900px;
  text-align: center;
}

.engine-teaser .placeholder-text {
  margin: 0 auto;
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .nav-links {
    gap: 16px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}
