/* ==========================================================================
   Lingoria landing page · style.css
   Hand-written, not minified. Dark theme only.

   Contents
     1. Tokens and base
     2. Layout helpers, eyebrow, buttons
     3. Header and navigation
     4. Hero
     5. Sections (shared)
     6. Games grid and cards
     7. Languages band
     8. Feature cards (about)
     9. Mode cards
    10. Trailer
    11. Story
    12. Support band
    13. Footer
    14. Scroll reveal and reduced motion
    15. Responsive (960px, 640px)
   ========================================================================== */

/* 1. Tokens and base
   ========================================================================== */
:root {
  color-scheme: dark;

  --ink: #0a1715;          /* page background */
  --ink-2: #0d211d;        /* alternate section background */
  --forest: #102b25;
  --forest-2: #163c32;
  --mint: #75e3c0;
  --mint-soft: #baf4dd;
  --gold: #f4d77b;
  --gold-bright: #ffe9a8;  /* wordmark */
  --cream: #f4f0df;
  --muted: #a9bdb6;
  --line: rgba(220, 241, 229, 0.14);
  --shadow: 0 28px 80px rgba(1, 12, 9, 0.34);

  --header-h: 72px;
  --gutter: 24px;          /* side gutter, 16px on phones (see section 15) */
  --radius: 22px;

  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: Nunito, ui-rounded, "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-synthesis: none;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
select {
  font: inherit;
}

img,
video {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--gold);
  color: #1c2b24;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

/* 2. Layout helpers, eyebrow, buttons
   ========================================================================== */
.container,
.header-inner {
  width: min(1160px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.actions--center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.button:hover {
  transform: translateY(-2px);
}

.button.large {
  min-height: 58px;
  padding: 14px 28px;
  font-size: 14px;
}

.button.primary {
  background: var(--gold);
  color: #1c2b24;
  box-shadow: 0 12px 34px rgba(244, 215, 123, 0.18);
}

.button.primary:hover {
  background: var(--gold-bright);
  box-shadow: 0 16px 40px rgba(244, 215, 123, 0.3);
}

.button.secondary {
  border-color: rgba(186, 244, 221, 0.3);
  background: rgba(8, 24, 20, 0.55);
  color: var(--mint-soft);
}

.button.secondary:hover {
  border-color: rgba(186, 244, 221, 0.65);
}

.button.outline {
  border-color: rgba(244, 215, 123, 0.45);
  background: rgba(244, 215, 123, 0.06);
  color: var(--gold);
}

.button.outline:hover {
  border-color: var(--gold);
  background: rgba(244, 215, 123, 0.14);
}

.button.donate {
  border-color: rgba(246, 170, 120, 0.55);
  background: rgba(246, 170, 120, 0.12);
  color: #f6c79a;
}

.button.donate:hover {
  border-color: rgba(246, 170, 120, 0.9);
  background: rgba(246, 170, 120, 0.2);
}

.donate-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(246, 170, 120, 0.55);
  background: rgba(20, 30, 26, 0.92);
  color: #f6c79a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s;
}

.donate-float:hover {
  transform: translateY(-2px);
  background: rgba(28, 40, 34, 0.96);
  border-color: rgba(246, 170, 120, 0.9);
}

@media (max-width: 640px) {
  .donate-float {
    right: 12px;
    bottom: 12px;
    padding: 12px;
  }

  .donate-float-text {
    display: none;
  }
}

/* 3. Header and navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 26, 22, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-rune {
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 215, 123, 0.55);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(244, 215, 123, 0.16), rgba(117, 227, 192, 0.05));
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 900;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.brand-name small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navigation a {
  color: #d6e4df;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.navigation a:hover,
.navigation a:focus-visible {
  color: var(--gold);
}

.navigation .nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(244, 215, 123, 0.5);
  border-radius: 999px;
  color: var(--gold);
}

.navigation .nav-cta:hover {
  background: rgba(244, 215, 123, 0.1);
}

.language-control {
  position: relative;
  display: flex;
  align-items: center;
}

.language-icon {
  position: absolute;
  left: 11px;
  color: var(--muted);
  pointer-events: none;
}

.language-select {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px 8px 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--forest);
  color: var(--cream);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: none;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--cream);
}

/* 4. Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(100svh, 900px);
  padding: calc(var(--header-h) + 56px) 0 96px;
  overflow: hidden;
  text-align: center;
}

/* The painted world. Slow drift gives it life without distracting. */
.hero-bg {
  position: absolute;
  inset: -4%;
  z-index: -2;
  background: #0b211d url("assets/launcher-world.jpg") center / cover no-repeat;
  animation: hero-drift 36s ease-in-out infinite alternate;
}

/* Darkens the centre (where the text sits) and fades the bottom into the page. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 62% 58% at 50% 46%, rgba(6, 18, 15, 0.78), rgba(6, 18, 15, 0.2) 70%, transparent),
    linear-gradient(180deg, rgba(9, 26, 22, 0.75) 0%, transparent 22%, transparent 62%, var(--ink) 100%);
  pointer-events: none;
}

@keyframes hero-drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-1%, -1%, 0);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Gold wordmark: Nunito 900, #ffe9a8, dark stroke. */
.wordmark {
  margin: 14px 0 0;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: clamp(68px, 14vw, 176px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  -webkit-text-stroke: 0.075em #1d1407;
  paint-order: stroke fill;
  text-shadow:
    0 0.05em 0 #1d1407,
    0 0.14em 0.4em rgba(0, 0, 0, 0.6),
    0 0 1.1em rgba(255, 214, 110, 0.22);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero h1 {
  max-width: 820px;
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
  animation: rise 0.9s 0.08s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-text {
  max-width: 620px;
  margin: 18px 0 0;
  color: #d3e0db;
  font-size: 18px;
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
  animation: rise 0.9s 0.16s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* "Em breve na Steam · 1 de dezembro de 2026" */
.launch-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 22px;
  padding: 11px 20px;
  border: 1px solid rgba(244, 215, 123, 0.55);
  border-radius: 999px;
  background: rgba(10, 23, 21, 0.72);
  color: var(--gold-bright);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  box-shadow: 0 0 34px rgba(244, 215, 123, 0.14);
  animation: rise 0.9s 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.launch-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(117, 227, 192, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

.hero .actions {
  animation: rise 0.9s 0.32s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(117, 227, 192, 0.6);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(117, 227, 192, 0);
  }
}

/* 5. Sections (shared)
   ========================================================================== */
.section {
  position: relative;
  padding: 92px 0;
}

.section.alt {
  background: var(--ink-2);
}

.section-header {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 48px;
}

.section-header h2,
.story h2,
.support-band h2,
.trailer-copy h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

/* 6. Games grid and cards
   ========================================================================== */
.games {
  padding-top: 72px;
  background: linear-gradient(180deg, var(--ink) 0%, #0b1f1b 100%);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.game-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #16382f, #0e231e);
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.game-card:hover,
.game-card:focus-within {
  border-color: rgba(244, 215, 123, 0.5);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

/* Every cover is forced into a 16:9 frame and cropped with object-fit. */
.game-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1f1b;
}

.game-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s;
}

.game-cover video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b1f1b;
}

.game-card:hover .game-cover img {
  transform: scale(1.04);
}

/* bazar.png is a vertical 600x900 poster. The 16:9 window is placed near the
   top so the "Lingoria Bazar" sign stays visible. For a plain centre crop,
   change this to "center". */
.game-cover--bazar img {
  object-position: center 3%;
}

/* Status pill, sits in the card body above the game name (the covers have
   their own titles painted in, so nothing is laid over the art). */
.badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.badge--demo {
  background: var(--mint);
  color: #06241b;
}

.badge--steam {
  border: 1px solid rgba(244, 215, 123, 0.5);
  background: rgba(244, 215, 123, 0.08);
  color: var(--gold);
}

.game-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.game-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.game-body p {
  margin: 0 0 22px;
  color: #c2d2cc;
  font-size: 15px;
  line-height: 1.65;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: auto;
}

.steam-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-color: rgba(169, 189, 182, 0.4);
  text-underline-offset: 4px;
}

.steam-link:hover {
  color: var(--gold);
}

/* Featured card (Idle): full row, cover on the left, text on the right. */
.game-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(244, 215, 123, 0.12), transparent 55%),
    linear-gradient(145deg, #1a4338, #0e231e);
}

.game-card--featured .game-cover {
  flex: 0 0 58%;
}

.game-card--featured .game-body {
  justify-content: center;
  padding: 36px 40px;
}

.game-card--featured .game-body h3 {
  font-size: clamp(28px, 3vw, 40px);
}

.game-card--featured .game-body p {
  font-size: 17px;
}

.game-card--featured .game-actions {
  margin-top: 0;
}

/* 7. Languages band
   ========================================================================== */
.languages-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 60, 50, 0.35);
}

.languages-band strong {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-list li {
  padding: 8px 13px;
  border: 1px solid rgba(186, 244, 221, 0.22);
  border-radius: 999px;
  color: #d9e8e2;
  font-size: 13px;
  font-weight: 700;
}

.language-list b {
  margin-right: 4px;
  color: var(--mint);
  font-weight: 900;
}

/* 8. Feature cards (about)
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 2px solid rgba(117, 227, 192, 0.4);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(30, 75, 62, 0.38), rgba(10, 27, 23, 0.5));
}

.feature-card .number {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.feature-card h3 {
  margin: 28px 0 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* 9. Mode cards
   ========================================================================== */
.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.mode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.mode-card.fun {
  background: linear-gradient(145deg, #214f42, #102b25);
}

.mode-card.learn {
  background: linear-gradient(145deg, #3e365c, #1e1b32);
}

.mode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.mode-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
}

.mode-card .label {
  color: var(--mint);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: right;
}

.mode-card.learn .label {
  color: #c5b5ff;
}

.mode-card h3 {
  margin: 36px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.1;
}

.mode-card p {
  max-width: 500px;
  margin: 0 0 28px;
  color: #c2d2cc;
  font-size: 17px;
  line-height: 1.7;
}

.mode-card .button {
  margin-top: auto;
}

/* 10. Trailer
   ========================================================================== */
.trailer-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 56px;
  max-width: 1040px;
}

.trailer-copy h2 {
  color: var(--gold);
}

.trailer-copy p {
  margin: 18px 0 28px;
  color: var(--muted);
  line-height: 1.7;
}

.trailer-player {
  min-width: 0;
  margin: 0;
}

.trailer-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(182, 227, 205, 0.25);
  border-radius: 20px;
  background: #0b241e;
  box-shadow: var(--shadow);
}

.trailer-player figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* 11. Story
   ========================================================================== */
.story {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.story-art {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50% 50% 28px 28px;
  background: linear-gradient(145deg, #224f43, #142a25);
}

.story-art::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 12%;
  width: 76%;
  height: 76%;
  border: 1px solid rgba(244, 215, 123, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 44px rgba(117, 227, 192, 0.025);
}

.story-art::after {
  content: "L";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(120px, 16vw, 190px);
  font-weight: 900;
  text-shadow: 0 16px 60px rgba(244, 215, 123, 0.2);
}

.story-copy blockquote {
  margin: 30px 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
  color: var(--cream);
  font-size: 23px;
  font-weight: 650;
  line-height: 1.5;
}

.story-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

/* 12. Support band
   ========================================================================== */
.support-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 56px;
  border: 1px solid rgba(244, 215, 123, 0.24);
  border-radius: 30px;
  background: linear-gradient(125deg, rgba(244, 215, 123, 0.1), rgba(117, 227, 192, 0.08));
}

.support-band p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.support-actions {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 12px;
}

/* 13. Footer
   ========================================================================== */
.site-footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--line);
  background: #081512;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 40px;
}

.footer-grid h3 {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-grid .footer-launch {
  margin-top: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-links p {
  margin: 6px 0 0;
  font-size: 14px;
}

.copyright {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #a0b4aa;
  font-size: 12px;
}

/* 14. Scroll reveal and reduced motion
   ========================================================================== */
/* Content is only hidden when JS is running (class "js" on <html>),
   so the page is complete without scripts. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.22s, box-shadow 0.22s;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js .game-card[data-reveal].is-visible:hover,
.js .game-card[data-reveal].is-visible:focus-within {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* 15. Responsive
   ========================================================================== */

/* Narrow desktop: hide the small brand tagline so the nav fits. */
@media (max-width: 1180px) {
  .brand-name small {
    display: none;
  }

  .navigation {
    gap: 18px;
  }
}

/* Tablet and below: collapsible menu, 2-column games grid. */
@media (max-width: 960px) {
  .menu-button {
    display: block;
  }

  .navigation {
    position: fixed;
    inset: var(--header-h) 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h) - 24px);
    padding: 16px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--forest);
    box-shadow: var(--shadow);
  }

  .menu-open .navigation {
    display: flex;
  }

  .navigation a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 12px;
    font-size: 15px;
  }

  .language-control {
    margin: 10px 0;
  }

  .language-select {
    min-height: 46px;
    font-size: 14px;
  }

  .navigation .nav-cta {
    justify-content: center;
    gap: 8px;
  }

  .section {
    padding: 72px 0;
  }

  .section-header,
  .story {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-card--featured {
    flex-direction: column;
  }

  .game-card--featured .game-cover {
    flex: none;
  }

  .game-card--featured .game-body {
    padding: 26px 28px 28px;
  }

  .feature-grid,
  .mode-grid {
    grid-template-columns: 1fr;
  }

  .story {
    gap: 36px;
  }

  .story-art {
    max-width: 320px;
  }

  .trailer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trailer-player {
    width: 100%;
    margin-inline: auto;
  }

  .support-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
  }

  .support-actions {
    width: 100%;
    max-width: 420px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* Phones: 16px gutter, single column, full-width buttons. */
@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --header-h: 64px;
    --radius: 18px;
  }

  .hero {
    min-height: 0;
    padding: calc(var(--header-h) + 44px) 0 64px;
  }

  .hero-text {
    font-size: 16px;
  }

  .launch-line {
    margin: 26px 0 20px;
    padding: 10px 16px;
    font-size: 13.5px;
    text-align: left;
  }

  .actions .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .section-header p {
    font-size: 16px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .game-body,
  .game-card--featured .game-body {
    padding: 20px;
  }

  .game-card--featured .game-body p {
    font-size: 15px;
  }

  .languages-band {
    padding: 20px;
  }

  .feature-card {
    padding: 24px;
  }

  .mode-card {
    padding: 26px;
    border-radius: 22px;
  }

  .mode-card h3 {
    margin-top: 28px;
  }

  .mode-card p {
    font-size: 16px;
  }

  .mode-card .button {
    width: 100%;
  }

  .story-copy blockquote {
    padding-left: 18px;
    font-size: 19px;
  }

  .story-copy p {
    font-size: 16px;
  }

  .support-band {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .support-actions {
    max-width: none;
  }

  .trailer-copy .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
