
:root{
  --jungle:#173f3a;
  --jungle-dark:#0d2c29;
  --stone:#5f655c;
  --parchment:#ead5a2;
  --parchment-light:#f8edd1;
  --aqua:#35c9c9;
  --gold:#efbb3d;
  --orange:#d85c2c;
  --ink:#2d332f;
  --paper:#f5f1e7;
  --white:#fff;
  --line:rgba(45,51,47,.13);
  --shadow:0 24px 60px rgba(30,43,39,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:86px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit}
.section-inner{width:min(1160px,calc(100% - 40px));margin:0 auto}
.overline{font-size:11px;letter-spacing:2.4px;font-weight:900;color:#187d79;text-transform:uppercase}
.overline.light{color:#7dded8}

.site-header{position:sticky;top:0;z-index:100;background:rgba(245,241,231,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(45,51,47,.1)}
.header-inner{width:min(1160px,calc(100% - 40px));height:72px;margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:900;letter-spacing:.2px}
.gem-mark{width:34px;height:34px;display:grid;place-items:center;background:var(--gold);color:#0f746f;border-radius:50%}
.main-nav{display:flex;gap:27px}
.main-nav a{text-decoration:none;font-size:13px;font-weight:800}
.header-play{justify-self:end;text-decoration:none;padding:11px 18px;background:var(--jungle);color:#fff;border-radius:999px;font-size:12px;font-weight:900}
.menu-toggle{display:none}

.hero{position:relative;min-height:760px;overflow:hidden;background:#102f31}
.hero-backdrop,.hero-overlay{position:absolute;inset:0}
.hero-backdrop img{width:100%;height:100%;object-fit:cover;filter:blur(16px) saturate(.9) brightness(.52);transform:scale(1.08)}
.hero-overlay{background:linear-gradient(90deg,rgba(8,33,35,.92) 0%,rgba(12,45,47,.88) 38%,rgba(16,56,58,.72) 62%,rgba(11,39,41,.82) 100%),radial-gradient(circle at 75% 32%,rgba(69,214,214,.17),transparent 24%),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.14))}
.hero-inner{position:relative;z-index:2;width:min(1180px,calc(100% - 64px));margin:auto;min-height:760px;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:70px;align-items:center}
.hero-copy{max-width:620px;padding:100px 0 96px;color:#fff}
.hero-copy .overline{color:#7fe1dc}
.hero-copy h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(56px,6vw,86px);line-height:.92;letter-spacing:-3px;margin:18px 0 24px;font-weight:700}
.hero-copy h1 em{font-style:normal;color:#ffd164}
.hero-copy p{font-size:18px;line-height:1.75;color:#d8e4df;max-width:560px}
.hero-actions{display:flex;gap:22px;align-items:center;margin-top:30px;flex-wrap:wrap}
.action-primary{display:inline-flex;align-items:center;gap:18px;text-decoration:none;padding:15px 18px 15px 22px;background:#f0bd45;color:#1e332e;border-radius:4px;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 13px 28px rgba(0,0,0,.15)}
.action-primary span{font-size:18px}.action-primary.dark{background:var(--jungle);color:#fff}
.action-text{color:#fff;text-underline-offset:5px;font-size:13px;font-weight:800}
.hero-notes{display:flex;gap:9px;flex-wrap:wrap;margin-top:28px}
.hero-notes span{padding:8px 10px;border:1px solid rgba(255,255,255,.18);font-size:10px;color:#c9d8d4;text-transform:uppercase;letter-spacing:.7px}
.hero-stage{display:grid;place-items:center;padding:84px 0 74px}
.hero-device-wrap{position:relative;width:100%;display:grid;place-items:center}
.hero-art{position:relative;z-index:2;width:330px;padding:10px;border-radius:34px;background:rgba(7,32,34,.92);box-shadow:0 28px 70px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.08) inset}
.hero-art:before{content:"";position:absolute;inset:-14px;border-radius:42px;background:radial-gradient(circle,rgba(58,219,219,.18),transparent 62%);z-index:-1}
.hero-art img{width:100%;height:auto;border-radius:26px;display:block}
.hero-float{position:absolute;z-index:3;min-width:116px;padding:12px 14px;border-radius:14px;background:rgba(255,251,241,.96);box-shadow:0 16px 42px rgba(0,0,0,.18);color:#163336}
.hero-float small{display:block;font-size:9px;letter-spacing:1.2px;font-weight:900;color:#6c7c7d}
.hero-float b{display:block;margin-top:4px;font-size:24px;line-height:1}
.hero-float-a{left:-8px;top:100px}
.hero-float-b{right:-8px;bottom:92px}
.hero-seal{position:absolute;right:34px;bottom:28px;width:82px;height:82px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:grid;place-items:center;text-align:center;color:#f5d67d;font-family:Georgia,serif;font-size:16px;line-height:1.2}

.section{padding:94px 0}
.story{background:#f6f1e5}
.story-head{max-width:740px;margin-bottom:50px}
.story-head h2,.gallery-head h2,.systems-head h2,.identity-grid h2,.final-grid h2,.gameplay-copy h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,5vw,66px);line-height:.98;letter-spacing:-2px;margin:12px 0 0}
.path-line{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.path-line:before{content:"";position:absolute;top:25px;left:3%;right:3%;height:1px;background:#c9b78d}
.path-step{position:relative;background:#f6f1e5;padding-right:18px}
.step-dot{position:relative;z-index:2;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--jungle);color:#f3cf6b;font-family:Georgia,serif;font-weight:700}
.path-step h3{font-family:Georgia,serif;font-size:27px;margin:20px 0 8px}
.path-step p{margin:0;color:#6c7069;line-height:1.65;font-size:14px}

.gameplay{background:var(--jungle-dark);color:#fff}
.gameplay-grid{display:grid;grid-template-columns:1fr 410px;gap:80px;align-items:center}
.gameplay-copy p{font-size:17px;line-height:1.75;color:#c3d3cf}
.facts{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.facts div{min-width:120px;padding:13px 15px;border-left:2px solid #d4ae4e;background:rgba(255,255,255,.04)}
.facts dt{font-size:9px;letter-spacing:1.2px;text-transform:uppercase;color:#82b4af}.facts dd{margin:5px 0 0;font-weight:800}
.temple-window{position:relative;width:330px;margin:auto;padding:28px 18px 30px;background:#ad8a50;clip-path:polygon(12% 0,88% 0,100% 8%,100% 92%,88% 100%,12% 100%,0 92%,0 8%);box-shadow:var(--shadow)}
.temple-window video{display:block;width:284px;height:480px;margin:auto;object-fit:contain;background:#000;border:8px solid #e6d2a2}
.window-cap,.window-base{height:12px;background:#6f5532;margin:0 auto 12px;width:78%}.window-base{margin:12px auto 0}

.gallery{background:#e8d7aa}
.gallery-head{display:flex;justify-content:space-between;gap:60px;align-items:end;margin-bottom:46px}
.gallery-head>p{max-width:360px;color:#665e4e;line-height:1.65}
.journal{position:relative;min-height:650px}
.journal-card{position:absolute;margin:0;background:#f9f2dd;padding:13px 13px 18px;box-shadow:0 20px 40px rgba(56,48,31,.16);border:1px solid rgba(71,60,36,.12)}
.journal-card img{width:100%;display:block}
.journal-card figcaption{padding-top:13px}.journal-card b{font-family:Georgia,serif;font-size:20px}.journal-card span{display:block;margin-top:4px;color:#7c715c;font-size:12px}
.card-a{width:285px;left:4%;top:40px;transform:rotate(-4deg)}
.card-b{width:330px;left:36%;top:0;transform:rotate(2deg);z-index:2}
.card-c{width:285px;right:5%;top:70px;transform:rotate(5deg)}

.systems{background:#f5f1e7}
.systems-head{max-width:820px;margin-bottom:44px}.systems-head p{color:#6a716b;line-height:1.7}
.systems-layout{display:grid;grid-template-columns:310px 1fr;gap:26px}
.systems-menu{display:flex;flex-direction:column;gap:8px}
.system-tab{text-align:left;border:0;background:transparent;padding:18px 18px;border-left:3px solid #c8b993;cursor:pointer;color:#59615b}
.system-tab.active{background:#ead7a6;border-left-color:var(--jungle);color:#253d37}
.system-tab span{display:block;font-size:10px;font-weight:900;color:#aa812c}.system-tab b{display:block;margin-top:5px;font-family:Georgia,serif;font-size:20px}.system-tab small{display:block;margin-top:3px;color:#777e77}
.systems-stage{min-height:590px;background:#173f3a;padding:32px;position:relative;overflow:hidden}
.system-panel{display:none;grid-template-columns:300px 1fr;gap:45px;align-items:center;color:#fff}
.system-panel.active{display:grid}
.system-panel img{width:280px;max-height:520px;object-fit:contain;background:#0f302c;padding:7px;box-shadow:0 20px 45px rgba(0,0,0,.24)}
.panel-copy h3{font-family:Georgia,serif;font-size:38px;margin:0 0 12px}.panel-copy p{color:#cad7d4;line-height:1.75}

.identity-strip{padding:76px 0;background:#1d4944;color:#fff;border-top:1px solid rgba(255,255,255,.08)}
.identity-grid{display:grid;grid-template-columns:1fr 250px;gap:60px;align-items:center}
.identity-grid p{color:#c7d7d3;line-height:1.75;max-width:680px}
.identity-grid img{width:210px;justify-self:end;transform:rotate(2deg);box-shadow:0 22px 42px rgba(0,0,0,.2)}

.final-cta{padding:82px 0;background:#efd989}
.final-grid{display:grid;grid-template-columns:1fr 320px;gap:60px;align-items:center}
.final-grid p{color:#675e4d;line-height:1.7}.final-image{height:330px;overflow:hidden;display:flex;align-items:flex-start;justify-content:center}.final-image img{width:260px;box-shadow:0 22px 42px rgba(68,56,29,.18)}
footer{padding:26px 0;background:#0d2c29;color:#d9e1de}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px}

@media(max-width:950px){
  .header-inner{grid-template-columns:1fr auto}.main-nav{display:none}.menu-toggle{display:block;justify-self:end}.header-play{display:none}
  .main-nav.open{display:flex;position:absolute;top:72px;left:20px;right:20px;padding:18px;background:#f5f1e7;flex-direction:column;border:1px solid var(--line)}
  .hero{grid-template-columns:1fr;background:linear-gradient(#e7d098 0 48%,#173f3a 48% 100%)}.hero-art{height:600px}.hero-art img{height:550px}.hero-copy{padding:70px 30px 90px}
  .path-line{grid-template-columns:1fr 1fr}.path-line:before{display:none}
  .gameplay-grid,.systems-layout,.identity-grid,.final-grid{grid-template-columns:1fr}
  .identity-grid img{justify-self:start}
  .journal{min-height:950px}.card-a{left:5%}.card-b{left:auto;right:5%;top:120px}.card-c{left:25%;right:auto;top:480px}
}
@media(max-width:640px){
  .section-inner,.header-inner{width:min(100% - 28px,1160px)}
  .hero-art{height:500px}.hero-art img{height:460px}.hero-copy h1{letter-spacing:-2px}
  .path-line{grid-template-columns:1fr}
  .gameplay-grid{gap:38px}.temple-window{width:312px}.temple-window video{width:266px;height:450px}
  .gallery-head{display:block}.gallery-head p{margin-top:15px}
  .journal{min-height:auto;display:grid;gap:18px}.journal-card{position:static!important;width:100%!important;transform:none!important}.journal-card img{max-height:520px;object-fit:contain}
  .systems-layout{gap:14px}.systems-menu{display:grid;grid-template-columns:1fr}.systems-stage{min-height:auto;padding:22px}.system-panel.active{grid-template-columns:1fr}.system-panel img{width:230px;margin:auto}.panel-copy h3{font-size:30px}
  .final-image{height:280px}.final-image img{width:220px}
}

/* =========================
   V12 POLISH PASS
   ========================= */

/* Header: a little more premium and compact */
.site-header{
  box-shadow:0 1px 0 rgba(45,51,47,.08);
}
.header-inner{
  height:68px;
}
.main-nav a{
  position:relative;
}
.main-nav a:after{
  content:"";
  position:absolute;
  left:0;right:100%;bottom:-7px;
  height:2px;
  background:var(--gold);
  transition:.22s ease;
}
.main-nav a:hover:after{right:0}
.header-play{
  background:linear-gradient(180deg,#1c504a,#123a35);
  box-shadow:0 8px 18px rgba(13,44,41,.16);
}

/* Hero: reduce the "two flat slabs" feeling */
.hero{
  min-height:720px;
  background:
    linear-gradient(110deg,#ead5a2 0 39%,#173f3a 39% 100%);
}
.hero:before{
  content:"";
  position:absolute;
  left:39%;top:0;bottom:0;
  width:110px;
  transform:translateX(-45%);
  background:linear-gradient(100deg,rgba(255,255,255,.08),transparent);
  pointer-events:none;
}
.hero-art{
  height:720px;
  padding-top:72px;
}
.hero-art img{
  height:650px;
  border-radius:4px;
  box-shadow:0 28px 55px rgba(78,60,25,.18);
}
.hero-copy{
  padding-top:72px;
  padding-bottom:72px;
}
.hero-copy h1{
  max-width:610px;
  text-wrap:balance;
}
.hero-notes span{
  background:rgba(255,255,255,.035);
}

/* Adventure path */
.story{
  position:relative;
  overflow:hidden;
}
.story:after{
  content:"";
  position:absolute;
  width:360px;height:360px;
  border:1px solid rgba(75,82,74,.09);
  border-radius:50%;
  right:-180px;bottom:-190px;
}
.path-step{
  padding:0 18px 8px 0;
}
.path-step h3{
  font-size:29px;
}
.step-dot{
  box-shadow:0 8px 18px rgba(13,44,41,.14);
}

/* Gameplay: give frame and text more hierarchy */
.gameplay{
  position:relative;
  overflow:hidden;
}
.gameplay:before{
  content:"";
  position:absolute;
  width:440px;height:440px;
  border-radius:50%;
  right:-140px;top:-180px;
  background:radial-gradient(circle,rgba(53,201,201,.10),transparent 68%);
}
.gameplay-copy{
  position:relative;
  z-index:2;
}
.temple-window{
  transform:rotate(1deg);
}
.facts div{
  border-radius:2px;
}

/* Gallery: more intentional paper stack */
.journal-card{
  transition:transform .25s ease, box-shadow .25s ease;
}
.journal-card:hover{
  z-index:5;
  box-shadow:0 28px 60px rgba(56,48,31,.22);
}
.card-a:hover{transform:rotate(-2deg) translateY(-8px)}
.card-b:hover{transform:rotate(1deg) translateY(-8px)}
.card-c:hover{transform:rotate(3deg) translateY(-8px)}

/* Systems: turn it into a clearer 3-step console */
.systems{
  position:relative;
  background:
    radial-gradient(circle at 95% 5%,rgba(234,213,162,.28),transparent 26%),
    #f5f1e7;
}
.systems-head{
  margin-bottom:38px;
}
.systems-layout{
  grid-template-columns:290px 1fr;
  gap:18px;
}
.systems-menu{
  gap:0;
  background:#ece3cc;
  border:1px solid rgba(78,68,43,.10);
}
.system-tab{
  position:relative;
  padding:20px 19px;
  border-left:0;
  border-bottom:1px solid rgba(77,68,46,.10);
  transition:.2s ease;
}
.system-tab:last-child{border-bottom:0}
.system-tab:before{
  content:"";
  position:absolute;
  top:0;bottom:0;left:0;
  width:4px;
  background:transparent;
}
.system-tab:hover{
  background:#f2e8cf;
}
.system-tab.active{
  background:#e5cf96;
  border-left:0;
}
.system-tab.active:before{
  background:var(--jungle);
}
.system-tab span{
  font-size:9px;
  letter-spacing:1.2px;
}
.system-tab b{
  font-size:22px;
}
.systems-stage{
  min-height:550px;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 80% 25%,rgba(53,201,201,.11),transparent 29%),
    #173f3a;
}
.system-panel.active{
  min-height:486px;
}
.panel-copy{
  max-width:430px;
}
.panel-kicker{
  display:inline-block;
  margin-bottom:10px;
  color:#79dcd5;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.8px;
}
.panel-copy h3{
  font-size:42px;
  line-height:1;
  margin-top:0;
}
.system-panel img{
  border:1px solid rgba(255,255,255,.08);
}

/* Identity: less empty, more editorial */
.identity-strip{
  padding:64px 0;
  background:
    linear-gradient(115deg,#173f3a 0 74%,#204f49 74% 100%);
}
.identity-grid{
  grid-template-columns:minmax(0,1fr) 220px;
  gap:46px;
}
.identity-grid h2{
  max-width:780px;
  font-size:clamp(40px,4.5vw,61px);
}
.identity-grid img{
  width:190px;
  border:8px solid rgba(255,255,255,.05);
}

/* Final CTA: tighter and more cinematic */
.final-cta{
  padding:68px 0;
  background:
    linear-gradient(105deg,#efd989 0 68%,#e1c66c 68% 100%);
}
.final-grid{
  grid-template-columns:minmax(0,1fr) 270px;
}
.final-grid h2{
  max-width:650px;
}
.final-image{
  height:300px;
  justify-content:flex-end;
}
.final-image img{
  width:235px;
  border:1px solid rgba(84,65,25,.12);
}

/* Improve desktop balance on wide screens */
@media(min-width:1300px){
  .section-inner,.header-inner{
    width:min(1180px,calc(100% - 80px));
  }
}

/* Tablet/mobile polish */
@media(max-width:950px){
  .hero-inner{grid-template-columns:1fr;gap:24px;min-height:auto;padding:48px 0 0}
  .hero-copy{padding:40px 0 0;max-width:none}
  .hero-stage{padding:12px 0 72px}
  .hero-art{width:320px}
  .hero-float-a{left:0;top:82px}
  .hero-float-b{right:0;bottom:82px}
  .systems-layout{grid-template-columns:1fr}
  .systems-menu{
    display:grid;
    grid-template-columns:repeat(3,1fr);
  }
  .system-tab{
    border-bottom:0;
    border-right:1px solid rgba(77,68,46,.10);
  }
  .system-tab:last-child{border-right:0}
  .system-tab.active:before{
    top:auto;right:0;width:auto;height:4px;
  }
}
@media(max-width:640px){
  .hero{min-height:auto}
  .hero-inner{width:min(100% - 28px,1180px);padding:38px 0 0}
  .hero-copy h1{font-size:clamp(44px,16vw,64px);letter-spacing:-2px}
  .hero-copy p{font-size:16px}
  .hero-actions{gap:14px}
  .hero-stage{padding:6px 0 62px}
  .hero-art{width:274px;padding:8px;border-radius:28px}
  .hero-art img{border-radius:20px}
  .hero-float{min-width:92px;padding:10px 12px}
  .hero-float b{font-size:20px}
  .hero-float-a{left:-2px;top:70px}
  .hero-float-b{right:-2px;bottom:66px}
  .hero-seal{right:14px;bottom:12px;width:66px;height:66px;font-size:13px}
  .systems-menu{grid-template-columns:1fr}
  .system-tab{
    border-right:0;
    border-bottom:1px solid rgba(77,68,46,.10);
  }
  .system-tab.active:before{
    top:0;bottom:0;right:auto;width:4px;height:auto;
  }
  .system-panel.active{min-height:auto}
  .panel-copy h3{font-size:34px}
  .identity-strip{background:#173f3a}
  .final-cta{background:#efd989}
}


/* =========================
   V14 HERO-ONLY REFINEMENT
   ========================= */
.hero{position:relative;min-height:760px;overflow:hidden;background:#102f31 !important}
.hero:before{display:none !important;content:none !important}
.hero-backdrop,.hero-overlay{position:absolute;inset:0}
.hero-backdrop img{width:100%;height:100%;object-fit:cover;filter:blur(16px) saturate(.9) brightness(.52);transform:scale(1.08)}
.hero-overlay{background:linear-gradient(90deg,rgba(8,33,35,.92) 0%,rgba(12,45,47,.88) 38%,rgba(16,56,58,.72) 62%,rgba(11,39,41,.82) 100%),radial-gradient(circle at 75% 32%,rgba(69,214,214,.17),transparent 24%),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.14))}
.hero-inner{position:relative;z-index:2;width:min(1180px,calc(100% - 64px));margin:auto;min-height:760px;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:70px;align-items:center}
.hero-copy{max-width:620px;padding:100px 0 96px !important;color:#fff}
.hero-copy .overline{color:#7fe1dc}
.hero-copy h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(56px,6vw,86px);line-height:.92;letter-spacing:-3px;margin:18px 0 24px;font-weight:700;max-width:610px;text-wrap:balance}
.hero-copy h1 em{font-style:normal;color:#ffd164}
.hero-copy p{font-size:18px;line-height:1.75;color:#d8e4df;max-width:560px}
.hero-actions{display:flex;gap:22px;align-items:center;margin-top:30px;flex-wrap:wrap}
.hero-notes{display:flex;gap:9px;flex-wrap:wrap;margin-top:28px}
.hero-notes span{padding:8px 10px;border:1px solid rgba(255,255,255,.18);font-size:10px;color:#c9d8d4;text-transform:uppercase;letter-spacing:.7px;background:rgba(255,255,255,.035)}
.hero-stage{display:grid;place-items:center;padding:84px 0 74px}
.hero-device-wrap{position:relative;width:100%;display:grid;place-items:center}
.hero-art{position:relative;z-index:2;width:330px;height:auto !important;padding:10px !important;border-radius:34px;background:rgba(7,32,34,.92);box-shadow:0 28px 70px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.08) inset;display:block}
.hero-art:after{content:"";position:absolute;inset:-14px;border-radius:42px;background:radial-gradient(circle,rgba(58,219,219,.18),transparent 62%);z-index:-1}
.hero-art img{width:100%;height:auto !important;max-width:100%;max-height:none;border-radius:26px;display:block;border-radius:26px;box-shadow:none;filter:none}
.hero-float{position:absolute;z-index:3;min-width:116px;padding:12px 14px;border-radius:14px;background:rgba(255,251,241,.96);box-shadow:0 16px 42px rgba(0,0,0,.18);color:#163336}
.hero-float small{display:block;font-size:9px;letter-spacing:1.2px;font-weight:900;color:#6c7c7d}
.hero-float b{display:block;margin-top:4px;font-size:24px;line-height:1}
.hero-float-a{left:-8px;top:100px}
.hero-float-b{right:-8px;bottom:92px}
.hero-seal{position:absolute;right:34px;bottom:28px;width:82px;height:82px;border:1px solid rgba(255,255,255,.25);border-radius:50%;display:grid;place-items:center;text-align:center;color:#f5d67d;font-family:Georgia,serif;font-size:16px;line-height:1.2}

@media(max-width:950px){
  .hero{min-height:auto !important}
  .hero-inner{grid-template-columns:1fr;gap:24px;min-height:auto;width:min(100% - 40px,1180px);padding:48px 0 0}
  .hero-copy{padding:40px 0 0 !important;max-width:none}
  .hero-stage{padding:12px 0 72px}
  .hero-art{width:320px}
  .hero-float-a{left:0;top:82px}
  .hero-float-b{right:0;bottom:82px}
}
@media(max-width:640px){
  .hero-inner{width:min(100% - 28px,1180px);padding:38px 0 0}
  .hero-copy h1{font-size:clamp(44px,16vw,64px);letter-spacing:-2px}
  .hero-copy p{font-size:16px}
  .hero-actions{gap:14px}
  .hero-stage{padding:6px 0 62px}
  .hero-art{width:274px;padding:8px !important;border-radius:28px}
  .hero-art img{border-radius:20px}
  .hero-float{min-width:92px;padding:10px 12px}
  .hero-float b{font-size:20px}
  .hero-float-a{left:-2px;top:70px}
  .hero-float-b{right:-2px;bottom:66px}
  .hero-seal{right:14px;bottom:12px;width:66px;height:66px;font-size:13px}
}


/* =========================
   V15 IDENTITY + FINAL CTA
   ========================= */
.identity-strip{
  padding:70px 0 !important;
  background:linear-gradient(135deg,#0f3436 0%,#16494a 62%,#1b5552 100%) !important;
  color:#fff;
  border-top:1px solid rgba(255,255,255,.06);
}
.identity-card{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 250px !important;
  gap:54px !important;
  align-items:center !important;
  padding:42px 46px;
  border-radius:28px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 20px 55px rgba(0,0,0,.10);
}
.identity-copy{max-width:720px}
.identity-copy h2{
  margin:12px 0 18px;
  max-width:760px;
  font-size:clamp(42px,4.6vw,62px) !important;
  line-height:.98 !important;
  letter-spacing:-2.4px !important;
}
.identity-copy p{margin:0;max-width:670px;color:#c8d9d6;line-height:1.72;font-size:16px}
.identity-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
.identity-tags span{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);font-size:10px;font-weight:850;color:#e2efed;letter-spacing:.4px}
.identity-preview{display:grid;place-items:center}
.identity-phone{width:205px;padding:8px;border-radius:24px;background:#09292b;box-shadow:0 24px 55px rgba(0,0,0,.26);transform:rotate(1.5deg)}
.identity-phone img{width:100%;border-radius:17px}

.final-cta{
  padding:68px 0 !important;
  background:linear-gradient(120deg,#ecd27d 0%,#f6e7ad 62%,#c8e7d7 100%) !important;
}
.final-card{
  min-height:360px;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 250px !important;
  gap:54px !important;
  align-items:center !important;
  padding:42px 48px;
  border-radius:30px;
  background:rgba(255,255,255,.40);
  border:1px solid rgba(255,255,255,.58);
  box-shadow:0 20px 50px rgba(82,70,34,.10);
  overflow:hidden;
}
.final-copy{max-width:700px}
.final-copy h2{margin:12px 0 16px;max-width:680px;font-size:clamp(44px,5vw,68px) !important;line-height:.96 !important;letter-spacing:-2.7px !important}
.final-copy p{margin:0;max-width:600px;color:#6a614e;line-height:1.7;font-size:16px}
.final-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:24px}
.final-note{font-size:11px;font-weight:800;color:#716955}
.final-visual{display:grid;place-items:center;align-self:end}
.final-phone{width:215px;padding:7px;border-radius:24px;background:#173b3b;box-shadow:0 22px 50px rgba(59,51,27,.18);transform:rotate(2deg) translateY(34px)}
.final-phone img{width:100%;border-radius:17px}

@media(max-width:950px){
  .identity-card,.final-card{grid-template-columns:1fr !important}
  .identity-preview,.final-visual{justify-items:start}
  .identity-phone,.final-phone{width:200px;transform:none}
}
@media(max-width:640px){
  .identity-strip,.final-cta{padding:52px 0 !important}
  .identity-card,.final-card{padding:28px 22px;border-radius:24px}
  .identity-copy h2,.final-copy h2{letter-spacing:-2px !important}
  .identity-phone,.final-phone{width:180px}
}


/* =========================
   V16 ACCOUNT + STORE
   ========================= */
.header-actions{justify-self:end;display:flex;align-items:center;gap:9px}
.header-signin{border:1px solid rgba(23,63,58,.16);background:transparent;color:var(--jungle);padding:10px 14px;border-radius:999px;font-weight:900;font-size:11px;cursor:pointer}
.wallet-section{padding:92px 0;background:linear-gradient(180deg,#f5f1e7,#eee6d3)}
.wallet-shell{display:grid;grid-template-columns:360px minmax(0,1fr);gap:30px;align-items:start}
.wallet-intro{position:sticky;top:94px;padding:34px;border-radius:28px;background:#173f3a;color:#fff;box-shadow:0 24px 60px rgba(18,50,47,.14)}
.wallet-intro h2{font-family:Georgia,"Times New Roman",serif;font-size:42px;line-height:1;margin:12px 0 16px}
.wallet-intro>p{color:#c8d8d4;line-height:1.7;margin:0 0 24px}
.wallet-account-card{padding:16px;border-radius:18px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);display:grid;gap:14px}
.wallet-label{display:block;font-size:9px;letter-spacing:1.4px;color:#7ee0da;font-weight:900}.wallet-account-card strong{display:block;margin-top:5px;font-size:18px}.wallet-account-card small{display:block;margin-top:4px;color:#b9cbc7;line-height:1.45}
.wallet-signin{border:0;border-radius:12px;background:#efbd46;color:#193632;padding:12px 14px;font-weight:900;cursor:pointer}
.wallet-balance{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.wallet-balance>div{padding:14px;border-radius:15px;background:#fff;color:#223936;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px}.wallet-balance img{width:27px}.wallet-balance span{font-size:11px;color:#71807c}.wallet-balance b{font-size:18px}.revive-symbol{font-size:25px!important;color:#1bbdbd!important;font-weight:800}
.wallet-note{margin-top:14px;padding:15px;border-radius:15px;background:#ead9aa;color:#3b443f}.wallet-note b{display:block;font-family:Georgia,serif}.wallet-note span{display:block;margin-top:5px;font-size:11px;color:#786d54}
.wallet-store{padding:28px;border-radius:28px;background:#fffdf8;border:1px solid rgba(65,57,35,.10);box-shadow:0 18px 50px rgba(65,57,35,.08)}
.store-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:0 4px 18px}.store-heading span{font-size:9px;letter-spacing:1.5px;color:#8b7a56;font-weight:900}.store-heading h3{font-family:Georgia,serif;font-size:32px;margin:5px 0 0}.store-heading small{color:#938b78}
.package-list{display:grid;gap:10px;max-height:650px;overflow:auto;padding:2px 8px 2px 2px;scrollbar-color:#c5b68f transparent;scrollbar-width:thin}
.package-row{position:relative;display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;min-height:82px;padding:13px 14px;border:1px solid #e5dfd1;border-radius:17px;background:#fff;transition:.18s ease}.package-row:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(53,57,45,.08)}
.package-row.recommended{border:2px solid #7b61ff;background:#fbf9ff}.package-row.best-value{border-color:#d3a72e;background:#fffaf0}
.package-icon{width:44px;height:44px;border-radius:14px;background:#e9f8f4;display:grid;place-items:center}.package-icon img{width:34px}
.package-name{font-size:11px;color:#8a8496}.package-gems{font-size:18px;font-weight:950;margin-top:2px;color:#30313d}.package-revives{font-size:11px;color:#7d7889;margin-top:2px}
.package-buy{min-width:76px;border:0;border-radius:12px;background:#f4e4c4;color:#3d352b;padding:12px 13px;font-size:15px;cursor:pointer;transition:.15s}.package-buy:hover{background:#efbd46;transform:scale(1.03)}
.choice-badge{position:absolute;right:8px;bottom:-8px;background:#7b61ff;color:#fff;border-radius:999px;padding:3px 8px;font-size:8px;font-weight:950}.value-badge{display:inline-block;margin-left:5px;padding:3px 7px;border-radius:999px;background:#efbd46;color:#352d1e;font-size:8px;font-weight:950;vertical-align:1px}

.auth-modal{position:fixed;inset:0;z-index:1000;display:none;place-items:center;padding:20px}.auth-modal.open{display:grid}.auth-backdrop{position:absolute;inset:0;background:rgba(9,40,42,.88);backdrop-filter:blur(8px)}
.auth-card{position:relative;z-index:2;width:min(440px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:34px 28px 28px;border-radius:26px;background:#fffaf0;border:2px solid #d5ac4e;box-shadow:0 35px 90px rgba(0,0,0,.30);color:#40352c;text-align:center}
.auth-close{position:absolute;right:17px;top:16px;width:34px;height:34px;border-radius:50%;border:1px solid #dfd2b7;background:#fffaf0;color:#816e50;font-size:24px;cursor:pointer}.auth-gem{width:74px;height:74px;margin:0 auto 12px;border-radius:22px;background:#f0d789;display:grid;place-items:center;transform:rotate(-4deg)}.auth-gem img{width:56px}.auth-card .overline{color:#9d7a3d}.auth-card h2{font-family:Georgia,serif;font-size:31px;margin:10px 0 8px}.auth-card>p{margin:0 0 20px;color:#917f65}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #dfd4bd;margin-bottom:20px}.auth-tab{border:0;background:transparent;padding:12px;color:#9a8870;cursor:pointer;font-size:14px}.auth-tab.active{color:#008f91;border-bottom:3px solid #25c7c7;font-weight:800}
.auth-form{display:none;text-align:left}.auth-form.active{display:grid;gap:14px}.auth-form label{display:grid;gap:7px;font-size:12px;color:#79684e}.auth-form input{width:100%;padding:14px 13px;border:1px solid #d8c9ab;border-radius:11px;background:#fff;font:inherit;outline:none}.auth-form input:focus{border-color:#25c7c7;box-shadow:0 0 0 3px rgba(37,199,199,.12)}
.auth-submit{border:0;border-radius:11px;padding:14px;background:#20bcb5;color:white;font-weight:900;cursor:pointer;box-shadow:inset 0 -4px 0 rgba(0,0,0,.12)}.auth-guest{border:0;background:transparent;padding:10px;color:#806b4c;cursor:pointer}.auth-form small{text-align:center;color:#9b8766}
.site-toast{position:fixed;left:50%;bottom:26px;z-index:1100;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#173f3a;color:white;padding:12px 18px;border-radius:12px;box-shadow:0 16px 40px rgba(0,0,0,.18);transition:.2s}.site-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:950px){.header-actions{justify-self:end}.wallet-shell{grid-template-columns:1fr}.wallet-intro{position:static}.main-nav.open{z-index:20}}
@media(max-width:640px){.header-signin{display:none}.wallet-section{padding:64px 0}.wallet-intro,.wallet-store{padding:22px;border-radius:22px}.wallet-intro h2{font-size:35px}.package-row{grid-template-columns:42px 1fr auto;gap:10px;padding:11px 10px}.package-buy{min-width:68px;padding:11px 9px}.package-gems{font-size:16px}.store-heading{align-items:start;flex-direction:column}.auth-card{padding:28px 18px 22px}}


/* V17 functional account state */
.header-user{border:1px solid rgba(23,63,58,.16);background:rgba(255,255,255,.34);color:var(--jungle);padding:8px 12px;border-radius:999px;font-weight:900;font-size:11px;display:inline-flex;align-items:center;gap:8px}
.header-user .user-coins{color:#9a731c}.header-user .user-name{color:var(--jungle)}
.header-logout,.wallet-logout{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.site-toast.success{background:#173f3a}.site-toast.warning{background:#8b671e}.site-toast.error{background:#7f3131}
.auth-submit:disabled,.package-buy:disabled{opacity:.65;cursor:wait;transform:none}
