
:root{
  --bg:#070b14;
  --bg2:#0b1220;
  --text:#e8f0ff;
  --muted:rgba(232,240,255,.72);
  --muted2:rgba(232,240,255,.55);
  --brand:#f5c542;
  --brand2:#22c55e;
  --accent:#2dd4bf;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 26px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
  position: relative;
  isolation: isolate;
}
a{color:inherit; text-decoration:none}
code, pre{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace}
img{max-width:100%; display:block}
.container{width:min(1120px, calc(100% - 40px)); margin-inline:auto;}
.bg-glow{
  position:fixed;
  inset:-220px;
  background:
    radial-gradient(520px 380px at 18% 6%, rgba(34,197,94,.14), transparent 60%),
    radial-gradient(640px 460px at 82% 4%, rgba(245,197,66,.14), transparent 62%),
    radial-gradient(520px 420px at 55% 55%, rgba(45,212,191,.10), transparent 66%);
  background-repeat:no-repeat;
  filter: blur(34px);
  opacity:.75;
  pointer-events:none;
  z-index:0;
  transform: translateZ(0);
  will-change: transform;
}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(7,11,20,.55);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{display:flex; align-items:center; gap:16px; padding:14px 0;}
.brand{display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:14px;}
.brand:hover{background:rgba(255,255,255,.06)}
.brand-logo{width:38px; height:38px}
.brand-logo.sm{width:32px; height:32px}
.brand-name{font-weight:800; letter-spacing:.2px}
.nav{margin-left:8px; display:flex; gap:16px; align-items:center; flex:1;}
.nav a{font-weight:600; color:var(--muted); padding:10px 10px; border-radius:12px;}
.nav a:hover{color:var(--text); background:rgba(255,255,255,.06)}
.header-actions{display:flex; gap:10px; align-items:center;}
.hamburger{
  display:none; width:44px; height:44px;
  background:transparent;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  cursor:pointer;
}
.hamburger span{display:block; height:2px; width:18px; margin:4px auto; background: rgba(255,255,255,.75); border-radius:2px;}
.mobile-nav{border-top:1px solid rgba(255,255,255,.08); background: rgba(7,11,20,.72); backdrop-filter: blur(14px);}
.mobile-nav-inner{display:flex; flex-direction:column; gap:8px; padding:14px 0 18px;}
.mobile-nav-inner a{padding:12px 12px; border-radius:14px; color:var(--muted); font-weight:700; border:1px solid transparent;}
.mobile-nav-inner a:hover{color:var(--text); background:rgba(255,255,255,.06)}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  color:var(--text);
  font-weight:800; letter-spacing:.2px;
  cursor:pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
  user-select:none;
}
.btn:active{transform: translateY(1px)}
.btn.full{width:100%}
.btn-primary{
  background: linear-gradient(135deg, rgba(245,197,66,1), rgba(34,197,94,1));
  border-color: rgba(255,255,255,.0);
  box-shadow: 0 14px 40px rgba(245,197,66,.20);
  color:#0a0f1d;
}
.btn-primary:hover{opacity:.95}
.btn-ghost{background: rgba(255,255,255,.06);}
.btn-ghost:hover{background: rgba(255,255,255,.10)}
.btn[disabled]{opacity:.55; cursor:not-allowed}

/* Hero */
.hero{padding:44px 0 24px;}
.hero-grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:28px; align-items:center;}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  color: var(--muted);
  font-weight:700;
  width: fit-content;
}
.badge .dot{width:10px; height:10px; border-radius:50%; background: linear-gradient(135deg, var(--brand), var(--brand2)); box-shadow: 0 0 0 6px rgba(245,197,66,.12);}
.hero-title{margin:16px 0 10px; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing:-.02em;}
.grad{background: linear-gradient(90deg, #ffe08a, #22c55e, #2dd4bf); -webkit-background-clip:text; background-clip:text; color:transparent;}
.hero-subtitle{margin:0; color: var(--muted); font-size: 16.5px; line-height: 1.6; max-width: 56ch;}
.hero-cta{display:flex; gap:12px; margin:18px 0 14px; flex-wrap:wrap}
.hero-stats{display:flex; gap:12px; margin: 14px 0 8px; flex-wrap:wrap;}
.stat{flex: 1; min-width: 170px; padding:12px 14px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);}
.stat-k{font-weight:900; font-size:18px}
.stat-l{color:var(--muted2); font-weight:700; margin-top:2px; font-size:13px}

.countdown{margin-top: 14px; padding:14px 14px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);}
.countdown-label{font-weight:800; color: var(--muted); margin-bottom:10px}
.countdown-grid{display:flex; gap:10px; flex-wrap:wrap;}
.cd{flex:1; min-width: 110px; border-radius: 16px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.10); padding:12px 12px; text-align:center;}
.cd span{font-size:22px; font-weight:900}
.cd small{display:block; margin-top:2px; color:var(--muted2); font-weight:800; letter-spacing:.3px}
.countdown-note{margin-top:10px; color:var(--muted2); font-size:12.5px}

