/* =========================================================
   ValoraBTC Protocol — Styles
   - Dark institutional palette
   - Card system (solid + glass)
   - Grid hero background
   - Ember / fire tab underline (refined)
   - Scroll reveals + subtle motion
   ========================================================= */

/* ---------------------------
   CSS Reset-ish
---------------------------- */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  
  background:#070A0F;
  color:#E9EEF7;
  line-height:1.55;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}

:root{
  --bg:#070A0F;
  --bg2:#0A0F18;
  --card:#0E1422;
  --card2:#0B111D;
  --text:#E9EEF7;
  --muted:#A6B1C5;
  --line:rgba(255,255,255,.08);
  --gold:#D4A547;
  --gold2:#F2C164;
  --cool:#6CB8FF;
  --warm:#FFB45E;

  --radius:18px;
  --radius2:24px;

  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --shadow2: 0 18px 50px rgba(0,0,0,.45);

  /* Global font stack (multilingual safe) */
  --font-ui: "Inter",
             "Noto Sans Devanagari",
             "Noto Sans SC",
             system-ui,
             -apple-system,
             BlinkMacSystemFont,
             "Segoe UI",
             Roboto,
             Arial,
             sans-serif;
}

html, body{
  font-family: var(--font-ui);
}


/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ---------------------------
   Layout helpers
---------------------------- */
.container{
  width:min(1160px, calc(100% - 48px));
  margin:0 auto;
}
.section{
  padding:86px 0;
  position:relative;
}
.section--alt{
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
}
.section__head{
  max-width:760px;
  margin-bottom:26px;
}
h1,h2,h3{line-height:1.15;margin:0 0 10px}
h2{font-size:40px;letter-spacing:-.02em}
h3{font-size:22px;letter-spacing:-.01em}
p{margin:0 0 14px}
.lead{color:var(--muted);font-size:18px}
.muted{color:var(--muted)}
.accent{color:var(--gold)}
.kw{
  color:#fff;
  border-bottom:1px solid rgba(212,165,71,.55);
}
.kw--link{ cursor:pointer; }
.kw--link:hover{ color:rgba(233,238,247,1); border-bottom-color: rgba(227,28,96,.85); }
.kw--link:focus-visible{ outline:2px solid rgba(227,28,96,.55); outline-offset:4px; border-radius:6px; }

/* ---------------------------
   Top ticker
---------------------------- */
.top-ticker{
  position:sticky;
  top:0;
  z-index:9999;
  height:30px;
  background:rgba(7,10,15,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.top-ticker__inner{
  height:100%;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.top-ticker__track{
  display:flex;
  gap:36px;
  white-space:nowrap;
  will-change:transform;
  font-size:12px;
  letter-spacing:.02em;
  color:rgba(233,238,247,.88);
  padding-left:24px;
}
.ticker-item{
  display:flex;
  align-items:center;
  gap:10px;
}
.ticker-dot{
  width:6px;height:6px;border-radius:50%;
  background:rgba(212,165,71,.85);
  box-shadow:0 0 14px rgba(242,193,100,.35);
}

/* ---------------------------
   Header
---------------------------- */
/* Brand logo image (replaces the square mark) */
.brand__logo{
  width:auto;
  height:64px;
  display:block;
  object-fit:contain;
}


/* Header (original behavior): sticky under ticker */
.header{
  position:sticky;
  top:30px; /* under ticker */
  z-index:999;
  border-bottom:1px solid rgba(255,255,255,.06);
  background:rgba(7,10,15,.72);
  backdrop-filter: blur(12px);
}
.header__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand__mark{
  width:30px;height:30px;border-radius:10px;
  background:
    radial-gradient(circle at 30% 30%, rgba(242,193,100,.65), transparent 55%),
    linear-gradient(135deg, rgba(212,165,71,.35), rgba(108,184,255,.12));
  border:1px solid rgba(212,165,71,.22);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.brand__text{
  font-weight:700;
  letter-spacing:-.02em;
}
.nav{
  display:flex;
  align-items:center;
  gap:20px;
  font-size:14px;
  color:rgba(233,238,247,.86);
}
.nav a{
  opacity:.9;
  transition:opacity .2s ease, transform .2s ease;
}
.nav a:hover{opacity:1;transform:translateY(-1px)}
.header__cta{display:flex;gap:10px;align-items:center}

/* Mobile */
.hamburger{
  display:none;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  border-radius:12px;
  padding:10px;
  cursor:pointer;
}
.hamburger span{
  display:block;width:18px;height:2px;background:rgba(233,238,247,.85);
  margin:4px 0;border-radius:2px;
}
@media (max-width: 920px){
  .nav,.header__cta{display:none}
  .hamburger{display:block}
}

/* Mobile Drawer */
/* Mobile Drawer — above everything (ticker/header) */
.mobile-drawer{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999999; /* must beat ticker/header */
}

.mobile-drawer.is-open{ display:block; }

.mobile-drawer__backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.82);
  z-index: 1;
}

.mobile-drawer__panel{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(360px, 92vw);
  z-index: 2;

  background:
    radial-gradient(600px 400px at 20% 10%, rgba(242,193,100,.08), transparent 55%),
    radial-gradient(520px 360px at 80% 30%, rgba(108,184,255,.06), transparent 60%),
    rgba(10,15,24,.98);

  border-left: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow2);
  padding: 18px;

  /* Key change */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}


.mobile-drawer__top{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:14px;
}
.mobile-drawer__title{font-weight:700}
.mobile-drawer__close{
  border:0;background:transparent;color:rgba(233,238,247,.9);
  font-size:18px;cursor:pointer;
}
/* Scroll only the links list if needed */
.mobile-drawer__links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.mobile-drawer__links a{
  padding:12px 10px;border-radius:12px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.02);
}
/* CTA pinned */
.mobile-drawer__cta{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}


