:root {
  color-scheme: light;
  --ink: #07111d;
  --ink-2: #101d2c;
  --text: #142032;
  --muted: #536176;
  --line: #dce3ea;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --river: #159a78;
  --river-dark: #0f7d63;
  --space: #3479df;
  --space-dark: #255fc0;
  --violet: #6d5be8;
  --shadow: 0 24px 70px rgba(6, 17, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 48px;
  color: #f7fbff;
}

.brand {
  font-size: 27px;
  font-weight: 850;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 54px;
}

.nav {
  display: flex;
  gap: 36px;
  font-size: 16px;
  font-weight: 750;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.lang-switch {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-left: 24px;
  border-left: 1px solid rgba(247, 251, 255, 0.28);
  font-size: 13px;
  font-weight: 850;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 64px;
  padding: 7px 9px;
  border: 1px solid rgba(247, 251, 255, 0.38);
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
  opacity: 0.74;
}

.flag {
  font-size: 15px;
  line-height: 1;
}

.lang-switch a:hover,
.lang-switch a:focus-visible,
.lang-switch a[aria-current="page"] {
  background: rgba(247, 251, 255, 0.14);
  opacity: 1;
}

.hero {
  min-height: 760px;
  padding: 142px 72px 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.9fr);
  gap: 58px;
  align-items: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(52, 121, 223, 0.16), transparent 34%),
    linear-gradient(180deg, #07111d 0%, #0a1725 100%);
  color: #f8fbff;
  border-bottom: 1px solid #dce3ea;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: 64px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.hero p {
  margin: 28px 0 0;
  max-width: 650px;
  color: #cbd6e4;
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(10, 18, 30, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(10, 18, 30, 0.24);
}

.button-river {
  background: var(--river);
}

.button-river:hover,
.button-river:focus-visible {
  background: var(--river-dark);
}

.button-space {
  background: var(--space);
}

.button-space:hover,
.button-space:focus-visible {
  background: var(--space-dark);
}

.plane {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: currentColor;
  clip-path: polygon(8% 47%, 92% 8%, 72% 92%, 49% 61%, 26% 76%, 36% 55%);
}

.hero-media {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #0b1625;
  box-shadow: var(--shadow);
}

.preview-river {
  z-index: 1;
  width: 290px;
  border: 10px solid #0a0d13;
  border-radius: 26px;
}

.preview-river img {
  aspect-ratio: 403 / 900;
  width: 100%;
  object-fit: cover;
}

.preview-space {
  z-index: 2;
  position: relative;
  right: auto;
  bottom: auto;
  width: 260px;
  border: 10px solid #0a0d13;
  border-radius: 26px;
  transform: translateY(44px);
}

.preview-space img {
  aspect-ratio: 5 / 9;
  width: 100%;
  object-fit: cover;
}

.game-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 54px;
  align-items: center;
  padding: 72px;
  border-bottom: 1px solid var(--line);
}

.section-copy {
  max-width: 560px;
}

.section-copy h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.game-river .section-copy h2 {
  color: var(--river);
}

.game-space .section-copy h2 {
  color: var(--space);
}

.section-copy p {
  margin: 18px 0 0;
  color: #314056;
  font-size: 20px;
  line-height: 1.55;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 30px 0;
  padding: 0;
  color: #46566c;
  font-size: 16px;
  line-height: 1.45;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--river);
}

.game-space .feature-list li::before {
  background: var(--space);
}

.feature-list strong {
  color: var(--text);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  justify-self: end;
  max-width: 620px;
}

.wide-shot,
.portrait-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #0e1723;
  border: 1px solid rgba(7, 17, 29, 0.14);
  box-shadow: var(--shadow);
}

.wide-shot {
  border: 10px solid #0b0e15;
  border-radius: 26px;
}

.wide-shot img {
  aspect-ratio: 403 / 900;
  width: 100%;
  object-fit: cover;
}

.secondary-shot {
  width: 100%;
  justify-self: end;
  transform: translateY(58px);
}

