:root {
  --ink: #101d26;
  --muted: #637079;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --lime: #c8ff3d;
  --green: #4fb472;
  --blue: #9ed9ea;
  --line: rgba(16, 29, 38, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.site-header.scrolled {
  position: fixed;
  height: 72px;
  color: var(--ink);
  background: rgba(255,253,248,.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  animation: slideDown .35s ease;
}
.brand { display: flex; align-items: center; gap: 12px; font: 800 21px/1 "Manrope"; letter-spacing: -.8px; }
.brand > span:last-child > span { color: var(--lime); }
.site-header.scrolled .brand > span:last-child > span, .footer-brand > span:last-child > span { color: #62a843; }
.brand-cube { width: 28px; height: 28px; position: relative; display: inline-block; transform: rotate(30deg) skew(-5deg); }
.brand-cube::before, .brand-cube::after, .brand-cube i {
  content: ""; position: absolute; width: 13px; height: 13px; background: var(--lime); border-radius: 2px;
}
.brand-cube::before { left: 1px; top: 1px; }
.brand-cube::after { right: 1px; top: 1px; filter: brightness(.75); }
.brand-cube i { bottom: 1px; left: 7px; filter: brightness(.9); }
.desktop-nav { display: flex; gap: clamp(24px, 3vw, 48px); margin-left: auto; margin-right: auto; }
.desktop-nav a, .discord-link { font-size: 13px; font-weight: 600; letter-spacing: .02em; opacity: .9; }
.desktop-nav a:hover, .discord-link:hover { opacity: .6; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.play-small { padding: 12px 18px; color: var(--ink); background: var(--lime); border-radius: 6px; font-size: 13px; font-weight: 700; }
.play-small span { margin-left: 9px; }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.menu-button span { display: block; height: 2px; width: 22px; margin: 6px auto; background: currentColor; }

.hero {
  min-height: 780px;
  height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: #4b8190;
}
.hero-background, .final-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8,24,31,.56) 0%, rgba(8,24,31,.16) 53%, rgba(8,24,31,.04) 100%),
    linear-gradient(0deg, rgba(8,24,31,.35), transparent 45%),
    url("/assets/hero.webp");
  background-size: cover;
  background-position: center 48%;
  transform: scale(1.035);
  animation: heroIn 1.8s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-background::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(12,25,31,.16), transparent 25%); }
.hero-content { position: relative; z-index: 2; max-width: 790px; padding: 100px clamp(24px, 8vw, 130px) 40px; }
.eyebrow, .section-kicker { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 27px; }
.eyebrow span { width: 31px; height: 2px; background: var(--lime); }
h1, h2, h3 { font-family: "Manrope", sans-serif; margin: 0; }
h1 { font-size: clamp(62px, 7.4vw, 112px); line-height: .87; letter-spacing: -.065em; font-weight: 800; text-shadow: 0 5px 40px rgba(0,0,0,.15); }
h1 em { color: var(--lime); font-style: normal; }
.hero-copy { max-width: 480px; margin: 31px 0 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: rgba(255,255,255,.88); }
.hero-cta { display: flex; align-items: center; gap: 16px; margin-top: 36px; }
.button { min-height: 55px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; border-radius: 6px; font-size: 14px; font-weight: 700; transition: transform .25s, box-shadow .25s, background .25s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--ink); background: var(--lime); box-shadow: 0 12px 35px rgba(31,55,15,.2); }
.button-primary:hover { box-shadow: 0 16px 42px rgba(31,55,15,.32); }
.button-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 9px; }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(255,255,255,.16); }
.hero-note { position: absolute; z-index: 2; left: clamp(24px, 8vw, 130px); bottom: 29px; display: flex; align-items: center; gap: 10px; font-size: 11px; color: rgba(255,255,255,.74); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(200,255,61,.12); }
.scroll-cue { position: absolute; z-index: 3; right: clamp(24px, 5vw, 75px); bottom: 26px; display: flex; align-items: center; gap: 13px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue i { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; position: relative; }
.scroll-cue i::after { content:"↓"; position:absolute; inset:0; display:grid; place-items:center; font-style:normal; }

.section { padding: clamp(90px, 10vw, 150px) clamp(24px, 8vw, 130px); }
.intro { background: var(--paper); }
.section-kicker { margin-bottom: 36px; color: #829097; }
.section-kicker.light { color: rgba(255,255,255,.55); }
.intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.intro h2, .community h2 { font-size: clamp(44px, 5.2vw, 78px); line-height: 1.02; letter-spacing: -.055em; }
.intro h2 span, .community h2 span { color: #8f9a9e; }
.intro-copy { max-width: 500px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.intro-copy p { margin: 0 0 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 90px; border: 1px solid var(--line); }
.feature-card { min-height: 390px; padding: 36px; position: relative; border-right: 1px solid var(--line); overflow: hidden; transition: transform .35s, background .35s; }
.feature-card:last-child { border-right: 0; }
.feature-card:hover { transform: translateY(-8px); background: #f8f6ef; z-index: 2; box-shadow: 0 24px 70px rgba(31,43,48,.1); }
.feature-card.accent { background: var(--ink); color: white; }
.feature-card.accent:hover { background: #182b35; }
.feature-number { font: 600 11px "Manrope"; color: #9da5a8; letter-spacing: .12em; }
.feature-icon { margin: 58px 0 30px; font-size: 38px; color: #68a941; }
.feature-card.accent .feature-icon { color: var(--lime); }
.feature-card h3 { font-size: 29px; letter-spacing: -.04em; }
.feature-card p { max-width: 310px; color: var(--muted); line-height: 1.65; font-size: 14px; }
.feature-card.accent p { color: rgba(255,255,255,.64); }
.card-line { position: absolute; left: 36px; right: 36px; bottom: 30px; height: 2px; background: var(--line); }
.card-line::after { content:""; display:block; width: 38%; height: 100%; background:#72ae52; }
.feature-card.accent .card-line { background:rgba(255,255,255,.13); }
.feature-card.accent .card-line::after { background:var(--lime); }

.world { padding-bottom: clamp(100px, 10vw, 150px); color: white; background: var(--ink); }
.world-heading { display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: end; margin-bottom: 65px; }
.world h2 { font-size: clamp(44px, 5vw, 75px); line-height: 1.02; letter-spacing: -.055em; }
.world-heading p { color: rgba(255,255,255,.6); line-height: 1.75; margin: 0; }
.gallery { display: grid; grid-template-columns: 1.65fr 1fr; grid-template-rows: repeat(2, minmax(230px, 335px)); gap: 18px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; }
.gallery-main { grid-row: 1 / 3; }
.gallery img { width:100%; height:100%; object-fit:cover; transition:transform .8s cubic-bezier(.2,.8,.2,1), filter .5s; filter:saturate(.82); }
.gallery figure:hover img { transform:scale(1.05); filter:saturate(1.08); }
.gallery figure::after { content:""; position:absolute; inset:45% 0 0; background:linear-gradient(transparent, rgba(4,15,20,.7)); }
.gallery figcaption { position:absolute; z-index:2; left:28px; right:28px; bottom:24px; display:flex; justify-content:space-between; align-items:end; }
.gallery figcaption span { font:700 20px "Manrope"; }
.gallery figcaption small { font-size:9px; letter-spacing:.15em; opacity:.7; }

.community { display:grid; grid-template-columns: .95fr 1.05fr; gap: clamp(55px, 8vw, 130px); align-items:center; background:var(--cream); }
.community-visual { position:relative; }
.community-visual img { aspect-ratio: .9; object-fit:cover; }
.floating-label { position:absolute; right:-34px; bottom:38px; max-width:205px; padding:18px 20px; background:var(--lime); font-size:10px; font-weight:800; letter-spacing:.1em; line-height:1.4; }
.floating-label span { margin-right:8px; }
.community-copy > p { max-width:520px; margin:30px 0; color:var(--muted); font-size:16px; line-height:1.75; }
.community-actions { display:flex; align-items:center; gap:36px; margin-top:38px; }
.button-dark { background:var(--ink); color:white; }
.community-stat { display:flex; align-items:center; gap:13px; }
.community-stat strong { font:800 31px "Manrope"; }
.community-stat span { font-size:10px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); line-height:1.45; }

.final-cta { min-height:570px; position:relative; display:grid; place-items:center; overflow:hidden; text-align:center; color:white; }
.final-bg { background-position:center 62%; filter:brightness(.54) saturate(.85); }
.final-content { position:relative; z-index:2; padding:80px 24px; display:flex; flex-direction:column; align-items:center; }
.mini-cube { width:16px; height:16px; background:var(--lime); transform:rotate(45deg); margin-bottom:25px; box-shadow:10px 10px 0 rgba(200,255,61,.55); }
.final-content p { margin:0 0 10px; font-size:11px; font-weight:700; letter-spacing:.17em; text-transform:uppercase; }
.final-content h2 { font-size:clamp(48px, 6vw, 90px); letter-spacing:-.06em; }
.button.large { min-width:230px; margin:34px 0 16px; }
.final-content small { color:rgba(255,255,255,.65); }

footer { padding:58px clamp(24px, 8vw, 130px) 38px; display:grid; grid-template-columns:1fr 1fr 1fr; align-items:center; gap:30px; background:#0c171e; color:white; }
footer p { text-align:center; color:rgba(255,255,255,.55); font-size:13px; }
.footer-links { display:flex; justify-content:flex-end; gap:25px; font-size:12px; }
footer > small { grid-column:1/-1; padding-top:29px; border-top:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.35); font-size:10px; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity:1; transform:none; }

@keyframes heroIn { from { transform:scale(1.12); filter:blur(3px); } to { transform:scale(1.035); filter:none; } }
@keyframes slideDown { from { transform:translateY(-100%); } to { transform:none; } }

@media (max-width: 900px) {
  .desktop-nav, .header-actions { display:none; }
  .menu-button { display:block; margin-left:auto; color:inherit; }
  .site-header.menu-open { position:fixed; height:auto; min-height:100vh; align-items:flex-start; padding-top:25px; color:white; background:var(--ink); }
  .site-header.menu-open .desktop-nav { display:flex; position:absolute; inset:110px 24px auto; flex-direction:column; gap:25px; font:700 28px "Manrope"; }
  .site-header.menu-open .header-actions { display:flex; position:absolute; left:24px; bottom:50px; }
  .intro-grid, .world-heading, .community { grid-template-columns:1fr; }
  .intro-grid { gap:30px; }
  .feature-grid { grid-template-columns:1fr; }
  .feature-card { border-right:0; border-bottom:1px solid var(--line); min-height:330px; }
  .world-heading { gap:30px; }
  .gallery { grid-template-columns:1fr 1fr; grid-template-rows:440px 240px; }
  .gallery-main { grid-column:1/-1; grid-row:auto; }
  .community { gap:65px; }
  .community-visual { max-width:620px; }
  footer { grid-template-columns:1fr; text-align:left; }
  footer p { text-align:left; }
  .footer-links { justify-content:flex-start; }
}

@media (max-width: 600px) {
  .site-header { height:76px; }
  .hero { min-height:720px; }
  .hero-content { padding-top:90px; }
  h1 { font-size:clamp(53px, 17vw, 78px); }
  .hero-copy { max-width:360px; }
  .hero-cta { align-items:stretch; flex-direction:column; max-width:310px; }
  .button { width:100%; }
  .hero-note { bottom:22px; max-width:220px; line-height:1.4; }
  .scroll-cue { display:none; }
  .section { padding-left:22px; padding-right:22px; }
  .feature-grid { margin-top:60px; }
  .feature-card { padding:28px; }
  .gallery { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; margin-right:-22px; padding-right:22px; }
  .gallery figure { min-width:82vw; height:410px; scroll-snap-align:start; }
  .floating-label { right:-8px; bottom:20px; }
  .community-actions { align-items:stretch; flex-direction:column; }
  .community-stat { justify-content:center; }
  footer { padding-left:22px; padding-right:22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; animation:none !important; transition:none !important; }
  .reveal { opacity:1; transform:none; }
}