/* ---------------------------
   Buttons
---------------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 14px;
  border-radius:14px;
  font-weight:600;
  font-size:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease;
  user-select:none;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(0,0,0,.35)}
.btn--primary{
  background:linear-gradient(180deg, rgba(242,193,100,.95), rgba(212,165,71,.92));
  border-color:rgba(242,193,100,.35);
  color:#0B0E12;
}
.btn--ghost{
  background:rgba(255,255,255,.02);
}
.btn--full{width:100%}
.btn--disabled{
  opacity:.55;
  pointer-events:none;
  filter:saturate(.7);
}
.btn-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
}


#headerWalletBtn,
.js-wallet-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;

  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(233,238,247,.95);

  transition:
    background .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    transform .15s ease;
}

#headerWalletBtn:hover,
.js-wallet-btn:hover {
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

#headerWalletBtn[data-state="connected"],
.js-wallet-btn[data-state="connected"] {
  background: rgba(212,165,71,.18);
  border-color: rgba(212,165,71,.45);
  color: #f3e7c3;

  box-shadow:
    0 0 0 1px rgba(212,165,71,.15),
    0 8px 24px rgba(212,165,71,.15);
}

#headerWalletBtn[data-state="connected"]:hover,
.js-wallet-btn[data-state="connected"]:hover {
  background: rgba(212,165,71,.25);
}

#headerWalletBtn[data-state="disconnected"],
.js-wallet-btn[data-state="disconnected"] {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}


/* ---------------------------
   Cards
---------------------------- */
.card{
  border-radius:var(--radius2);
  padding:22px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.card--solid{background:linear-gradient(180deg, rgba(14,20,34,.95), rgba(10,15,24,.92))}
.card--glass{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  backdrop-filter: blur(10px);
}
.card--outline{
  background:transparent;
}
.card__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(233,238,247,.9);
}
.badge--warm{
  border-color:rgba(242,193,100,.25);
  background:rgba(212,165,71,.14);
}
.badge--cool{
  border-color:rgba(108,184,255,.25);
  background:rgba(108,184,255,.10);
}
.card__chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.chip{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.18);
  color:rgba(233,238,247,.82);
}
.link{color:rgba(242,193,100,.92);font-weight:600}
.link:hover{text-decoration:underline}