.audit{margin-top: 12px; display:grid; gap:8px;}
.audit-row{display:grid; grid-template-columns: 84px 1fr 60px; gap:10px; align-items:center; padding:10px 12px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);}
.pill{font-weight:900; font-size:12px; color: #0a0f1d; background: linear-gradient(135deg, rgba(245,197,66,1), rgba(34,197,94,1)); padding:7px 10px; border-radius:999px; width: fit-content;}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace; color:var(--muted)}
.link{background: transparent; border: 0; color: rgba(255,255,255,.85); font-weight:900; cursor:pointer; padding:8px 10px; border-radius: 12px;}
.link:hover{background: rgba(255,255,255,.06)}
.link[disabled]{opacity:.45; cursor:not-allowed}

.disclaimer{margin-top:12px; color: var(--muted2); font-size: 13px; line-height: 1.5; padding:12px 14px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px dashed rgba(255,255,255,.14);}

/* Hero Art */
.hero-art{position:relative}
.card-art{padding:18px; border-radius: var(--radius2); background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow);}
.card-art img{border-radius: 18px; background: rgba(0,0,0,.18);}
.floating-card{position:absolute; padding:12px 14px; border-radius: 18px; background: rgba(7,11,20,.72); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 10px 30px rgba(0,0,0,.35); backdrop-filter: blur(10px);}
.fc-title{font-weight:900}
.fc-sub{color:var(--muted2); font-weight:800; font-size:12.5px; margin-top:2px}
.fc-1{left:-10px; bottom:18px}
.fc-2{right:-10px; top:16px}

/* Sections */
.section{padding:56px 0}
.section-alt{background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom: 18px;}
.section-head h2{margin:0; font-size: 30px; letter-spacing:-.02em;}
.section-head p{margin:0; color: var(--muted); font-weight:700; max-width: 60ch;}
.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
.panel{padding:18px; border-radius: var(--radius2); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);}
.panel-icon{width:42px; height:42px; display:grid; place-items:center; border-radius: 16px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.10); font-size: 20px;}
.panel h3{margin:12px 0 6px; font-size:18px}
.panel p{margin:0; color:var(--muted); line-height:1.6; font-weight:650}
.panel-link{transition: transform .08s ease, background .2s ease, border-color .2s ease}
.panel-link:hover{transform: translateY(-1px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16)}
.panel-cta{display:inline-block; margin-top:12px; color:rgba(255,255,255,.88); font-weight:900}

.callout{margin-top: 14px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:18px; border-radius: var(--radius2); background: linear-gradient(135deg, rgba(245,197,66,.18), rgba(34,197,94,.14)); border: 1px solid rgba(255,255,255,.12);}
.callout h3{margin:0 0 6px}
.callout p{margin:0; color:var(--muted); font-weight:700}

/* Tokenomics */
.tokenomics{display:grid; grid-template-columns: 1fr 1fr; gap:14px;}
.token-card{padding:18px; border-radius: var(--radius2); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);}
.token-line{display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom: 1px solid rgba(255,255,255,.08); gap:12px;}
.token-line:last-of-type{border-bottom:0}
.token-line span{color:var(--muted); font-weight:800}
.token-line strong{font-weight:900}
.token-note{margin-top:12px; color:var(--muted2); font-weight:700; font-size:13px; line-height:1.5;}
.mini-title{margin:0 0 12px; font-size:18px}
.bar{margin:10px 0 12px}
.bar-row{display:flex; justify-content:space-between; color:var(--muted); font-weight:800; margin-bottom:8px}
.bar-track{height:10px; border-radius: 999px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.10); overflow:hidden;}
.bar-fill{height:100%; border-radius: 999px; background: linear-gradient(90deg, rgba(245,197,66,1), rgba(34,197,94,1));}

/* Timeline */
.timeline{display:grid; gap:12px}
.step{display:grid; grid-template-columns: 44px 1fr; gap:12px; padding:16px; border-radius: var(--radius2); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);}
.step-badge{width:44px; height:44px; border-radius: 16px; display:grid; place-items:center; font-weight:900; color:#0a0f1d; background: linear-gradient(135deg, rgba(245,197,66,1), rgba(34,197,94,1));}
.step h3{margin:0 0 6px}
.step p{margin:0; color:var(--muted); font-weight:700; line-height:1.6}
.tags{margin-top:10px; display:flex; gap:8px; flex-wrap:wrap}
.tag{font-weight:900; font-size:12px; padding:7px 10px; border-radius: 999px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.85);}
.note-box{margin-top:14px; padding:14px 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.14); color: var(--muted); font-weight:700;}