.game-space {
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  background: var(--soft);
}

.portrait-shot {
  justify-self: center;
  width: 330px;
  border: 10px solid #0b0e15;
  border-radius: 26px;
}

.portrait-shot img {
  aspect-ratio: 5 / 9;
  width: 100%;
  object-fit: cover;
}

.game-logo {
  width: 64px;
  height: 64px;
  margin: 0 0 18px;
  border-radius: 8px;
}

.info-band {
  padding: 58px 72px 66px;
  background: #ffffff;
}

.info-band h2 {
  margin: 0 0 26px;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-grid article {
  min-height: 158px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.info-grid h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.info-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 72px;
  background: var(--ink);
  color: #d6dfeb;
  font-size: 15px;
}

.site-footer span {
  color: #ffffff;
  font-weight: 850;
}

.site-footer a {
  opacity: 0.82;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  opacity: 1;
}

@media (max-width: 1040px) {
  .hero,
  .game-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 128px 38px 58px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-media {
    min-height: 540px;
  }

  .game-section,
  .info-band {
    padding: 58px 38px;
  }

  .game-space .section-copy {
    order: -1;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 20px;
    background: var(--ink);
  }

  .brand {
    font-size: 22px;
  }

  .nav {
    gap: 16px;
    font-size: 14px;
  }

  .header-actions {
    flex-wrap: wrap;
    gap: 18px;
  }

  .lang-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 54px 20px 48px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 360px;
  }

  .preview-river {
    width: 230px;
  }

  .preview-space {
    width: 215px;
  }

  .game-section,
  .info-band {
    padding: 46px 20px;
  }

  .section-copy h2 {
    font-size: 40px;
  }

  .section-copy p {
    font-size: 18px;
  }

  .secondary-shot {
    width: 100%;
    transform: none;
  }

  .media-grid {
    grid-template-columns: 1fr 1fr;
    justify-self: stretch;
    max-width: none;
  }

  .portrait-shot {
    width: 260px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 20px;
  }
}

@media (max-width: 500px) {
  .hero-media {
    min-height: 405px;
    justify-content: flex-start;
    gap: 0;
  }

  .preview-river {
    width: 178px;
  }

  .preview-space {
    width: 172px;
    margin-left: -34px;
    transform: translateY(38px);
  }

  .media-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .wide-shot {
    width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}


/* AI SEO content blocks */
.directory-intro {
  padding: 58px 72px 66px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.directory-intro .intro-wrap {
  max-width: 1060px;
  margin: 0 auto;
}
.directory-intro h2,
.category-section h2,
.faq-section h2 {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.16;
  letter-spacing: 0;
}
.directory-intro p {
  max-width: 860px;
  margin: 0;
  color: #314056;
  font-size: 20px;
  line-height: 1.58;
}
.benefit-grid,
.category-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}
.benefit-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}
.benefit-card,
.category-card,
.faq-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
}
.benefit-card h3,
.category-card h3,
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.25;
}
.benefit-card p,
.category-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}
.fit-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 30px;
  padding: 0;
  list-style: none;
  color: #46566c;
  font-size: 16px;
  line-height: 1.45;
}
.fit-list li {
  padding-left: 22px;
  position: relative;
}
.fit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--river);
  font-weight: 900;
}
.game-space .fit-list li::before {
  color: var(--space);
}
.category-section,
.faq-section {
  padding: 58px 72px 66px;
  border-bottom: 1px solid var(--line);
}
.category-section {
  background: var(--soft);
}
.category-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}
.faq-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 28px;
}
.kicker {
  margin: 0 0 12px;
  color: #9fb0c4;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@media (max-width: 1040px) {
  .directory-intro,
  .category-section,
  .faq-section { padding: 58px 38px; }
  .benefit-grid,
  .category-grid,
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .directory-intro,
  .category-section,
  .faq-section { padding: 46px 20px; }
  .directory-intro h2,
  .category-section h2,
  .faq-section h2 { font-size: 32px; }
  .directory-intro p { font-size: 18px; }
}