/* Mini cards */
.mini-card{
  border-radius:var(--radius);
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.mini-card strong{display:block;margin-bottom:6px}
.mini-card span{color:var(--muted)}

/* Presale overview dynamic values */
.ov-dynamic{
  font-weight:700;
}

/* Disconnected state: breathing white -> red */
.ov-connect{
  animation: ovPulse 1.4s ease-in-out infinite;
  color: rgba(233,238,247,.88);
}

@keyframes ovPulse{
  0%   { color: rgba(233,238,247,.88); }
  50%  { color: rgba(255, 90, 90, .95); }
  100% { color: rgba(233,238,247,.88); }
}

/* Connected state */
.ov-connected{
  animation: none;
  color: rgba(233,238,247,.9);
}


/* ---------------------------
   Grid utilities
---------------------------- */
.grid{display:grid;gap:16px}
.grid--2{grid-template-columns:repeat(2, 1fr)}
.grid--3{grid-template-columns:repeat(3, 1fr)}
.grid--tight{gap:12px}
@media (max-width: 920px){
  h2{font-size:32px}
  .grid--2,.grid--3{grid-template-columns:1fr}
}

/* ---------------------------
   Hero
---------------------------- */
.hero{
  position:relative;
  padding:90px 0 70px;
  overflow:hidden;
}
.hero__bg{
  position:absolute;inset:0;
  pointer-events:none;
}
.hero__grid{
  position:absolute;inset:-20%;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: translate3d(0,0,0);
  opacity:.10;
  mask-image: radial-gradient(circle at 30% 20%, black 0%, black 35%, transparent 70%);
}
.hero__glow{
  position:absolute;inset:-10%;
  background:
    radial-gradient(circle at 22% 18%, rgba(242,193,100,.20), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(108,184,255,.14), transparent 52%),
    radial-gradient(circle at 40% 70%, rgba(212,165,71,.10), transparent 55%);
  filter: blur(30px);
  opacity:.9;
}
.hero__row{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:start;
}
@media (max-width: 920px){
  .hero{padding:74px 0 60px}
  .hero__row{grid-template-columns:1fr}
}
.pill{
  display:inline-flex;align-items:center;gap:10px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  padding:8px 12px;
  border-radius:999px;
  color:rgba(233,238,247,.86);
  font-size:13px;
  margin-bottom:14px;
}
.dot{
  width:8px;height:8px;border-radius:50%;
  background:rgba(242,193,100,.85);
  box-shadow:0 0 18px rgba(242,193,100,.35);
}
.hero__title{
  font-size:54px;
  letter-spacing:-.03em;
  margin-bottom:14px;
}
@media (max-width: 920px){.hero__title{font-size:44px}}
.hero__subtitle{color:rgba(233,238,247,.82);font-size:18px;max-width:640px}
.hero__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}

/* Hero tabs + ember underline */
.hero-tabs{
  margin-top:22px;
  position:relative;
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.hero-tab{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  color:rgba(233,238,247,.88);
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
  transition:transform .2s ease, border-color .2s ease, background .2s ease;
}
.hero-tab:hover{transform:translateY(-1px)}
.hero-tab.is-active{
  border-color:rgba(242,193,100,.30);
  background:rgba(212,165,71,.14);
}
.hero-tabs__ember{
  position:absolute;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(242,193,100,.0), rgba(242,193,100,.95), rgba(255,180,94,.85), rgba(242,193,100,.0));
  box-shadow:
    0 0 12px rgba(242,193,100,.30),
    0 0 24px rgba(255,180,94,.18);
  bottom:-10px;
  left:0;
  width:40px;
  transform:translateX(0);
  transition: transform .35s ease, width .35s ease;
  filter:saturate(1.1);
}
.hero-panels{margin-top:18px}
.hero-panel{display:none;color:rgba(233,238,247,.86)}
.hero-panel.is-active{display:block}
.microcopy{margin-top:12px;color:rgba(166,177,197,.80);font-size:13px;max-width:660px}

/* Hero right stack */
.stack{display:grid;gap:14px}
.floaty{
  animation: floaty 7s ease-in-out infinite;
}
.floaty:nth-child(2){animation-duration:8.4s}
.floaty:nth-child(3){animation-duration:9.2s}
@keyframes floaty{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}

/* Scroll hint */
.scroll-hint{
  position:absolute;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:8px;
  opacity:.75;
}
.scroll-hint__line{
  width:2px;height:34px;border-radius:99px;
  background:linear-gradient(180deg, rgba(242,193,100,0), rgba(242,193,100,.85), rgba(242,193,100,0));
  animation: pulseLine 1.8s ease-in-out infinite;
}
@keyframes pulseLine{0%,100%{opacity:.45}50%{opacity:1}}
.scroll-hint__text{font-size:12px;color:rgba(233,238,247,.8)}

