
:root{
  --bg:#070b10;
  --panel:#101620;
  --panel2:#151d2a;
  --gold:#ffc94a;
  --gold2:#ff9d22;
  --orange:#ffb62d;
  --purple:#9b4dff;
  --blue:#39c7ff;
  --text:#fff7df;
  --muted:#d8c7a6;
  --line:rgba(255,195,72,.55);
  --shadow:0 22px 80px rgba(0,0,0,.55);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:radial-gradient(circle at 50% 0%, #1d1244 0%, #070b10 42%, #030507 100%);
  color:var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x:hidden;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 20%, rgba(138,54,255,.28), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(255,166,36,.16), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 35%, rgba(0,0,0,.4));
  z-index:-2;
}
.gold-dust{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.38;
  background-image:
    radial-gradient(circle, rgba(255,216,99,.95) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(149,81,255,.65) 0 1px, transparent 1.8px);
  background-size: 88px 110px, 137px 173px;
  animation:dust 18s linear infinite;
  z-index:-1;
}
@keyframes dust{to{transform:translateY(-80px)}}

.topbar{
  position:fixed;
  top:14px;
  left:50%;
  transform:translateX(-50%);
  width:min(1120px, calc(100% - 24px));
  min-height:54px;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 14px;
  border:1px solid rgba(255,203,82,.34);
  border-radius:22px;
  background:rgba(8,11,18,.58);
  backdrop-filter: blur(18px);
  box-shadow:0 16px 40px rgba(0,0,0,.32);
}
.brand-mini{
  color:var(--gold);
  text-decoration:none;
  font-family: Georgia, "Times New Roman", serif;
  font-weight:900;
  letter-spacing:.08em;
  text-shadow:0 2px 0 #6d2500, 0 0 22px rgba(255,176,36,.35);
}
.navlinks{display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end}
.navlinks a{
  color:#f8e6bd;
  text-decoration:none;
  font-size:14px;
  padding:8px 12px;
  border-radius:999px;
}
.navlinks a:hover{background:rgba(255,201,74,.13); color:white}

.page-shell{
  width:100%;
}
.screen{
  position:relative;
  min-height:100svh;
  padding:96px 28px 44px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  overflow:hidden;
  scroll-snap-align:start;
  border-bottom:1px solid rgba(255,201,74,.13);
}
@supports (scroll-snap-type: y mandatory){
  html{scroll-snap-type:y proximity}
}
.screen:after{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(255,202,74,.16);
  border-radius:32px;
  pointer-events:none;
}

