  :root{
    --bg:#07070b;
    --bg2:#0f0e16;
    --panel:#131220;
    --line:#242235;
    --purple:#9b6bff;
    --purple-deep:#5b2fae;
    --teal:#33e0c4;
    --teal-deep:#0f8f7d;
    --chrome:#d7d9e0;
    --text:#f3f1f8;
    --muted:#9891ab;
    --amber:#ffb545;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:'Space Grotesk', sans-serif;
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  html, body{ max-width:100%; }
  button, a, .pkg-card, .stop, .faq-q, .nav-toggle, .map-ctrl-btn, .shuffle-btn{
    -webkit-tap-highlight-color: transparent;
  }
  input, textarea, select{ font-size:16px; } /* stops iOS zoom */
  h1,h2,h3, .display{
    font-family:'Bungee', system-serif, sans-serif;
    font-weight:400;
    letter-spacing:0.5px;
    line-height:1.05;
    margin:0;
  }
  a{color:inherit;}
  img,svg{display:block;max-width:100%;}
  .wrap{max-width:1120px;margin:0 auto;padding:0 20px;}

  /* background road texture */
  body{
    background-image:
      radial-gradient(ellipse 900px 500px at 15% -10%, rgba(155,107,255,0.16), transparent 60%),
      radial-gradient(ellipse 900px 500px at 85% 0%, rgba(51,224,196,0.14), transparent 60%);
  }

  /* ---------- NAV ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(7,7,11,0.86);
    backdrop-filter: blur(10px);
    border-bottom:1px solid var(--line);
  }
  nav.wrap{
    display:flex; align-items:center; justify-content:space-between;
    height:68px;
  }
  .brand{display:flex; align-items:center; gap:10px; font-family:'Bungee'; font-size:15px;}
  .brand .mark{width:30px;height:30px;border-radius:8px;
    background:linear-gradient(160deg, var(--purple), var(--teal));
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 0 18px rgba(155,107,255,0.35);
  }
  .brand .mark svg{width:16px;height:16px;}
  .navlinks{display:flex; gap:26px; font-size:14px; color:var(--muted);}
  .navlinks a{text-decoration:none; transition:color .15s;}
  .navlinks a:hover{color:var(--text);}
  .navlinks .current{color:var(--teal);}
  .nav-cta{
    background:linear-gradient(90deg, var(--purple), var(--teal));
    color:#0a0912; font-weight:700; font-size:13.5px;
    padding:9px 18px; border-radius:8px; text-decoration:none;
    font-family:'Space Grotesk';
  }
  @media (max-width:820px){ .navlinks{display:none;} }

  /* ---------- checkered rule ---------- */
  .checker{
    height:14px;
    background-image:
      linear-gradient(45deg, #191826 25%, transparent 25%),
      linear-gradient(-45deg, #191826 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, #191826 75%),
      linear-gradient(-45deg, transparent 75%, #191826 75%);
    background-size:14px 14px;
    background-position:0 0, 0 7px, 7px -7px, -7px 0;
    background-color:#e9e9ef;
    opacity:0.9;
  }

  /* ---------- HERO ---------- */
  .hero{ padding:76px 0 40px; position:relative; overflow:hidden;}
  .eyebrow-badge{
    display:inline-flex; align-items:center; gap:8px;
    border:1px solid var(--line); background:var(--panel);
    padding:7px 14px; border-radius:999px; font-size:13px; color:var(--muted);
    margin-bottom:26px;
  }
  .eyebrow-badge b{color:var(--amber); font-weight:600;}
  .hero h1{
    font-size:clamp(40px, 6.4vw, 78px);
    background:linear-gradient(100deg, var(--chrome) 10%, var(--purple) 45%, var(--teal) 75%, var(--chrome) 95%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .hero p.lede{
    max-width:560px; margin-top:22px; font-size:18px; color:var(--muted);
  }
  .hero-ctas{display:flex; gap:14px; margin-top:34px; flex-wrap:wrap;}
  .btn-primary{
    background:linear-gradient(90deg, var(--purple), var(--teal));
    color:#0a0912; font-weight:700; padding:15px 26px; border-radius:10px;
    text-decoration:none; font-size:15px;
    box-shadow:0 8px 30px rgba(155,107,255,0.25);
  }
  .btn-ghost{
    border:1px solid var(--line); color:var(--text); padding:15px 26px;
    border-radius:10px; text-decoration:none; font-size:15px;
  }
  .hero-scene{
    margin-top:60px; border-radius:18px; border:1px solid var(--line);
    background:linear-gradient(180deg, #14121f, #0b0a13);
    padding:0; overflow:hidden;
  }

  /* ---------- STAT STRIP ---------- */
  .stats{
    display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
    background:var(--line); border:1px solid var(--line); border-radius:14px; overflow:hidden;
    margin-top:-1px;
  }
  .stat{background:var(--bg2); padding:22px 20px;}
  .stat .num{font-family:'Bungee'; font-size:26px; color:var(--teal);}
  .stat .lbl{font-size:12.5px; color:var(--muted); margin-top:6px;}
  @media (max-width:700px){ .stats{grid-template-columns:repeat(2,1fr);} }

  /* ---------- SECTION HEADERS ---------- */
  section{padding:88px 0;}
  .sec-head{max-width:620px; margin-bottom:52px;}
  .sec-head .tag{color:var(--amber); font-size:13px; font-weight:600; letter-spacing:0.3px;}
  .sec-head h2{font-size:clamp(28px,4vw,42px); margin-top:10px;}
  .sec-head p{color:var(--muted); margin-top:14px; font-size:16px;}

  /* ---------- ROUTE / STORY ---------- */
  .route{border-top:1px solid var(--line);}
  .stop{
    display:grid; grid-template-columns:88px 1fr; gap:24px;
    padding:26px 0; border-bottom:1px solid var(--line);
  }
  .stop:last-child{border-bottom:none;}
  .stop .mile{
    font-family:'Bungee'; color:var(--purple); font-size:15px; padding-top:2px;
  }
  .stop .mile span{display:block; font-family:'Space Grotesk'; color:var(--muted); font-size:11px; margin-top:4px;}
  .stop h3{font-size:19px; font-family:'Space Grotesk'; font-weight:700;}
  .stop p{color:var(--muted); margin-top:6px; font-size:15px; max-width:560px;}

  /* ---------- MINT PANEL ---------- */
  .mint-grid{display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:start;}
  @media (max-width:860px){ .mint-grid{grid-template-columns:1fr;} }
  .gauge-card{
    background:var(--panel); border:1px solid var(--line); border-radius:18px; padding:30px;
  }
  .gauge-top{display:flex; justify-content:space-between; align-items:baseline;}
  .gauge-top .price{font-family:'Bungee'; font-size:30px; color:var(--text);}
  .gauge-top .price small{font-family:'Space Grotesk'; font-size:14px; color:var(--muted); font-weight:400;}
  .progress-track{
    height:10px; border-radius:6px; background:#1c1a2b; margin:22px 0 8px; overflow:hidden;
  }
  .progress-fill{
    height:100%; width:41%; border-radius:6px;
    background:linear-gradient(90deg, var(--purple), var(--teal));
  }
  .progress-labels{display:flex; justify-content:space-between; font-size:12.5px; color:var(--muted);}
  .qty-row{
    display:flex; align-items:center; justify-content:space-between;
    background:#1a1826; border:1px solid var(--line); border-radius:12px;
    padding:14px 18px; margin:26px 0 16px;
  }
  .stepper{display:flex; align-items:center; gap:16px;}
  .stepper button{
    width:34px; height:34px; border-radius:8px; border:1px solid var(--line);
    background:#211f31; color:var(--text); font-size:18px; cursor:pointer;
  }
  .stepper span{font-family:'Bungee'; font-size:18px; min-width:20px; text-align:center;}
  .connect-btn{
    width:100%; padding:16px; border-radius:12px; border:none; cursor:pointer;
    background:linear-gradient(90deg, var(--purple), var(--teal));
    color:#0a0912; font-weight:700; font-size:15.5px; font-family:'Space Grotesk';
  }
  .mint-note{font-size:12.5px; color:var(--muted); margin-top:14px; text-align:center;}
  .countdown{display:flex; gap:10px; margin-top:22px;}
  .cbox{
    flex:1; background:#1a1826; border:1px solid var(--line); border-radius:10px;
    text-align:center; padding:12px 4px;
  }
  .cbox .n{font-family:'Bungee'; font-size:22px; color:var(--teal);}
  .cbox .l{font-size:10.5px; color:var(--muted); margin-top:4px; text-transform:uppercase; letter-spacing:0.06em;}

  .mint-copy .tag{color:var(--amber); font-size:13px; font-weight:600;}
  .mint-copy h2{font-size:clamp(26px,3.6vw,36px); margin-top:10px;}
  .mint-copy p{color:var(--muted); margin-top:14px; font-size:16px;}
  .mint-perks{list-style:none; padding:0; margin:26px 0 0; display:flex; flex-direction:column; gap:14px;}
  .mint-perks li{display:flex; gap:12px; font-size:15px;}
  .mint-perks .dot{
    width:8px;height:8px;border-radius:50%; margin-top:8px; flex-shrink:0;
    background:linear-gradient(160deg, var(--purple), var(--teal));
  }

  /* ---------- TRAIT CARDS ---------- */
  .trait-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
  @media (max-width:900px){ .trait-grid{grid-template-columns:repeat(2,1fr);} }
  .trait-card{
    background:var(--panel); border:1px solid var(--line); border-radius:16px; overflow:hidden;
  }
  .trait-card:hover{ transform:translateY(-3px); border-color:var(--teal); }
  .trait-swatch{
    height:148px; display:flex; align-items:center; justify-content:center;
    background:radial-gradient(ellipse at 50% 120%, rgba(155,107,255,0.16), transparent 70%), #100e1a;
    border-bottom:1px solid var(--line);
  }
  .trait-swatch svg{width:92%; height:auto;}
  .trait-body{padding:16px 18px 20px;}
  .trait-body .rarity{font-size:11px; color:var(--amber); font-weight:600; letter-spacing:0.04em;}
  .trait-body h3{font-size:16px; margin-top:6px; font-family:'Space Grotesk'; font-weight:700;}
  .trait-body p{font-size:13.5px; color:var(--muted); margin-top:6px;}

  /* ---------- FOOTER ---------- */
  footer{border-top:1px solid var(--line); padding:44px 0; margin-top:20px;}
  .foot-row{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;}
  .foot-links{display:flex; gap:22px; font-size:13.5px; color:var(--muted);}
  .foot-links a{text-decoration:none;}
  .foot-links a:hover{color:var(--text);}
  .foot-fine{font-size:12px; color:#5f5a72; margin-top:24px; max-width:760px;}

  /* ---------- SPONSOR SECTION ---------- */
  .howto{display:grid; grid-template-columns:repeat(5,1fr); gap:14px; margin-bottom:40px;}
  @media (max-width:1100px){ .howto{grid-template-columns:repeat(2,1fr);} }
  @media (max-width:560px){ .howto{grid-template-columns:1fr;} }
  .howto-step{
    display:flex; gap:12px; align-items:flex-start;
    background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:16px 14px;
  }
  .howto-num{
    flex:0 0 auto; width:30px; height:30px; border-radius:50%;
    background:#33e0c4; color:#04110e; font-weight:800; font-size:15px;
    display:flex; align-items:center; justify-content:center;
  }
  .howto-step h4{margin:2px 0 6px; font-size:14.5px;}
  .howto-step p{margin:0; font-size:12.5px; line-height:1.5; color:var(--muted);}
  .howto-step a{color:#33e0c4;}
  .pkg-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:56px;}
  @media (max-width:900px){ .pkg-grid{grid-template-columns:repeat(2,1fr);} }
  .pkg-card{
    background:var(--panel); border:1px solid var(--line); border-radius:16px;
    padding:26px 22px; cursor:pointer; transition:border-color .15s, transform .15s;
    position:relative;
  }
  .pkg-card:hover{transform:translateY(-2px);}
  .pkg-card.selected{border-color:var(--teal); box-shadow:0 0 0 1px var(--teal);}
  .pkg-card .badge{
    width:44px; height:44px; border-radius:10px; margin-bottom:16px;
    background:linear-gradient(160deg, var(--purple), var(--teal));
    display:flex; align-items:center; justify-content:center;
    font-family:'Bungee'; font-size:12px; color:#0a0912;
  }
  .pkg-card .pname{font-size:15px; font-weight:700;}
  .pkg-card .pprice{font-family:'Bungee'; font-size:24px; color:var(--teal); margin-top:8px;}
  .pkg-card .pdesc{font-size:13px; color:var(--muted); margin-top:8px;}
  .pkg-card input[type=radio]{position:absolute; top:18px; right:18px; accent-color:var(--teal); width:16px; height:16px;}

  .sponsor-panel{
    background:var(--panel); border:1px solid var(--line); border-radius:18px; padding:36px;
    max-width:720px; margin:0 auto;
  }
  .sponsor-panel h3{font-family:'Space Grotesk'; font-size:18px; font-weight:700; margin-bottom:22px;}
  .form-row{margin-bottom:18px;}
  .form-row label{display:block; font-size:13px; color:var(--muted); margin-bottom:7px;}
  .form-row input[type=text], .form-row input[type=email], .form-row input[type=url], .form-row textarea{
    width:100%; background:#1a1826; border:1px solid var(--line); border-radius:10px;
    padding:12px 14px; color:var(--text); font-family:'Space Grotesk'; font-size:14.5px;
  }
  .form-row textarea{resize:vertical; min-height:80px;}
  .form-two{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
  @media (max-width:560px){ .form-two{grid-template-columns:1fr;} }

  .upload-zone{
    border:1.5px dashed var(--line); border-radius:12px; padding:26px;
    text-align:center; cursor:pointer; background:#1a1826;
    display:flex; flex-direction:column; align-items:center; gap:10px;
  }
  .upload-zone:hover{border-color:var(--teal);}
  .upload-zone img{max-height:120px; border-radius:8px; margin-bottom:6px;}
  .upload-zone .uz-label{font-size:14px; color:var(--text);}
  .upload-zone .uz-sub{font-size:12px; color:var(--muted);}

  .guideline-box{
    background:#1a1826; border:1px solid var(--line); border-radius:10px;
    padding:14px 16px; font-size:13px; color:var(--muted); margin-bottom:22px;
  }
  .check-row{display:flex; align-items:flex-start; gap:10px; margin-bottom:24px; font-size:13.5px; color:var(--muted);}
  .check-row input{margin-top:3px; accent-color:var(--teal);}

  .selected-summary{
    display:flex; justify-content:space-between; align-items:center;
    background:#1a1826; border:1px solid var(--line); border-radius:10px;
    padding:14px 16px; margin-bottom:22px; font-size:14px;
  }
  .selected-summary .sp{font-family:'Bungee'; color:var(--teal);}

  .submit-state{display:none; text-align:center; padding:20px 10px;}
  .submit-state.active{display:block;}
  .submit-state .icon{
    width:54px; height:54px; border-radius:50%; margin:0 auto 18px;
    background:linear-gradient(160deg, var(--purple), var(--teal));
    display:flex; align-items:center; justify-content:center; font-size:24px; color:#0a0912;
  }
  .submit-state h3{font-size:19px;}
  .submit-state p{color:var(--muted); font-size:14.5px; margin-top:10px; max-width:420px; margin-left:auto; margin-right:auto;}

  /* ---------- PAYMENT / MINT PROOF ---------- */
  .pay-block{
    background:#1a1826; border:1px solid var(--line); border-radius:14px;
    padding:22px; margin:26px 0;
  }
  .pay-head{display:flex; align-items:center; justify-content:space-between; margin-bottom:16px;}
  .pay-head .ptitle{font-size:14px; font-weight:700;}
  .pay-head .pamount{font-family:'Bungee'; font-size:17px; color:var(--teal);}
  .chain-select{
    width:100%; background:#141220; border:1px solid var(--line); border-radius:10px;
    padding:12px 14px; color:var(--text); font-family:'Space Grotesk'; font-size:14.5px; margin-bottom:16px;
  }
  .addr-row{
    display:flex; align-items:center; gap:10px;
    background:#141220; border:1px solid var(--line); border-radius:10px;
    padding:12px 14px; margin-bottom:8px;
  }
  .addr-row code{
    flex:1; font-size:12.5px; color:var(--chrome); word-break:break-all; font-family:monospace;
  }
  .copy-btn{
    background:#241f38; border:1px solid var(--line); color:var(--text);
    font-size:12px; padding:8px 12px; border-radius:8px; cursor:pointer; flex-shrink:0;
  }
  .copy-btn.copied{color:var(--teal); border-color:var(--teal);}
  .pay-warn{font-size:12px; color:var(--amber); margin-bottom:18px;}
  .pay-warn.setup{color:var(--muted);}

  /* ---------- ROUTE MAP ---------- */
  .map-card{
    background:var(--panel); border:1px solid var(--line); border-radius:18px;
    padding:20px 20px 26px; overflow:hidden;
  }
  .map-note{font-size:12px; color:var(--muted); text-align:center; margin-top:10px;}
  .map-legend{
    display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:22px;
  }
  @media (max-width:760px){ .map-legend{grid-template-columns:repeat(2,1fr);} }
  .leg-item{display:flex; align-items:center; gap:9px; font-size:12.5px; color:var(--muted);}
  .leg-dot{
    width:20px; height:20px; border-radius:50%; flex-shrink:0;
    background:linear-gradient(160deg, var(--purple), var(--teal));
    color:#0a0912; font-family:'Bungee'; font-size:10px;
    display:flex; align-items:center; justify-content:center;
  }
  @keyframes pulseDot{
    0%{ box-shadow:0 0 0 0 rgba(255,181,69,0.55); }
    70%{ box-shadow:0 0 0 14px rgba(255,181,69,0); }
    100%{ box-shadow:0 0 0 0 rgba(255,181,69,0); }
  }
  .live-dot{ animation:pulseDot 2s infinite; }

  /* ---------- map polish: tooltip, zoom controls, animated route ---------- */
  .map-card{ position:relative; }
  .map-tooltip{
    position:absolute; pointer-events:none; z-index:10;
    background:#0a0912; border:1px solid var(--teal); border-radius:10px;
    padding:10px 13px; font-family:'Space Grotesk'; font-size:12.5px;
    box-shadow:0 8px 24px rgba(0,0,0,0.5); opacity:0; transition:opacity .12s ease;
    max-width:200px;
  }
  .map-tooltip.show{ opacity:1; }
  .map-tooltip .tt-name{ font-weight:700; color:var(--text); font-size:13.5px; }
  .map-tooltip .tt-mile{ color:var(--teal); font-family:'Bungee'; font-size:11px; margin-top:2px; }
  .map-tooltip .tt-blurb{ color:var(--muted); font-size:11.5px; margin-top:5px; line-height:1.4; }

  .map-controls{
    position:absolute; top:16px; right:16px; z-index:5;
    display:flex; flex-direction:column; gap:6px;
  }
  .map-ctrl-btn{
    width:30px; height:30px; border-radius:8px; border:1px solid var(--line);
    background:#1a1826; color:var(--text); font-family:'Bungee'; font-size:14px;
    cursor:pointer; display:flex; align-items:center; justify-content:center;
  }
  .map-ctrl-btn:hover{ border-color:var(--teal); }
  .map-hint{
    position:absolute; bottom:14px; left:50%; transform:translateX(-50%);
    font-size:11px; color:var(--muted); background:rgba(10,9,18,0.7);
    padding:5px 11px; border-radius:20px; pointer-events:none;
  }
  .state-label{ font-family:'Space Grotesk'; font-weight:600; letter-spacing:0.04em; pointer-events:none; }
  @keyframes dashMove{ to{ stroke-dashoffset:-34; } }
  .route-animated{ animation:dashMove 1.1s linear infinite; }

  /* ---------- smoother interactive states ---------- */
  .btn-primary, .btn-ghost, .nav-cta, .connect-btn, .copy-btn, .pkg-card, .trait-card, .upload-zone{
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  }
  .btn-primary:hover, .nav-cta:hover{ transform:translateY(-2px); box-shadow:0 10px 26px rgba(155,107,255,0.3); }
  .btn-ghost:hover{ transform:translateY(-2px); border-color:var(--teal); }
  .connect-btn:hover{ transform:translateY(-1px); box-shadow:0 8px 24px rgba(51,224,196,0.25); }
  .stat, .stop, .pkg-card, .trait-card{ transition: background .2s ease; }

  /* ---------- MINT SHOWCASE ---------- */
  .showcase{
    display:grid; grid-template-columns:1.05fr 1fr;
    background:var(--panel); border:1px solid var(--line); border-radius:20px;
    overflow:hidden; margin-bottom:40px;
  }
  @media (max-width:820px){ .showcase{grid-template-columns:1fr;} }
  .showcase-art{
    position:relative; padding:34px;
    background:radial-gradient(ellipse at 50% 25%, rgba(155,107,255,0.22), transparent 62%), linear-gradient(180deg,#181527,#0c0b14);
    display:flex; align-items:center; justify-content:center;
  }
  .showcase-badge{
    position:absolute; top:18px; left:18px;
    background:#0a0912; color:var(--teal); font-family:'Bungee'; font-size:11px;
    padding:7px 11px; border-radius:7px; border:1px solid var(--line);
  }
  .showcase-attrs{padding:34px;}
  .showcase-attrs h3{font-size:17px; font-weight:700; font-family:'Space Grotesk'; margin-bottom:4px;}
  .showcase-attrs .sub{font-size:13px; color:var(--muted); margin-bottom:22px;}
  .attr-row{
    display:flex; justify-content:space-between; align-items:center;
    padding:13px 0; border-bottom:1px solid var(--line);
  }
  .attr-row:last-child{border-bottom:none;}
  .attr-cat{font-size:11.5px; color:var(--muted);}
  .attr-val{font-size:14.5px; font-weight:700; margin-top:2px;}
  .attr-rarity{font-family:'Bungee'; font-size:12px; color:var(--teal); white-space:nowrap;}

  /* ---------- rarity meter on category cards ---------- */
  .rarity-track{height:6px; border-radius:3px; background:#211f31; margin-top:12px; overflow:hidden;}
  .rarity-fill{height:100%; border-radius:3px; background:linear-gradient(90deg, var(--purple), var(--teal));}
  .rarity-foot{display:flex; justify-content:space-between; font-size:11px; color:var(--muted); margin-top:6px;}

  /* ---------- shuffle control ---------- */
  .shuffle-btn{
    display:inline-flex; align-items:center; gap:8px;
    background:#1a1826; border:1px solid var(--line); color:var(--text);
    font-family:'Space Grotesk'; font-size:13.5px; font-weight:600;
    padding:10px 16px; border-radius:10px; cursor:pointer; margin-top:18px;
  }
  .shuffle-btn:hover{ border-color:var(--teal); }
  .shuffle-btn svg{ width:15px; height:15px; transition:transform .4s ease; }
  .shuffle-btn.spinning svg{ transform:rotate(180deg); }
  .attr-row{ transition:background .2s ease; }
  .attr-row.flash{ background:rgba(51,224,196,0.08); }

  /* ---------- stop <-> map interaction ---------- */
  .stop{ cursor:pointer; }
  .stop:hover, .stop.active{ background:#141220; }
  .stop.active{ border-left:3px solid var(--teal); padding-left:13px; }
  .stop .mile{ transition:color .2s ease; }
  .stop.active .mile{ color:var(--teal); }
  .pin-target{ cursor:pointer; }

  /* ---------- nav scrollspy ---------- */
  .navlinks a.active{ color:var(--teal); }

  /* ---------- FAQ ---------- */
  .faq-list{ max-width:760px; }
  .faq-item{ border-bottom:1px solid var(--line); }
  .faq-q{
    display:flex; align-items:center; justify-content:space-between;
    padding:20px 4px; cursor:pointer; font-size:15.5px; font-weight:600;
  }
  .faq-q .plus{ font-family:'Bungee'; font-size:18px; color:var(--teal); transition:transform .25s ease; flex-shrink:0; margin-left:16px; }
  .faq-item.open .plus{ transform:rotate(45deg); }
  .faq-a{
    max-height:0; overflow:hidden; transition:max-height .3s ease;
    font-size:14.5px; color:var(--muted); padding:0 4px;
  }
  .faq-item.open .faq-a{ max-height:220px; padding-bottom:20px; }

  /* ---- slim hero (no embedded video) ---- */
  .hero-visual{ position:relative; min-height:320px; aspect-ratio:16/7; overflow:hidden; }
  .hero-banner{ width:100%; height:100%; object-fit:cover; display:block; }
  .hero-visual-shade{ position:absolute; inset:0; background:linear-gradient(180deg,transparent 40%,rgba(7,7,11,.55)); pointer-events:none; }
  @media (max-width:700px){ .hero-visual{ aspect-ratio:16/10; min-height:220px; } }

  /* ---- mobile nav ---- */
  .nav-toggle{
    display:none; width:40px; height:40px; border-radius:10px;
    border:1px solid var(--line); background:#1a1826; color:var(--text);
    align-items:center; justify-content:center; cursor:pointer;
  }
  .nav-toggle span{ display:block; width:16px; height:1.5px; background:var(--text); position:relative; }
  .nav-toggle span:before, .nav-toggle span:after{
    content:''; position:absolute; left:0; width:16px; height:1.5px; background:var(--text);
  }
  .nav-toggle span:before{ top:-5px; } .nav-toggle span:after{ top:5px; }
  @media (max-width:820px){
    .nav-toggle{ display:flex; }
    .navlinks{
      display:none; position:absolute; top:68px; left:0; right:0;
      flex-direction:column; gap:0; background:rgba(7,7,11,.96);
      border-bottom:1px solid var(--line); padding:8px 24px 16px;
    }
    .navlinks.open{ display:flex; }
    .navlinks a{ padding:12px 0; border-bottom:1px solid var(--line); }
    header{ position:sticky; }
    nav.wrap{ position:relative; }
    .hero{ padding:48px 0 28px; }
    .hero h1{ font-size:36px; }
    .hero p.lede{ font-size:16px; }
    .hero-ctas{ flex-direction:column; }
    .hero-ctas a{ text-align:center; }
    .gauge-card, .sponsor-panel, .map-card{ padding:20px; }
    .qty-row, .form-two{ grid-template-columns:1fr; }
    .map-legend{ grid-template-columns:1fr 1fr; }
    .map-controls{ top:10px; right:10px; }
    .stop{ grid-template-columns:64px 1fr; gap:14px; }
    .foot-row{ flex-direction:column; align-items:flex-start; }
  }

  /* ---- live mint state ---- */
  .mint-live-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:8px; }
  .live-pill{
    display:inline-flex; align-items:center; gap:7px;
    background:#14241f; border:1px solid #1f4a40; color:var(--teal);
    font-size:12px; font-weight:600; padding:6px 10px; border-radius:999px;
  }
  .live-pill i{ width:7px; height:7px; border-radius:50%; background:var(--teal); box-shadow:0 0 0 4px rgba(51,224,196,.18); }
  .mint-phase{ font-size:12.5px; color:var(--muted); }
  .lmnft-fallback{ margin-top:14px; font-size:13px; color:var(--muted); }
  .lmnft-fallback a{ color:var(--teal); }

  /* countdown already styled; make sure it stacks on phone */
  @media (max-width:520px){
    .countdown{ gap:6px; }
    .cbox .n{ font-size:18px; }
  }


  .phase-table{ margin:16px 0 6px; display:flex; flex-direction:column; gap:6px; }
  .phase-row{
    display:grid; grid-template-columns:1fr auto auto; gap:10px; align-items:center;
    background:#1a1826; border:1px solid var(--line); border-radius:10px;
    padding:9px 12px; font-size:13px;
  }
  .phase-row span{ font-family:'Bungee'; color:var(--teal); font-size:12px; }
  .phase-row em{ font-style:normal; color:var(--muted); font-size:11.5px; }
  .wallet-hint{ font-size:13px; color:var(--muted); margin:12px 0 0; }
  .mint-go{ display:block; text-align:center; margin-top:18px; }

  .hero-chip{
    position:absolute; text-shadow:0 2px 8px rgba(0,0,0,0.8); z-index:2;
  }
  .hero-chip-tl{ top:14px; left:16px; }
  .hero-chip-br{ bottom:14px; right:16px; text-align:right; }
  .chip-title{ font-family:'Bungee'; font-size:18px; color:#f3f1f8; }
  .chip-sub{ font-family:'Space Grotesk'; font-size:12px; color:#e4e1ee; }

  .mobile-mintbar{
    display:none;
    position:fixed; left:0; right:0; bottom:0; z-index:60;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom));
    background:rgba(7,7,11,.92);
    backdrop-filter:blur(12px);
    border-top:1px solid var(--line);
  }
  .mobile-mintbar a{
    display:block; text-align:center; font-weight:700;
    background:linear-gradient(90deg, var(--purple), var(--teal));
    color:#0a0912; padding:13px 16px; border-radius:10px; text-decoration:none;
  }

  #usMap{ overflow:hidden; touch-action:none; }
  img{ height:auto; }

  @media (max-width:820px){
    section{ padding:56px 0; }
    .sec-head{ margin-bottom:28px; }
    .showcase-art, .showcase-attrs{ padding:20px; }
    .trait-grid{ grid-template-columns:1fr 1fr; gap:12px; }
    .pkg-grid{ gap:10px; margin-bottom:28px; }
    .pkg-card{ padding:16px 14px; }
    .pkg-card .pprice{ font-size:18px; }
    .phase-row{ grid-template-columns:1fr; gap:2px; }
    .addr-row{ flex-wrap:wrap; }
    .copy-btn{ width:100%; }
    .map-hint{ display:none; }
    .map-legend{ font-size:12px; }
    .mobile-mintbar{ display:block; }
    body{ padding-bottom:76px; }
    .nav-cta{ display:none; } /* bar handles mint CTA */
    .hero-chip-tl, .hero-chip-br{ top:auto; }
    .hero-chip-tl{ top:10px; left:10px; }
    .hero-chip-br{ bottom:10px; right:10px; }
    .chip-title{ font-size:14px; }
    .gauge-top{ flex-direction:column; gap:8px; align-items:flex-start; }
    .gauge-top .price{ font-size:24px; }
    footer{ padding:28px 0 20px; }
    .foot-links{ flex-wrap:wrap; gap:12px 18px; }
    .faq-item.open .faq-a{ max-height:320px; }
    .stat{ padding:16px 14px; }
    .stat .num{ font-size:20px; }
  }
  @media (max-width:420px){
    .trait-grid{ grid-template-columns:1fr; }
    .pkg-grid{ grid-template-columns:1fr; }
    .hero h1{ font-size:30px; }
  }
  @media (prefers-reduced-motion: reduce){
    .route-animated, .live-dot, .live-pill i{ animation:none; }
    html{ scroll-behavior:auto; }
  }


  .map-head{
    display:flex; justify-content:space-between; align-items:flex-end; gap:20px;
    margin:48px 0 16px; flex-wrap:wrap;
  }
  .map-head h3{ font-family:'Space Grotesk'; font-size:20px; font-weight:700; margin-top:6px; }
  .map-progress{ min-width:220px; flex:1; max-width:340px; }
  .map-progress-label{ font-size:12.5px; color:var(--muted); margin-bottom:8px; }
  .map-progress-track{ height:8px; border-radius:99px; background:#1c1a2b; overflow:hidden; }
  .map-progress-fill{ height:100%; width:0; background:linear-gradient(90deg, var(--purple), var(--teal)); transition:width .4s ease; }
  #usMap{ width:100%; line-height:0; min-height:280px; background:#0b0a13; }
  .map-hud{
    position:absolute; left:16px; bottom:16px; z-index:6;
    background:rgba(10,9,18,.82); border:1px solid var(--line); border-radius:12px;
    padding:10px 14px; backdrop-filter:blur(8px);
  }
  .map-hud b{ display:block; font-family:'Bungee'; color:var(--teal); font-size:13px; }
  .map-hud span{ font-size:13px; color:var(--text); }
  .stop-chips{
    display:flex; gap:8px; overflow-x:auto; padding:14px 2px 6px;
    -webkit-overflow-scrolling:touch; scrollbar-width:thin;
  }
  .stop-chip{
    flex:0 0 auto; display:flex; align-items:center; gap:8px;
    background:var(--panel); border:1px solid var(--line); color:var(--text);
    border-radius:999px; padding:8px 12px 8px 8px; cursor:pointer;
    font-family:'Space Grotesk'; font-size:12.5px;
  }
  .stop-chip b{
    width:22px; height:22px; border-radius:50%;
    background:linear-gradient(160deg, var(--purple), var(--teal));
    color:#0a0912; font-family:'Bungee'; font-size:10px;
    display:flex; align-items:center; justify-content:center;
  }
  .stop-chip.active{ border-color:var(--teal); box-shadow:0 0 0 1px var(--teal); }
  @media (max-width:820px){
    .map-head{ margin-top:32px; }
    .map-hud{ left:10px; bottom:10px; padding:8px 10px; }
    .map-hint{ display:none; }
  }


  .live-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:36px; align-items:center; }
  @media (max-width:860px){ .live-grid{ grid-template-columns:1fr; } }
  .live-frame{
    position:relative; aspect-ratio:16/9; border-radius:18px; overflow:hidden;
    border:1px solid var(--line);
    background:
      radial-gradient(ellipse at 30% 20%, rgba(155,107,255,.18), transparent 55%),
      linear-gradient(180deg,#161326,#0b0a13);
  }
  .live-frame img{ width:100%; height:100%; object-fit:cover; }
  .live-placeholder{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:28px; }
  .live-placeholder-title{ font-family:'Bungee'; font-size:18px; margin:10px 0 8px; }
  .live-placeholder p{ color:var(--muted); font-size:14px; max-width:360px; margin:0; }
  .live-eq{ display:flex; gap:4px; height:22px; align-items:flex-end; }
  .live-eq i{ width:4px; background:var(--teal); display:block; animation:eq 1s ease-in-out infinite; }
  .live-eq i:nth-child(1){ height:8px; animation-delay:.0s; }
  .live-eq i:nth-child(2){ height:18px; animation-delay:.15s; }
  .live-eq i:nth-child(3){ height:12px; animation-delay:.3s; }
  .live-eq i:nth-child(4){ height:20px; animation-delay:.45s; }
  @keyframes eq{ 50%{ transform:scaleY(.35); } }
  .on-air{
    position:absolute; top:14px; left:14px;
    display:inline-flex; align-items:center; gap:7px;
    background:#2a1010; border:1px solid #6b1d1d; color:#ff6b6b;
    font-size:12px; font-weight:700; padding:6px 10px; border-radius:999px;
  }
  .on-air i{ width:7px; height:7px; border-radius:50%; background:#ff4d4d; box-shadow:0 0 0 4px rgba(255,77,77,.2); }
  .live-status{ font-size:13px; color:var(--amber); font-weight:600; margin-bottom:8px; }
  .live-status.on{ color:var(--teal); }
  .live-copy h3{ font-family:'Space Grotesk'; font-size:22px; font-weight:700; margin:0 0 10px; }
  .live-copy p{ color:var(--muted); margin:0 0 18px; }
  .live-copy .btn-primary{ display:inline-block; }
  .live-ca{ font-size:12px; color:var(--muted); margin-top:14px; word-break:break-all; }
  .live-ca code{ color:var(--chrome); }

/* Hero artwork rotator + mint highlight */
.hero-visual { position: relative; overflow: hidden; }
.hero-banner-next {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.hero-banner-next.show { opacity: 1; }
.hero-mint-flag {
  position: absolute; left: 14px; bottom: 14px; z-index: 4;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px; text-decoration: none;
  background: rgba(10,9,18,.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(51,224,196,.45);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .18s ease, border-color .18s ease;
}
.hero-mint-flag:hover { transform: translateY(-2px); border-color: #33e0c4; }
.hero-mint-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #33e0c4;
  box-shadow: 0 0 0 0 rgba(51,224,196,.7); animation: mintPulse 1.8s infinite;
}
@keyframes mintPulse {
  70% { box-shadow: 0 0 0 12px rgba(51,224,196,0); }
  100% { box-shadow: 0 0 0 0 rgba(51,224,196,0); }
}
.hero-mint-copy { display: flex; flex-direction: column; line-height: 1.2; }
.hero-mint-copy b {
  font-family: 'Bungee', sans-serif; font-size: 12px; letter-spacing: .06em;
  color: #f3f1f8; text-transform: uppercase;
}
.hero-mint-copy i { font-style: normal; font-size: 11px; color: #a9a3c4; }
.hero-mint-go {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #33e0c4;
  text-transform: uppercase; white-space: nowrap;
}
.hero-frame-dots {
  position: absolute; right: 14px; bottom: 16px; z-index: 4;
  display: flex; gap: 6px;
}
.hero-frame-dot {
  width: 7px; height: 7px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 0; background: rgba(243,241,248,.32); transition: background .2s ease, transform .2s ease;
}
.hero-frame-dot.active { background: #33e0c4; transform: scale(1.35); }
@media (max-width: 640px) {
  .hero-mint-go { display: none; }
  .hero-frame-dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-banner-next { transition: none; }
  .hero-mint-dot { animation: none; }
}

/* Performance + smoothness */
html { scroll-behavior: smooth; }
section { content-visibility: auto; contain-intrinsic-size: 1px 900px; }
section.hero, .nav, header { content-visibility: visible; contain-intrinsic-size: none; }
img { max-width: 100%; }
.map-card, .hero-visual { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-animated { animation: none !important; }
}

/* ---- mint tracker ---- */
.mint-tracker{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;}
.mint-tracker .cbox{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:14px 12px;text-align:center;}
.mint-tracker .n{font-family:'Bungee',sans-serif;font-size:26px;color:#33e0c4;line-height:1.1;}
.mint-tracker .l{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#a9a3c4;margin-top:4px;}
.mint-updated{font-size:11.5px;color:#a9a3c4;margin-top:8px;}

/* ---- secondary market ---- */
.market-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-bottom:22px;}
.market-link{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-radius:14px;text-decoration:none;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);transition:border-color .18s ease,transform .18s ease;}
.market-link:hover{border-color:#33e0c4;transform:translateY(-2px);}
.market-link b{font-family:'Bungee',sans-serif;font-size:15px;color:#f3f1f8;letter-spacing:.04em;}
.market-link span{font-size:12.5px;color:#a9a3c4;}
.market-note{font-size:13px;color:#a9a3c4;margin-bottom:14px;}
.market-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;}
.market-card{display:flex;flex-direction:column;text-decoration:none;border-radius:14px;overflow:hidden;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);transition:border-color .18s ease,transform .18s ease;}
.market-card:hover{border-color:#33e0c4;transform:translateY(-2px);}
.market-card img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;background:#14121f;}
.market-noimg{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;font-size:12px;color:#a9a3c4;background:#14121f;}
.market-meta{padding:10px 12px 4px;display:flex;flex-direction:column;gap:2px;}
.market-meta b{font-size:13px;color:#f3f1f8;}
.market-meta span{font-size:11.5px;color:#a9a3c4;}
.market-go{padding:6px 12px 12px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#33e0c4;}

/* ---- back to home ---- */
.back-home{position:fixed;left:16px;bottom:16px;z-index:60;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;text-decoration:none;font-size:12.5px;font-weight:700;color:#f3f1f8;background:rgba(10,9,18,.82);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.14);box-shadow:0 10px 30px rgba(0,0,0,.45);transition:border-color .18s ease,transform .18s ease;}
.back-home:hover{border-color:#33e0c4;transform:translateY(-2px);}
@media (max-width:640px){.back-home{left:12px;bottom:72px;padding:9px 12px;font-size:12px;}}

/* ---- wallet gate on the sponsor form ---- */
.wallet-gate{border:1px solid var(--line);background:var(--panel);border-radius:18px;padding:28px 22px;text-align:center;margin-bottom:22px;}
.wallet-gate .wg-inner{max-width:620px;margin:0 auto;}
.wg-lock{font-size:26px;margin-bottom:8px;}
.wallet-gate h3{margin:0 0 8px;font-size:22px;}
.wallet-gate p{margin:0 0 16px;color:var(--muted);font-size:14.5px;line-height:1.55;}
.wg-btn{width:100%;max-width:340px;margin:0 auto;}
.wg-status{min-height:18px;margin-top:10px;font-size:13px;color:var(--muted);}
.wg-mints{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px;}
.wg-mints img{width:58px;height:58px;object-fit:cover;border-radius:10px;border:1px solid var(--line);}
.wg-alt{margin-top:16px;}
.wg-link{background:none;border:0;color:#33e0c4;font:inherit;font-size:13px;cursor:pointer;text-decoration:underline;}
.wg-manual{display:none;gap:8px;margin-top:12px;justify-content:center;flex-wrap:wrap;}
.wg-manual.open{display:flex;}
.wg-manual input{flex:1 1 260px;min-width:0;padding:12px 14px;border-radius:10px;border:1px solid var(--line);background:rgba(0,0,0,.25);color:inherit;font-size:14px;}
.wg-note{margin-top:14px !important;font-size:12.5px;}
.wallet-gate.unlocked .wg-lock{display:none;}
#sponsorGated.gated{display:none;}
#sponsorGated.gated.open{display:block;}
@media(max-width:560px){
  .wallet-gate{padding:22px 16px;}
  .wg-btn{max-width:none;}
}

/* Sizes the connected wallet didn't mint stay locked out */
.pkg-card.locked{ opacity:.42; filter:grayscale(.6); cursor:not-allowed; }
.pkg-card.locked:hover{ transform:none; border-color:var(--line); }
.pkg-lock{ margin-top:10px; font-size:11.5px; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
.pkg-card:not(.locked) .pkg-lock{ color:var(--teal); }

/* multi-wallet picker */
.wg-wallets{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:4px 0 14px;}
.wg-wallet{display:inline-flex;align-items:center;gap:9px;padding:11px 16px;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:inherit;font:inherit;font-size:14.5px;font-weight:600;cursor:pointer;text-decoration:none;transition:border-color .15s,background .15s,transform .15s;}
.wg-wallet:hover{border-color:var(--accent,#3ddad7);background:rgba(255,255,255,.08);transform:translateY(-1px);}
.wg-wallet:disabled,.wg-wallet.busy{opacity:.6;cursor:progress;transform:none;}
.wg-wallet img{width:22px;height:22px;border-radius:6px;display:block;}
.wg-wallet .wg-dot{width:10px;height:10px;border-radius:50%;background:var(--accent,#3ddad7);display:block;}
@media (max-width:560px){.wg-wallets{flex-direction:column;}.wg-wallet{width:100%;justify-content:center;}}
.upload-zone.dragging{border-color:var(--accent,#3ddad7);background:rgba(61,218,215,.08);}