/* ---------------------------
   Presale widget placeholder
---------------------------- */
.widget-placeholder{
  margin-top:12px;
  border-radius:18px;
  border:1px dashed rgba(255,255,255,.18);
  background:rgba(0,0,0,.20);
  padding:14px;
}
.widget-placeholder__inner{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
.widget-placeholder__icon{
  width:40px;height:40px;border-radius:14px;
  border:1px solid rgba(242,193,100,.22);
  background:rgba(212,165,71,.10);
  display:flex;align-items:center;justify-content:center;
  font-size:20px;color:rgba(242,193,100,.95);
}
.widget-placeholder__title{font-weight:700}
.widget-placeholder__sub{font-size:12px;color:rgba(166,177,197,.85)}
.widget-placeholder__pill{
  font-size:12px;
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(242,193,100,.20);
  background:rgba(242,193,100,.10);
  color:rgba(242,193,100,.92);
}

/* ---------------------------
   Key-Value list
---------------------------- */
.kv{margin-top:12px;border-top:1px solid rgba(255,255,255,.06);padding-top:12px}
.kv__row{
  display:flex;justify-content:space-between;gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.kv__row span{color:rgba(166,177,197,.88)}
.kv__row strong{color:rgba(233,238,247,.92)}

/* Buttons row */
.btnrow{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

/* ---------------------------
   Accordion
---------------------------- */
.accordion{margin-top:12px}
.accordion__btn{
  width:100%;
  display:flex;justify-content:space-between;align-items:center;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  cursor:pointer;
  color:rgba(233,238,247,.90);
}
.accordion__btn:hover{border-color:rgba(255,255,255,.14)}
.accordion__chev{opacity:.8}
.accordion__panel{padding:12px 6px 2px}
.list{margin:0;padding-left:18px;color:rgba(166,177,197,.92)}
.list li{margin:6px 0}

/* ---------------------------
   Stepper
---------------------------- */
.stepper{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}
@media (max-width: 920px){
  .stepper{grid-template-columns:1fr}
}
.step__num{
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(242,193,100,.24);
  background:rgba(212,165,71,.12);
  color:rgba(242,193,100,.95);
  font-weight:800;
  margin-bottom:10px;
}

/* ---------------------------
   Segmented toggle
---------------------------- */
.segmented{
  position:relative;
  display:inline-flex;
  gap:10px;
  padding:6px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  margin-bottom:16px;
}
.segmented__btn{
  border:0;
  background:transparent;
  padding:10px 12px;
  border-radius:12px;
  color:rgba(233,238,247,.85);
  cursor:pointer;
  position:relative;
  z-index:2;
  font-weight:700;
}
.segmented__btn.is-active{color:#0B0E12}
.segmented__pill{
  position:absolute;
  top:6px; bottom:6px;
  left:6px;
  width:80px;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(242,193,100,.95), rgba(212,165,71,.92));
  border:1px solid rgba(242,193,100,.30);
  box-shadow:0 12px 30px rgba(242,193,100,.12);
  transition:transform .3s ease, width .3s ease;
  z-index:1;
}

/* ---------------------------
   Callouts
---------------------------- */
.callout{
  margin-top:18px;
  border-radius:var(--radius2);
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  padding:16px;
  display:flex;gap:12px;align-items:flex-start;
}
.callout__icon{
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(108,184,255,.10);
  border:1px solid rgba(108,184,255,.20);
  color:rgba(108,184,255,.92);
  flex:0 0 auto;
}
.callout__body{
  /* Make room for the fixed header + ticker */
  
color:rgba(233,238,247,.86)}
.note{
  margin-top:14px;
  font-size:13px;
  color:rgba(166,177,197,.88);
}

/* ---------------------------
   Timeline
---------------------------- */
.timeline{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 920px){
  .timeline{grid-template-columns:1fr}
}
.timeline__tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  color:rgba(233,238,247,.86);
  margin-bottom:10px;
}

/* ---------------------------
   Footer
---------------------------- */
.footer{
  padding:44px 0;
  border-top:1px solid rgba(255,255,255,.06);
  background:rgba(7,10,15,.92);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap:18px;
}
@media (max-width: 920px){
  .footer__grid{grid-template-columns:1fr}
}
.footer__col strong{display:block;margin-bottom:10px}
.footer__col a{
  display:block;
  padding:6px 0;
  color:rgba(233,238,247,.84);
  opacity:.92;
}
.footer__col a:hover{text-decoration:underline;opacity:1}
.footer__social{display:flex;gap:12px;margin-top:10px}
.footer__bottom{
  margin-top:18px;
  display:flex;flex-wrap:wrap;gap:10px;
  justify-content:space-between;
  border-top:1px solid rgba(255,255,255,.06);
  padding-top:16px;
}

/* ---------------------------
   Reveal animations
---------------------------- */
.reveal{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.is-in{
  opacity:1;
  transform:translateY(0);
}
.delay-1{transition-delay:.08s}
.delay-2{transition-delay:.16s}
.delay-3{transition-delay:.24s}

/* ---------------------------
   Tilt (subtle)
---------------------------- */
[data-tilt]{
  transform-style:preserve-3d;
  will-change:transform;
}

/* ---------------------------
   Language Switcher
--------------------------- */

.lang-switcher { position: relative; display: inline-block; }

.lang-btn{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  color: inherit;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.lang-btn:hover{
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
  background: rgba(0,0,0,.32);
}

.lang-btn:active{ transform: translateY(0); }

.lang-flag{ font-size: 16px; line-height: 1; }
.lang-label{ font-weight: 600; letter-spacing: .02em; }
.lang-caret{ opacity: .7; }

.lang-menu{
  position:absolute; right:0; top: calc(100% + 10px);
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  display:none;
  z-index: 1000;
}

.lang-switcher.is-open .lang-menu{ display:block; }

.lang-item{
  display:flex; align-items:center; gap:10px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration:none;
  color: inherit;
  border: 1px solid transparent;
  transition: background .12s ease, border-color .12s ease;
}

.lang-item:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

.lang-name{ flex:1; }
.lang-tag{
  font-size: 12px;
  opacity: .75;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.lang-item.is-active{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}


/* =========================================================
   TOKENOMICS (interactive wheel)
   - No PNG needed (SVG generated by JS)
========================================================= */
.tokenomics{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 920px){
  .tokenomics{ grid-template-columns:1fr; }
}

.tokenomics__viz{
  position:relative;
  padding:22px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  overflow:hidden;
}

.tokenomics__spotlight{
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:
    radial-gradient(280px 220px at var(--mx, 50%) var(--my, 30%),
      rgba(227,28,96,.14), rgba(255,255,255,0) 60%);
  filter: blur(10px);
  opacity:.9;
}

.wheel{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:8px 0 6px;
}
.wheel__svg{
  width:min(360px, 100%);
  height:auto;
  display:block;
}

.wheel__ring{
  fill:none;
  stroke: rgba(255,255,255,.06);
  stroke-width: 20;
}

.wheel__slice{
  fill:none;
  stroke-width: 20;
  transform: rotate(-90deg);
  transform-origin: 120px 120px;
  cursor:pointer;
  opacity:.92;
  transition: opacity .18s ease, filter .18s ease;
  filter: saturate(1.05);
}
/* Slice colors (high-contrast)
   We apply colors via slice-* classes (more reliable than style attribute matching). */
.wheel__slice{ stroke: rgba(18, 24, 36, .18); } /* fallback */

.wheel__slice.slice-0{ stroke:#e31c60; } /* Valora pink */
.wheel__slice.slice-1{ stroke:#d4a62b; } /* gold */
.wheel__slice.slice-2{ stroke:#2f6bff; } /* strong blue */
.wheel__slice.slice-3{ stroke:#7b4dff; } /* violet */
.wheel__slice.slice-4{ stroke:#18b7a0; } /* teal */
.wheel__slice.slice-5{ stroke:#ff6a3d; } /* warm orange */
.wheel__slice.slice-6{ stroke:#2c3446; } /* graphite */
.wheel__slice.slice-7{ stroke:#a6b1c4; }
.wheel__slice:hover{ opacity:1; }
.wheel__slice.is-active{
  opacity:1;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.25));
}

.wheel__core{
  fill: rgba(10, 12, 18, .82);
  stroke: rgba(255,255,255,.08);
  stroke-width: 1;
}
.wheel__coreTitle{
  fill: rgba(255,255,255,.92);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 16px;
}
.wheel__coreSub{
  fill: rgba(255,255,255,.62);
  font-weight: 600;
  font-size: 12px;
}

.tokenomics__hint{
  margin-top:10px;
  text-align:center;
  font-size: 13px;
  opacity:.85;
}

.tokenomics__details{
  padding:18px;
}
.tokenomics__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.tokenomics__pct{
  font-size: 18px;
  font-weight: 800;
  letter-spacing:.02em;
}
.tokenomics__purpose{
  margin:10px 0 14px;
  line-height: 1.55;
}
.tokenomics__notes{
  display:grid;
  gap:10px;
  margin-bottom:14px;
}
.tokenomics__notes .note{
  padding:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
}

.tokenomics__list{
  display:grid;
  gap:8px;
  margin-top:6px;
}
.tok-btn{
  width:100%;
  text-align:left;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  color: inherit;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.tok-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.tok-btn.is-active{
  border-color: rgba(227,28,96,.35);
  background: rgba(227,28,96,.06);
}
.tok-dot{
  width:10px;height:10px;border-radius:50%;
  background: rgba(255,255,255,.35);
  flex:0 0 auto;
}
.tok-btn.is-active .tok-dot{ background: rgba(227,28,96,.85); }
.tok-name{ flex: 1; font-weight: 650; }
.tok-pct{ opacity:.85; font-weight: 750; }

/* Simple table styling (if not already present) */
.table-wrap{ margin-top: 18px; overflow:auto; border-radius:16px; }
.table{
  width:100%;
  border-collapse: collapse;
  min-width: 640px;
  background: rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.06);
}
.table th, .table td{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
}
.table th{
  text-align:left;
  font-weight: 750;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.02);
}
.table td{ color: rgba(255,255,255,.76); }
.table tr:last-child td{ border-bottom:0; }

/* =========================================================
   ROADMAP (illustrated vertical timeline)
========================================================= */
.roadmap{
  position:relative;
  padding-left: 22px;
}
.roadmap__path{
  position:absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 12px;
  pointer-events:none;
}
.roadmap__line{
  position:absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.10);
  border-radius: 999px;
}
.roadmap__fill{
  position:absolute;
  left: 5px;
  top: 0;
  width: 2px;
  height: 0%;
  background: rgba(227,28,96,.65);
  border-radius: 999px;
  transition: height .6s ease;
}

/* Fill height based on current phase (1..6) */
.roadmap[data-current="1"] .roadmap__fill{ height: 6%; }
.roadmap[data-current="2"] .roadmap__fill{ height: 22%; }
.roadmap[data-current="3"] .roadmap__fill{ height: 42%; }
.roadmap[data-current="4"] .roadmap__fill{ height: 62%; }
.roadmap[data-current="5"] .roadmap__fill{ height: 82%; }
.roadmap[data-current="6"] .roadmap__fill{ height: 100%; }

.roadmap__list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
}
.roadmap__item{
  position:relative;
  padding-left: 18px;
}
.roadmap__node{
  position:absolute;
  left: -2px;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.roadmap__item.is-done .roadmap__node{
  background: rgba(227,28,96,.25);
  border-color: rgba(227,28,96,.35);
}
.roadmap__item.is-current .roadmap__node{
  background: rgba(227,28,96,.85);
  border-color: rgba(227,28,96,.65);
  box-shadow: 0 10px 26px rgba(227,28,96,.18);
}

.roadmap__card{
  padding: 16px 16px 14px;
}
.roadmap__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 8px;
}
.roadmap__status{
  font-size: 12px;
  font-weight: 750;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(227,28,96,.10);
  border: 1px solid rgba(227,28,96,.22);
  color: rgba(255,255,255,.86);
}

/* Footer link click safety (prevents accidental overlays from blocking) */
.footer{ position:relative; z-index: 1; }
.footer a{ position:relative; z-index: 2; }


/* ---------------------------
   Scroll-to-top button
   - appears after scrolling
   - safe-area aware for mobile
---------------------------- */
.to-top{
  position:fixed;
  right:max(16px, env(safe-area-inset-right));
  bottom:max(16px, env(safe-area-inset-bottom));
  z-index:999;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(7,10,15,.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.92);
  cursor:pointer;
  opacity:0;
  transform: translateY(10px);
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease, filter .18s ease;
}
.to-top:hover{ filter: brightness(1.06); }
.to-top.is-visible{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.to-top svg{ width:18px;height:18px; display:block; }


/* ---------------------------
   Human warmth: gentle illustration + subtle grain
---------------------------- */
.hero__illustration{
  margin-top:16px;
  max-width:560px;
  opacity:.95;
}
.hero__illustration svg{ width:100%; height:auto; display:block; }

body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  opacity:.08; /* very subtle grain */
  mix-blend-mode: overlay;
}