/* Presale & Swap */
.presale-grid, .swap-grid{display:grid; grid-template-columns: 1fr 1fr; gap:14px;}
.presale-card, .swap-card{padding:18px; border-radius: var(--radius2); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);}
.list{margin:0; padding-left: 18px; color:var(--muted); font-weight:700; line-height:1.7}
.field{margin-top:12px}
label{display:block; margin-bottom:8px; font-weight:900; color: rgba(255,255,255,.90)}
input{width:100%; padding:12px 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.22); color: var(--text); outline:none; font-weight:800;}
input:focus{border-color: rgba(45,212,191,.45); box-shadow: 0 0 0 6px rgba(45,212,191,.12)}
.readonly{width:100%; padding:12px 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.18); color: rgba(255,255,255,.88); font-weight:900;}
.tiny{margin-top:10px; color:var(--muted2); font-weight:700; font-size:12.5px; line-height:1.5}
.mini-warning{margin-top:12px; padding:12px 14px; border-radius: 16px; background: rgba(245,197,66,.10); border: 1px solid rgba(245,197,66,.18); color: rgba(255,255,255,.90); font-weight:750;}

.swap-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:12px}
.swap-title{font-weight:900; font-size:18px}
.swap-sub{color:var(--muted); font-weight:800; margin-top:2px; font-size:12.5px}
.chip{font-weight:900; font-size:12px; padding:7px 10px; border-radius: 999px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.85);}
.swap-box{padding:12px; border-radius: 18px; border: 1px solid rgba(255,255,255,.10); background: rgba(0,0,0,.18);}
.swap-row{display:flex; align-items:center; justify-content:space-between; gap:10px;}
.swap-label{color:var(--muted2); font-weight:900; font-size:12px}
.swap-asset{padding:10px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.06); font-weight:900;}
.swap-arrow{margin:10px auto; width:42px; height:42px; display:grid; place-items:center; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); font-weight:900;}

.codebox{margin-top: 12px; border-radius: 18px; overflow:hidden; border: 1px solid rgba(255,255,255,.10); background: rgba(0,0,0,.22);}
.codebox-title{padding:10px 12px; font-weight:900; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.90);}
pre{margin:0; padding:12px; overflow:auto}
pre code{color: rgba(255,255,255,.82); font-weight:700}

/* FAQ */
.faq{display:grid; gap:10px}
.qa{padding:14px 16px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);}
.qa summary{cursor:pointer; font-weight:900;}
.qa p{margin:10px 0 0; color:var(--muted); font-weight:700; line-height:1.6}

.footer-note{margin-top: 18px; color: var(--muted2); font-weight:700; text-align:center;}

/* Footer */
.footer{padding: 26px 0 30px; border-top: 1px solid rgba(255,255,255,.06); background: rgba(0,0,0,.12);}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:14px;}
.footer-left{display:flex; align-items:center; gap:12px}
.footer-title{font-weight:900}
.footer-sub{color:var(--muted2); font-weight:750; font-size:13px; margin-top:2px}
.footer-right{display:flex; gap:14px; flex-wrap:wrap}
.footer-right a{color:var(--muted); font-weight:800; padding:8px 10px; border-radius:12px}
.footer-right a:hover{background:rgba(255,255,255,.06); color:var(--text)}

/* Toast */
.toast{
  position:fixed; left:50%; bottom:18px; transform: translateX(-50%);
  background: rgba(0,0,0,.78);
  border: 1px solid rgba(255,255,255,.14);
  padding:12px 14px;
  border-radius: 14px;
  color: rgba(255,255,255,.92);
  font-weight:800;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
  z-index:9999;
}
.toast.show{opacity:1; transform: translateX(-50%) translateY(-2px);}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr;}
  .nav, .header-actions{display:none}
  .hamburger{display:block; margin-left:auto}
  .tokenomics, .presale-grid, .swap-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .fc-1{left: 8px}
  .fc-2{right: 8px}
}


/* Keep content above background glow (fixes some mobile browsers) */
.site-header, .hero, .section, .footer{
  position: relative;
  z-index: 1;
}


/* Mobile glow fallback: removes blur on small screens to avoid GPU tiling bands */
@media (max-width: 820px){
  .bg-glow{
    inset:-120px;
    filter:none;
    opacity:.55;
  }
}

/* Pills / badges */
.pill-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;margin-bottom:10px}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border-radius:999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-weight: 700;
  letter-spacing:.2px;
  backdrop-filter: blur(10px);
}
@media (max-width: 560px){
  .pill{padding:7px 10px;font-size:13px}
}
.checklist{margin:0;padding-left:18px}
.checklist li{margin:8px 0}

.panel-head{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}
@media (max-width: 820px){
  .panel-head{flex-direction:column}
}


/* --- ESTILOS DO MODAL DE CARTEIRA (Adicionar ao final do CSS) --- */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: #0b1220; border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px; border-radius: 24px; width: 90%; max-width: 380px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transform: translateY(10px); transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 12px;
}
.modal-head h3 { margin: 0; color: #fff; font-size: 18px; }
.btn-close {
  background: none; border: none; color: #fff; font-size: 28px; 
  cursor: pointer; line-height: 1; padding: 0;
}

.wallet-option {
  display: flex; align-items: center; gap: 15px; width: 100%;
  padding: 14px 16px; margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px; color: #fff; font-weight: 700; cursor: pointer;
  transition: all 0.2s; text-align: left;
}
.wallet-option:hover {
  background: rgba(255, 255, 255, 0.1); border-color: #22c55e;
}
.wallet-option img { width: 28px; height: 28px; border-radius: 6px; }