/* HERO */
.screen-hero{
  padding-top:92px;
  isolation:isolate;
}
.hero-bg, .video-tint{
  position:absolute; inset:0; z-index:-3;
}
.hero-bg iframe{
  width:100vw;
  height:56.25vw;
  min-height:100vh;
  min-width:177.78vh;
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%, -50%);
  border:0;
  filter:saturate(1.2) contrast(1.08);
}
.video-tint{
  z-index:-2;
  background:
    radial-gradient(circle at 50% 46%, rgba(98,34,198,.22), transparent 27%),
    linear-gradient(90deg, rgba(5,7,10,.78), rgba(5,7,10,.32), rgba(5,7,10,.82)),
    linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.72));
}
.hero-content{
  width:min(760px, 100%);
  text-align:center;
  position:relative;
  z-index:4;
  padding:22px;
}
.crest, .eyebrow{
  color:#ffd66d;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-weight:900;
  text-shadow:0 0 22px rgba(255,198,62,.25);
}
.hero-content h1{
  margin:4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  text-transform:uppercase;
  font-size:clamp(70px, 13vw, 168px);
  line-height:.78;
  letter-spacing:-.06em;
  color:var(--gold);
  text-shadow:
    0 4px 0 #8f3308,
    0 10px 24px rgba(0,0,0,.8),
    0 0 34px rgba(255,159,29,.5);
}
.subtitle{
  display:inline-block;
  margin:4px 0 20px;
  padding:4px 18px 8px;
  background:linear-gradient(180deg,#753113,#2a0906);
  color:#ffd66d;
  border:1px solid rgba(255,206,77,.7);
  border-radius:14px;
  font-family: Georgia, "Times New Roman", serif;
  text-transform:uppercase;
  font-size:clamp(30px, 6vw, 72px);
  font-weight:900;
  line-height:1;
  text-shadow:0 2px 0 #120403;
  box-shadow:0 10px 36px rgba(0,0,0,.45);
}
.hero-copy{
  width:min(620px, 100%);
  margin:0 auto 22px;
  color:#fff1ce;
  font-size:clamp(18px, 2vw, 25px);
  font-weight:800;
  text-shadow:0 2px 18px black;
}
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  text-decoration:none;
  color:#211000;
  background:linear-gradient(180deg,#ffe987,#ffc037 52%, #f89212);
  border:2px solid #fff0a8;
  box-shadow:inset 0 -5px 0 rgba(121,55,0,.35), 0 20px 48px rgba(0,0,0,.5), 0 0 24px rgba(255,180,39,.28);
  border-radius:18px;
  padding:13px 28px;
  text-transform:uppercase;
  font-weight:1000;
  letter-spacing:.02em;
  line-height:1.02;
  font-size:clamp(18px, 2.2vw, 29px);
  transition:transform .18s ease, filter .18s ease;
}
.cta:hover{transform:translateY(-3px) scale(1.025); filter:saturate(1.12)}
.play-triangle{
  width:0; height:0;
  border-top:23px solid transparent;
  border-bottom:23px solid transparent;
  border-left:35px solid #31d7ff;
  filter:drop-shadow(4px 0 0 #5cff67) drop-shadow(-2px 0 0 #f94b75);
}
.cta.big{margin-top:28px}
.microcopy{
  margin:16px 0 0;
  color:#ffc94a;
  font-family:Georgia, "Times New Roman", serif;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800;
  text-shadow:0 1px 0 #5b2100, 0 0 14px rgba(255,198,66,.25);
}
.hero-party{
  position:absolute;
  left:50%;
  bottom:-24px;
  transform:translateX(-50%);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:min(2vw, 22px);
  width:min(1060px, 96%);
  z-index:2;
  pointer-events:none;
  opacity:.92;
}
.party-hero{
  width:clamp(74px, 10vw, 150px);
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 18px 22px rgba(0,0,0,.75)) saturate(1.05);
}
.party-hero:nth-child(3){width:clamp(94px, 14vw, 210px)}
.party-hero:nth-child(2), .party-hero:nth-child(4){margin-bottom:18px}
.scroll-hint{
  position:absolute;
  bottom:22px;
  right:30px;
  color:#ffd46b;
  text-decoration:none;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.18em;
  z-index:5;
}

/* SECTIONS */
.section-head{
  text-align:center;
  margin-bottom:28px;
  position:relative;
  z-index:2;
}
.section-head h2{
  margin:4px 0 0;
  font-family:Georgia, "Times New Roman", serif;
  text-transform:uppercase;
  color:#ffd063;
  font-size:clamp(40px, 6.5vw, 70px);
  line-height:.95;
  text-shadow:0 3px 0 #682704, 0 0 24px rgba(255,182,40,.25);
}
.section-head .eyebrow{
  margin:0;
  font-size:clamp(13px, 1.7vw, 16px);
  text-transform:none;
  letter-spacing:.04em;
  color:#fff4d4;
}
.screen-features, .screen-heroes, .screen-uprising{
  background:
    radial-gradient(circle at 50% 20%, rgba(50,29,94,.72), transparent 32%),
    radial-gradient(circle at 92% 88%, rgba(255,158,27,.12), transparent 28%),
    linear-gradient(180deg, #0a0e15, #07090d 70%);
}
.feature-stage{
  position:relative;
  width:min(960px, 100%);
  height:min(58svh, 560px);
  display:flex;
  justify-content:center;
  align-items:center;
}
.screen-carousel{
  width:100%;
  height:100%;
  position:relative;
  perspective:1300px;
}
.screen-card{
  position:absolute;
  top:50%; left:50%;
  width:min(330px, 48vw);
  height:min(510px, 56svh);
  border-radius:24px;
  overflow:hidden;
  border:2px solid rgba(255,205,80,.72);
  background:#0e1420;
  box-shadow:var(--shadow), inset 0 0 0 1px rgba(255,255,255,.08);
  transform:translate(-50%,-50%);
  transition:transform .45s ease, opacity .45s ease, filter .45s ease;
}
.screen-card img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.screen-card:after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(8,11,18,.28), transparent 50%, rgba(0,0,0,.62));
}
.screen-label{
  position:absolute;
  left:18px; right:18px; bottom:18px;
  z-index:2;
  text-align:center;
}
.screen-label h3{
  margin:0;
  color:#ffd160;
  font-family:Georgia, "Times New Roman", serif;
  text-transform:uppercase;
  font-size:28px;
  text-shadow:0 2px 0 #4b1901, 0 0 16px black;
}
.screen-label p{margin:4px 0 0; color:white; font-weight:800}
.arrow{
  position:absolute;
  z-index:8;
  width:62px; height:78px;
  border:2px solid rgba(255,225,130,.74);
  border-radius:20px;
  background:linear-gradient(180deg,#ffe078,#ffb22b 55%,#ed8912);
  color:#251000;
  font-size:52px;
  font-weight:1000;
  line-height:.7;
  cursor:pointer;
  box-shadow:inset 0 -5px 0 rgba(83,37,0,.3), 0 16px 40px rgba(0,0,0,.4);
}
.arrow.left{left:0}
.arrow.right{right:0}
.arrow:hover{filter:saturate(1.15); transform:translateY(-2px)}
.dots{
  display:flex;
  justify-content:center;
  gap:12px;
  margin:20px 0 26px;
  z-index:4;
}
.dots button{
  width:12px; height:12px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.7);
  background:rgba(255,255,255,.35);
  cursor:pointer;
}
.dots button.active{
  background:var(--gold);
  border-color:var(--gold);
  box-shadow:0 0 18px rgba(255,201,74,.6);
}
.feature-grid, .reward-row{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  width:min(980px, 100%);
  position:relative;
  z-index:2;
}
.feature-grid article, .reward-row article{
  background:linear-gradient(180deg, rgba(23,31,45,.82), rgba(10,14,20,.9));
  border:1px solid rgba(255,201,74,.38);
  border-radius:20px;
  padding:18px 14px;
  text-align:center;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03), 0 16px 42px rgba(0,0,0,.22);
}
.feature-grid span, .reward-row span, .evolve-steps span{
  display:block;
  font-size:38px;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,.45));
}
.feature-grid h3, .reward-row h3{
  margin:9px 0 6px;
  color:#ffd15d;
  text-transform:uppercase;
  font-size:14px;
  line-height:1.18;
}
.feature-grid p, .reward-row p{margin:0; color:#e8dac1; font-size:14px}

/* HEROES */
.hero-card-wrap{
  position:relative;
  width:min(980px, 100%);
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-card{
  display:grid;
  grid-template-columns:minmax(280px, .85fr) minmax(280px, 1.15fr);
  gap:24px;
  width:min(880px, calc(100% - 86px));
  padding:24px;
  border-radius:28px;
  border:1px solid rgba(255,202,74,.46);
  background:
    radial-gradient(circle at 20% 18%, rgba(119,49,255,.28), transparent 35%),
    linear-gradient(180deg, rgba(23,31,45,.88), rgba(8,11,18,.94));
  box-shadow:var(--shadow), inset 0 0 0 1px rgba(255,255,255,.04);
}
.hero-portrait-frame{
  min-height:520px;
  border-radius:24px;
  border:1px solid rgba(255,201,74,.26);
  background:radial-gradient(circle at 50% 22%, rgba(123,65,255,.35), transparent 38%), rgba(4,7,11,.58);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:hidden;
}
.hero-portrait-frame img{
  width:118%;
  max-width:520px;
  object-fit:contain;
  filter:drop-shadow(0 22px 24px rgba(0,0,0,.75));
}
.hero-info{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}
.hero-info h3{
  margin:0;
  font-size:clamp(42px, 6vw, 76px);
  font-family:Georgia, "Times New Roman", serif;
  text-transform:uppercase;
  color:#fff4db;
  text-shadow:0 3px 0 #2b1534, 0 0 18px rgba(142,83,255,.38);
}
.role-pill{
  margin:0;
  align-self:flex-start;
  color:#ffd364;
  background:rgba(121,47,255,.18);
  border:1px solid rgba(255,210,91,.36);
  border-radius:999px;
  padding:8px 14px;
  text-transform:uppercase;
  font-weight:900;
}
.trait-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.trait{
  padding:8px 10px;
  border-radius:10px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  color:#fff0d0;
  font-weight:800;
  font-size:13px;
}
.lore-block{
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:12px;
}
.lore-block h4, .ultimate h4{
  margin:0 0 6px;
  color:#ffd15e;
  text-transform:uppercase;
}
.lore-block p, .ultimate p{margin:0; color:#e9dcc4; line-height:1.55}
.ultimate{
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:8px;
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(154,85,255,.38);
  background:rgba(9,13,20,.58);
}
.ultimate-icon{
  width:82px; height:82px;
  flex:0 0 82px;
  display:grid; place-items:center;
  border-radius:18px;
  background:radial-gradient(circle, #d166ff, #4f18a7 58%, #160821);
  color:white;
  font-size:48px;
  box-shadow:0 0 24px rgba(155,77,255,.42);
}
.hero-nav.left{left:0}
.hero-nav.right{right:0}

/* UPRISING */
.screen-uprising{
  text-align:center;
}
.reward-row{
  width:min(980px, 100%);
  margin-bottom:34px;
}
.evolve{
  width:min(980px, 100%);
  border:1px solid rgba(255,202,74,.36);
  border-radius:26px;
  padding:24px;
  background:linear-gradient(180deg, rgba(23,31,45,.78), rgba(8,11,18,.88));
  box-shadow:var(--shadow);
}
.evolve h3{
  margin:0;
  font-family:Georgia, "Times New Roman", serif;
  color:#ffd160;
  text-transform:uppercase;
  font-size:clamp(30px, 4vw, 46px);
  text-shadow:0 2px 0 #5b2100;
}
.evolve > p{margin:4px 0 24px; color:#fff2d4}
.evolve-steps{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
  gap:12px;
  align-items:stretch;
}
.evolve-steps div{
  border-radius:20px;
  padding:18px 12px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.05);
}
.evolve-steps b{
  display:block;
  color:#ffd15e;
  text-transform:uppercase;
  margin:9px 0 6px;
}
.evolve-steps small{color:#e8dac1; line-height:1.35}
.evolve-steps i{
  display:grid;
  place-items:center;
  color:#ffbd36;
  font-size:34px;
  font-style:normal;
}

/* RESPONSIVE */
@media (max-width: 860px){
  .screen{padding:86px 16px 34px}
  .topbar{top:8px; border-radius:18px}
  .navlinks a{font-size:12px; padding:7px 8px}
  .hero-party{opacity:.62}
  .feature-stage{height:50svh}
  .screen-card{width:min(272px, 68vw); height:min(440px, 49svh)}
  .arrow{width:48px; height:66px; font-size:42px; border-radius:16px}
  .feature-grid, .reward-row{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .hero-card{
    grid-template-columns:1fr;
    width:calc(100% - 64px);
    gap:14px;
    padding:16px;
  }
  .hero-portrait-frame{min-height:310px}
  .hero-portrait-frame img{width:88%}
  .hero-info h3{font-size:40px}
  .evolve-steps{
    grid-template-columns:1fr;
  }
  .evolve-steps i{transform:rotate(90deg); height:18px}
}
@media (max-width: 520px){
  .brand-mini{font-size:13px}
  .navlinks{display:none}
  .screen:after{inset:8px; border-radius:22px}
  .hero-content h1{font-size:64px}
  .subtitle{font-size:28px}
  .hero-copy{font-size:16px}
  .cta{font-size:16px; padding:12px 18px}
  .play-triangle{border-top-width:18px; border-bottom-width:18px; border-left-width:28px}
  .feature-grid, .reward-row{gap:10px}
  .feature-grid article, .reward-row article{padding:13px 10px}
  .feature-grid h3, .reward-row h3{font-size:12px}
  .feature-grid p, .reward-row p{font-size:12px}
  .screen-card{height:420px}
}


/* === v3 cleanup based on feedback === */
.topbar,
.hero-party,
.scroll-hint,
.screen-label{
  display:none !important;
}

.screen{
  padding-top: 44px;
}

.screen-hero{
  padding-top: 28px;
}

.hero-content{
  padding-top: 40px;
  padding-bottom: 110px;
}

@media (max-width: 860px){
  .screen{
    padding-top: 28px;
    min-height: auto;
  }

  .hero-content{
    padding-top: 64px;
    padding-bottom: 36px;
  }

  .feature-stage{
    height: 44svh;
  }

  .screen-card{
    width: min(260px, 70vw);
    height: min(390px, 44svh);
  }

  .hero-card{
    width: calc(100% - 40px);
    gap: 10px;
    padding: 14px;
  }

  .hero-portrait-frame{
    min-height: 220px;
  }

  .hero-portrait-frame img{
    width: 72%;
    max-width: 250px;
  }

  .hero-info{
    gap: 10px;
  }

  .hero-info h3{
    font-size: 34px;
    line-height: .95;
  }

  .role-pill{
    padding: 6px 12px;
    font-size: 13px;
  }

  .trait-row{
    gap: 6px;
  }

  .trait{
    padding: 6px 9px;
    font-size: 12px;
  }

  .lore-block{
    padding-top: 8px;
  }

  .lore-block h4{
    margin-bottom: 4px;
    font-size: 13px;
  }

  .lore-block p{
    font-size: 13px;
    line-height: 1.35;
  }

  .mobile-hide,
  .ultimate{
    display: none !important;
  }

  .dots{
    margin: 14px 0 10px;
  }
}

@media (max-width: 520px){
  .screen{
    padding-left: 12px;
    padding-right: 12px;
  }

  .section-head{
    margin-bottom: 18px;
  }

  .section-head h2{
    font-size: 54px;
  }

  .section-head .eyebrow{
    font-size: 12px;
  }

  .hero-card{
    width: calc(100% - 28px);
    padding: 12px;
    border-radius: 22px;
  }

  .hero-portrait-frame{
    min-height: 190px;
  }

  .hero-info h3{
    font-size: 28px;
  }

  .arrow{
    width: 42px;
    height: 58px;
    font-size: 36px;
  }

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


/* === v4 equal-height mobile slides + compact conversion pass === */
@media (max-width: 860px){
  html{
    scroll-snap-type: y mandatory;
  }

  .screen{
    min-height: 100svh;
    height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    justify-content: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .screen-hero{
    min-height: 100svh;
    height: 100svh;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-content{
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero-content h1{
    font-size: clamp(56px, 16vw, 106px);
  }

  .subtitle{
    font-size: clamp(25px, 7.5vw, 48px);
    margin-bottom: 16px;
  }

  .hero-copy{
    font-size: clamp(16px, 4.1vw, 22px);
    line-height: 1.22;
    margin-bottom: 18px;
  }

  .microcopy{
    font-size: clamp(17px, 4.6vw, 27px);
    line-height: 1.18;
    margin-top: 18px;
  }

  .section-head h2{
    font-size: clamp(46px, 15vw, 86px);
  }

  .section-head .eyebrow{
    width: min(690px, 92%);
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
  }

  .screen-uprising{
    justify-content: center;
    gap: 10px;
  }

  .screen-uprising .section-head{
    margin-bottom: 10px;
  }

  .screen-uprising .section-head h2{
    font-size: clamp(45px, 14.2vw, 76px);
    line-height: .82;
  }

  .screen-uprising .section-head .eyebrow{
    font-size: clamp(12px, 3.2vw, 16px);
  }

  .screen-uprising .reward-row{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
  }

  .screen-uprising .reward-row article{
    border-radius: 14px;
    padding: 8px 5px;
  }

  .screen-uprising .reward-row span{
    font-size: 22px;
  }

  .screen-uprising .reward-row h3{
    font-size: 9px;
    line-height: 1.05;
    margin: 5px 0 3px;
  }

  .screen-uprising .reward-row p{
    font-size: 9px;
    line-height: 1.1;
  }

  .screen-uprising .evolve{
    padding: 12px;
    border-radius: 18px;
  }

  .screen-uprising .evolve h3{
    font-size: clamp(25px, 7.6vw, 42px);
    line-height: .95;
  }

  .screen-uprising .evolve > p{
    font-size: 13px;
    margin: 3px 0 10px;
  }

  .screen-uprising .evolve-steps{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .screen-uprising .evolve-steps i{
    display: none;
  }

  .screen-uprising .evolve-steps div{
    border-radius: 14px;
    padding: 8px 5px;
    min-height: 112px;
  }

  .screen-uprising .evolve-steps span{
    font-size: 24px;
  }

  .screen-uprising .evolve-steps b{
    font-size: 9px;
    line-height: 1.05;
    margin: 6px 0 4px;
  }

  .screen-uprising .evolve-steps small{
    font-size: 8.7px;
    line-height: 1.12;
  }

  .screen-uprising .cta.big{
    margin-top: 10px;
  }

  .screen-uprising .microcopy{
    font-size: clamp(14px, 4vw, 21px);
    line-height: 1.12;
    margin-top: 8px;
  }
}

@media (max-width: 520px){
  .screen{
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .screen-hero{
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .screen:after{
    inset: 10px;
  }

  .hero-content h1{
    font-size: 68px;
  }

  .subtitle{
    font-size: 29px;
  }

  .hero-copy{
    font-size: 17px;
  }

  .cta{
    font-size: 16px;
    border-radius: 18px;
    padding: 11px 18px;
  }

  .screen-uprising .reward-row{
    width: min(760px, 96%);
  }

  .screen-uprising .evolve{
    width: min(760px, 96%);
  }
}

@media (max-width: 390px){
  .hero-content h1{
    font-size: 58px;
  }

  .subtitle{
    font-size: 25px;
  }

  .hero-copy{
    font-size: 15px;
  }

  .screen-uprising .section-head h2{
    font-size: 47px;
  }

  .screen-uprising .reward-row h3,
  .screen-uprising .evolve-steps b{
    font-size: 8px;
  }

  .screen-uprising .reward-row p,
  .screen-uprising .evolve-steps small{
    font-size: 7.8px;
  }
}


/* === v5 refinements === */
.hero-portrait-frame{
  width:100%;
  height:min(58vh, 520px);
  min-height:520px;
}
.hero-portrait-frame img{
  width:100%;
  height:100%;
  max-width:none;
  object-fit:contain;
  object-position:center bottom;
}
.story-system{
  border-color: rgba(191,117,255,.45);
  background:
    radial-gradient(circle at 50% 18%, rgba(121,52,255,.25), transparent 34%),
    linear-gradient(180deg, rgba(34,20,54,.88), rgba(10,10,24,.93));
  box-shadow: 0 22px 80px rgba(0,0,0,.5), 0 0 36px rgba(144,78,255,.14), inset 0 0 0 1px rgba(255,255,255,.04);
}
.story-system h3{
  color:#ffd36a;
}
.story-system > p{
  max-width: 760px;
  margin-left:auto;
  margin-right:auto;
  color:#fff2db;
}
.bird-row article:nth-child(1){
  border-color: rgba(255,185,71,.72);
  background: linear-gradient(180deg, rgba(70,33,2,.9), rgba(22,12,4,.94));
  box-shadow: 0 0 0 1px rgba(255,193,102,.16) inset, 0 0 28px rgba(255,153,0,.16);
}
.bird-row article:nth-child(2){
  border-color: rgba(255,104,223,.65);
  background: linear-gradient(180deg, rgba(68,20,78,.9), rgba(25,7,32,.94));
  box-shadow: 0 0 0 1px rgba(255,151,240,.12) inset, 0 0 28px rgba(211,77,255,.16);
}
.bird-row article:nth-child(3){
  border-color: rgba(95,255,142,.6);
  background: linear-gradient(180deg, rgba(15,60,32,.9), rgba(6,22,13,.95));
  box-shadow: 0 0 0 1px rgba(133,255,170,.12) inset, 0 0 28px rgba(61,221,101,.14);
}
.bird-row article:nth-child(4){
  border-color: rgba(99,199,255,.62);
  background: linear-gradient(180deg, rgba(11,38,75,.9), rgba(5,16,35,.95));
  box-shadow: 0 0 0 1px rgba(148,221,255,.12) inset, 0 0 28px rgba(57,151,255,.15);
}
.bird-row article span{
  text-shadow: 0 0 18px currentColor;
}

@media (max-width: 860px){
  .screen,
  .screen-hero,
  .screen-features,
  .screen-heroes,
  .screen-uprising{
    min-height:100dvh !important;
    height:100dvh !important;
    max-height:100dvh !important;
  }

  .screen{
    scroll-snap-stop: always;
  }

  .screen-features .section-head h2,
  .screen-heroes .section-head h2,
  .screen-uprising .section-head h2{
    font-size: clamp(42px, 11.5vw, 62px) !important;
    line-height: .88;
  }

  .screen-features .section-head,
  .screen-heroes .section-head,
  .screen-uprising .section-head{
    margin-bottom: 14px;
  }

  .feature-stage{
    height: min(42dvh, 430px);
  }
  .screen-card{
    width:min(270px, 68vw);
    height:min(38dvh, 390px);
  }
  .feature-grid{
    gap:10px;
  }
  .feature-grid article{
    padding: 12px 10px;
    border-radius: 18px;
  }
  .feature-grid span{font-size:28px;}
  .feature-grid h3{font-size:12px; margin:6px 0 4px;}
  .feature-grid p{font-size:12px; line-height:1.18;}

  .hero-card{
    gap: 12px;
    padding: 14px;
  }
  .hero-card-wrap{width:min(980px, 100%);}
  .hero-portrait-frame{
    height: min(38dvh, 360px) !important;
    min-height: min(38dvh, 360px) !important;
    max-height: min(38dvh, 360px) !important;
    width:100%;
    padding: 6px;
    border-radius: 20px;
  }
  .hero-portrait-frame img{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    object-fit:contain !important;
  }
  .hero-info{
    gap: 9px;
  }
  .hero-info h3{
    font-size: clamp(28px, 8vw, 42px);
    line-height: .92;
  }
  .role-pill{
    font-size: 12px;
    padding: 6px 12px;
  }
  .trait-row{gap:6px;}
  .trait{font-size:12px; padding:6px 9px;}
  .hero-nav.left{left: 2px;}
  .hero-nav.right{right: 2px;}
  .dots{margin: 12px 0 12px;}

  .screen-uprising{
    gap: 8px;
  }
  .screen-uprising .reward-row{
    gap: 8px;
    margin-bottom: 12px;
  }
  .screen-uprising .reward-row article{
    padding: 10px 6px;
    border-radius: 16px;
  }
  .screen-uprising .reward-row span{font-size: 24px;}
  .screen-uprising .reward-row h3{font-size: 10px; line-height:1.08; margin:5px 0 4px;}
  .screen-uprising .reward-row p{font-size: 9px; line-height:1.12;}

  .screen-uprising .evolve{
    padding: 14px 12px;
    border-radius: 18px;
  }
  .screen-uprising .evolve h3{
    font-size: clamp(24px, 6.6vw, 36px);
    line-height: .94;
  }
  .screen-uprising .evolve > p{
    font-size: 13px;
    line-height: 1.22;
    margin: 4px 0 12px;
  }
  .screen-uprising .evolve-steps{
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 8px;
  }
  .screen-uprising .evolve-steps i{display:none;}
  .screen-uprising .evolve-steps div{
    min-height: 122px;
    padding: 10px 6px;
    border-radius: 14px;
    border-color: rgba(191,117,255,.28);
    background: rgba(255,255,255,.04);
  }
  .screen-uprising .evolve-steps span{font-size: 24px;}
  .screen-uprising .evolve-steps b{font-size: 10px; line-height: 1.08; margin: 6px 0 4px;}
  .screen-uprising .evolve-steps small{font-size: 8.8px; line-height: 1.15;}

  .screen-uprising .cta.big{
    margin-top: 10px;
  }
  .screen-uprising .microcopy{
    font-size: clamp(13px, 3.5vw, 18px);
    line-height: 1.14;
    margin-top: 8px;
  }
}

@media (max-width: 520px){
  .screen-features .section-head h2,
  .screen-heroes .section-head h2,
  .screen-uprising .section-head h2{
    font-size: clamp(36px, 11vw, 56px) !important;
  }
  .screen-features .section-head .eyebrow,
  .screen-heroes .section-head .eyebrow,
  .screen-uprising .section-head .eyebrow{
    font-size: 12px;
    width: min(92%, 720px);
  }
  .feature-stage{
    height: min(39dvh, 390px);
  }
  .screen-card{
    width:min(255px, 67vw);
    height:min(35dvh, 360px);
  }
  .screen-uprising .reward-row{
    gap: 6px;
  }
  .screen-uprising .reward-row article{
    padding: 8px 5px;
  }
  .screen-uprising .reward-row h3{font-size: 9px;}
  .screen-uprising .reward-row p{font-size: 8px;}
  .screen-uprising .evolve h3{
    font-size: clamp(22px, 6.8vw, 30px);
  }
  .screen-uprising .evolve > p{
    font-size: 12px;
  }
  .screen-uprising .evolve-steps div{
    min-height: 112px;
    padding: 8px 4px;
  }
  .screen-uprising .evolve-steps b{font-size: 8.7px;}
  .screen-uprising .evolve-steps small{font-size: 7.8px;}
}

@media (max-width: 390px){
  .screen-features .section-head h2,
  .screen-heroes .section-head h2,
  .screen-uprising .section-head h2{
    font-size: 34px !important;
  }
  .feature-stage{height:min(37dvh, 350px);} 
  .screen-card{height:min(33dvh, 320px);}
  .hero-portrait-frame{
    height:min(34dvh, 300px) !important;
    min-height:min(34dvh, 300px) !important;
    max-height:min(34dvh, 300px) !important;
  }
  .screen-uprising .reward-row h3,
  .screen-uprising .evolve-steps b{font-size:7.8px;}
  .screen-uprising .reward-row p,
  .screen-uprising .evolve-steps small{font-size:7.2px;}
}
