:root {
  color-scheme: dark;
  --ink: #f7f1dc;
  --muted: #c9d7c9;
  --deep: #092328;
  --panel: rgba(12, 38, 39, 0.78);
  --line: rgba(247, 241, 220, 0.16);
  --leaf: #61c88f;
  --leaf-dark: #1b7b54;
  --gold: #e9bc62;
  --earth: #b9824c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--deep);
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, #123a44 0%, #102f2b 46%, #0f201c 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(97, 200, 143, 0.18), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(233, 188, 98, 0.16), transparent 22%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(5, 21, 23, 0.58);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 76px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  padding: 10px 13px;
  border-radius: 8px;
  color: rgba(247, 241, 220, 0.82);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-play {
  background: var(--leaf);
  color: #062116;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 88px) 48px;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("./assets/menu-bg.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 18, 20, 0.92) 0%, rgba(7, 22, 20, 0.64) 42%, rgba(5, 18, 20, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(7, 20, 18, 0.92));
}

.hero-content {
  position: relative;
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(340px, 0.7fr);
  gap: clamp(34px, 7vw, 98px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-logo {
  width: min(470px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.45));
}

.hero-card {
  display: grid;
  gap: 26px;
  align-content: center;
  justify-items: center;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions,
.play-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
  border: 1px solid var(--line);
}

.button.primary {
  background: linear-gradient(135deg, var(--leaf), #9ee7a6);
  color: #062116;
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(52, 211, 153, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(540px, 100%);
  margin: 0;
}

.hero-stats div,
.feature-grid article,
.scenario-card,
.play-strip {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.hero-stats div {
  padding: 18px;
  border-radius: 8px;
  text-align: center;
}

dt {
  font-size: 32px;
  font-weight: 900;
  color: #fff7db;
}

dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro > p,
.showcase-copy p,
.scenario-card p,
.play-strip p,
.feature-grid p,
.scenario-card li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  border-radius: 8px;
  padding: 24px;
  min-height: 260px;
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 900;
}

.feature-grid h3 {
  margin-bottom: 14px;
}

.showcase,
.scenario {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1.14fr);
  gap: 22px;
  align-items: center;
}

.showcase-copy {
  padding-right: clamp(0px, 4vw, 46px);
}

.showcase-copy p {
  margin: 20px 0 26px;
}

.image-panel {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.scenario-card {
  border-radius: 8px;
  padding: clamp(24px, 4vw, 44px);
}

.scenario-card p {
  margin-top: 16px;
}

.scenario-card ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.scenario-card li + li {
  margin-top: 8px;
}

.scenario-art {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
}

.scenario-art img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.play-strip {
  border-radius: 8px;
  padding: clamp(24px, 4vw, 38px);
  justify-content: space-between;
  margin-bottom: 84px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: rgba(247, 241, 220, 0.78);
  background: rgba(5, 21, 23, 0.72);
  backdrop-filter: blur(18px);
}

footer div {
  display: grid;
  gap: 4px;
}

footer strong {
  color: var(--ink);
  font-size: 16px;
}

footer span {
  color: var(--muted);
  font-size: 13px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

footer a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-weight: 800;
}

footer a:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: 70px;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav a {
    padding: 8px 9px;
    font-size: 13px;
  }

  .brand img {
    width: 58px;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-stats,
  .hero-content,
  .intro,
  .showcase,
  .scenario {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 36px;
  }

  .hero-card {
    justify-items: start;
  }

  .hero-logo {
    width: min(340px, 88vw);
    margin: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
  }

  nav a:not(.nav-play) {
    display: none;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 34px;
    line-height: 0.98;
    max-width: 100%;
  }

  .lead {
    font-size: 18px;
    width: min(100%, 340px);
    overflow-wrap: break-word;
  }

  .hero-logo {
    width: min(280px, 82vw);
  }

  .hero-content {
    width: min(354px, calc(100vw - 36px));
    max-width: min(354px, calc(100vw - 36px));
  }

  .hero-stats,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    gap: 16px;
    width: 100%;
    max-width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: min(354px, calc(100vw - 36px));
    max-width: min(354px, calc(100vw - 36px));
  }

  .hero-stats div {
    padding: 12px 8px;
    min-width: 0;
  }

  .hero-stats dt {
    font-size: 26px;
  }

  .hero-stats dd {
    font-size: 12px;
    line-height: 1.25;
  }

  .feature-grid article {
    min-height: 0;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 58px 0;
  }

  .play-strip,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
