
:root{
  --bg:#0a0f1a; --text:#e6eefc; --muted:#a7b5d3;
  --brand:#6aa6ff; --brand2:#2262ff; --gold:#e9ce80; --gold2:#caa74a;
  --navH:64px; --footH:72px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  background: radial-gradient(1000px 600px at 80% -10%, #1d2b4a 0%, transparent 60%), var(--bg);
  color:var(--text); line-height:1.6; overflow-x:hidden;
}
a{color:#71d2ff;text-decoration:none} a:hover{text-decoration:underline}
.container{max-width:1200px;margin:0 auto;padding:24px}

/* Stronger frame + full-width top hairline */
body::before{
  content:""; position:fixed; inset:14px; border-radius:18px; z-index:1; pointer-events:none;
  box-shadow:
    inset 0 0 0 2px rgba(233,206,128,.92),
    inset 0 0 26px rgba(233,206,128,.10);
}
body::after{
  content:""; position:fixed; left:0; right:0; top:0; height:6px; z-index:2; pointer-events:none;
  background: linear-gradient(90deg, rgba(233,206,128,0), rgba(233,206,128,.85), rgba(233,206,128,0));
  filter: drop-shadow(0 6px 14px rgba(233,206,128,.25));
}

.nav, main, .footer { position:relative; z-index:2 }
.nav{position:sticky; top:0; backdrop-filter:saturate(120%) blur(8px);
  background: linear-gradient(180deg, rgba(10,15,26,.85), rgba(10,15,26,.55));
  border-bottom:1px solid rgba(255,255,255,.06); z-index:50;
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:10px 18px}
.brand{display:flex;gap:10px;align-items:center}
.brand img{width:38px;height:38px;border-radius:999px;box-shadow:0 0 0 2px rgba(255,255,255,.05)}
.brand .title{font-weight:700;letter-spacing:.4px}

.actions a.btn{
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color:#0b1220; padding:9px 14px; border-radius:12px; font-weight:700;
  display:inline-flex; gap:8px; align-items:center; border:1px solid rgba(255,255,255,.12);
  box-shadow:0 6px 24px rgba(202,167,74,.45), 0 0 0 1px rgba(202,167,74,.55) inset, 0 0 24px rgba(202,167,74,.35);
  margin-left:8px
}
.actions a.btn:hover{ box-shadow:0 10px 34px rgba(202,167,74,.6), 0 0 0 1px rgba(202,167,74,.65) inset, 0 0 36px rgba(202,167,74,.45); transform: translateY(-1px); }
.actions a.btn-secondary{
  padding:9px 12px;border-radius:12px;font-weight:700;border:1px solid rgba(233,206,128,.35);
  color:var(--text); background:rgba(255,255,255,.03); margin-left:8px;
  box-shadow:0 2px 10px rgba(0,0,0,.5), 0 0 0 1px rgba(233,206,128,.08) inset;
}
.actions a.btn-secondary:hover{ border-color: rgba(233,206,128,.6); box-shadow:0 8px 20px rgba(0,0,0,.6), 0 0 18px rgba(233,206,128,.25) }

.hero{padding:18px 0 6px; display:grid; grid-template-columns:1.05fr .95fr; gap:16px; align-items:center}
.hero h1{font-size:clamp(26px, 4.2vw, 44px); line-height:1.12; letter-spacing:.2px; margin:0 0 10px}
.hero p{color:var(--muted); margin:0 0 16px; font-size:clamp(14px,1.5vw,16px)}
.hero .cta{display:flex;gap:12px;flex-wrap:wrap}
.kicker{color:#9fb7ff; font-weight:800; letter-spacing:.18em; text-transform:uppercase; font-size:12px}

.hero-art{position:relative; height: min(360px, 50vh);
  border:1px solid rgba(255,255,255,.08); border-radius:16px; overflow:hidden;
  background-image:url('/assets/img/logo-seal.png'); background-repeat:no-repeat; background-size:78% auto; background-position:center;
  box-shadow: inset 0 16px 54px rgba(0,0,0,.55), inset 0 -10px 34px rgba(0,0,0,.55);
}
.hero-art::before{content:""; position:absolute; inset:0; background: radial-gradient(60% 160% at 50% 100%, rgba(0,0,0,.35), transparent 70%)}
.hero-art:hover{transform:translateY(-1px); transition:transform .3s ease, box-shadow .3s ease;
  box-shadow: inset 0 26px 72px rgba(0,0,0,.55), inset 0 -16px 52px rgba(0,0,0,.55), 0 14px 44px rgba(0,0,0,.35);
}

.section{padding:14px 0; border-top:1px solid rgba(255,255,255,.06)}
.grid-3{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08); border-radius:14px; padding:14px;
  box-shadow:0 10px 35px -20px rgba(0,0,0,.6); transition:transform .18s ease, box-shadow .18s ease
}
.card:hover{transform:translateY(-2px); box-shadow:0 18px 50px -20px rgba(0,0,0,.7)}

.footer{padding:26px 0 18px 0; color:#93a3c5; font-size:14px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; position:relative; text-shadow:0 2px 14px rgba(0,0,0,.78), 0 0 1px rgba(202,167,74,.5), 0 0 10px rgba(202,167,74,.22); min-height:64px;}
.footer::before{content:""; position:absolute; left:0; right:0; top:-22px; height:40px; background:url('/assets/img/wavy-gold.svg') center/contain no-repeat; opacity:.85; pointer-events:none; filter: drop-shadow(0 2px 5px rgba(202,167,74,.3)); z-index:0;}

#intro{position:fixed; inset:0; background: radial-gradient(800px 500px at 70% -10%, #1c2b4c 0%, transparent 60%), #05070d;
  display:grid; place-items:center; z-index:9999; overflow:hidden
}
#intro .inner{text-align:center; opacity:0; transform: translateY(10px) scale(1.02); animation:introFade 1000ms ease-out forwards 250ms; display:flex; flex-direction:column; align-items:center }
#intro .logo{width:min(240px,30vw); filter: drop-shadow(0 18px 42px rgba(0,0,0,.55)) drop-shadow(0 8px 22px rgba(106,166,255,.25)); margin-top:10px}
#intro h2{margin:6px 0 0; letter-spacing:.22em; font-weight:800; color:#bcd4ff}
#intro p{margin:6px 0 0; color:#98a9cb; font-size:14px}
@keyframes introFade{to{opacity:1; transform: translateY(0) scale(1)}}
@keyframes vanish{to{opacity:0; visibility:hidden}}
body.intro-done #intro{animation:vanish .6s ease forwards .05s}

.enc-bar{ width:min(360px, 60vw); height:6px; border-radius:999px;
  background:linear-gradient(90deg, #13203b, #0b1324); overflow:hidden; margin-bottom:10px;
  box-shadow:0 4px 22px rgba(0,0,0,.6), 0 0 0 1px rgba(88,146,255,.25) inset }
.enc-bar::before{ content:""; display:block; height:100%; width:0%;
  background:linear-gradient(90deg, #43a6ff, #71d2ff, #43a6ff); box-shadow:0 0 22px #4fb7ff;
  animation:encLoad 6.2s cubic-bezier(.22,.61,.36,1) forwards }
@keyframes encLoad{ 0%{width:0%} 50%{width:64%} 70%{width:72%} 100%{width:100%} }

/* Fit home in viewport (no scroll) */
main.container.home{ min-height: calc(100vh - var(--navH) - var(--footH) - 40px);
  display:flex; flex-direction:column; justify-content:center; padding-top:8px; padding-bottom:8px }
@media (max-height: 780px){
  .hero-art{height: 360px}
  .brand img{width:32px;height:32px}
  .nav-inner{padding:6px 14px}
}

.footer > *{position:relative; z-index:1}

/* Powerful gold buttons */
.btn-gold{
  display:inline-flex; align-items:center; gap:8px;
  background: linear-gradient(135deg, #f2df99, #caa74a);
  color:#0b1220; font-weight:800; letter-spacing:.2px;
  padding:11px 18px; border-radius:14px; border:1px solid rgba(202,167,74,.55);
  box-shadow:0 10px 28px rgba(202,167,74,.45), 0 0 0 1px rgba(202,167,74,.55) inset, 0 0 28px rgba(202,167,74,.35);
  text-decoration:none !important; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-gold:hover{ transform: translateY(-1px); box-shadow:0 16px 40px rgba(202,167,74,.6), 0 0 0 1px rgba(202,167,74,.7) inset, 0 0 40px rgba(202,167,74,.45) }
.backbar{ display:flex; justify-content:flex-start; margin:14px 0 6px 0; }
.backbar .btn-gold{ }
.footer-links{ display:flex; gap:12px; flex-wrap:wrap }
.footer-links a{ color:#0b1220; background:linear-gradient(135deg, #f2df99, #caa74a); padding:8px 12px; border-radius:10px; font-weight:700; border:1px solid rgba(202,167,74,.55); box-shadow:0 4px 16px rgba(202,167,74,.35) }
.footer-links a:hover{ box-shadow:0 8px 22px rgba(202,167,74,.5) }

.footer > *{position:relative;z-index:1}


/* === APP Verification Seal & Insight Index (v8.8 Verified) === */
#verify-badge{
  position: fixed; right: 18px; bottom: 18px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f1dd9a 0%, #caa74a 55%, #9f7f2a 100%);
  box-shadow: 0 0 14px rgba(202,167,74,.55), inset 0 0 10px rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  border:1px solid rgba(255,255,255,.15);
}
#verify-badge::after{
  content:"APP"; font-weight:900; letter-spacing:.6px; color:#0b1220;
}
#verify-badge .ring{
  position:absolute; inset:0; border-radius:999px;
  box-shadow:0 0 0 3px rgba(255,255,255,.1) inset;
  animation:verifyPulse 4s ease-in-out infinite;
}
@keyframes verifyPulse{ 0%{box-shadow:0 0 0 3px rgba(255,255,255,.08) inset} 50%{box-shadow:0 0 0 6px rgba(255,255,255,.25) inset} 100%{box-shadow:0 0 0 3px rgba(255,255,255,.08) inset} }

#verify-modal[hidden]{ display:none }
#verify-modal{
  position: fixed; inset:0; z-index:10000;
  background: rgba(2,6,14,.65); backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center;
}
.verify-card{
  width: min(560px, 92%); border-radius: 16px; overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.3));
  border:1px solid rgba(202,167,74,.35);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(202,167,74,.2) inset;
  color:#cbd7ff;
}
.verify-head{
  display:flex; align-items:center; gap:12px; padding:14px 16px;
  background: radial-gradient(600px 80px at 20% -30%, rgba(202,167,74,.18), transparent);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.verify-head .seal{
  width:28px; height:28px; border-radius:999px;
  background: radial-gradient(circle at 30% 30%, #f1dd9a 0%, #caa74a 55%, #9f7f2a 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 0 12px rgba(202,167,74,.35);
}
.verify-body{ padding:16px }
.verify-row{ display:flex; justify-content:space-between; padding:6px 0; border-bottom:1px dashed rgba(255,255,255,.06) }
.verify-row:last-child{ border-bottom:0 }
.verify-foot{ display:flex; justify-content:flex-end; padding:12px 16px }
.verify-close{ background:#0e1626; color:#e7dcae; border:1px solid rgba(202,167,74,.45); padding:8px 14px; border-radius:10px; cursor:pointer }

/* Insight section */
.insight-section{ margin: 36px 0; padding: 18px; border:1px solid rgba(255,255,255,.06); border-radius:14px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.16)); }
.insight-section h2{ margin:0 0 12px 0; letter-spacing:.6px; text-transform:uppercase; color:#cbd7ff; font-size:20px }
.insight-grid{ display:grid; grid-template-columns: repeat(4, minmax(180px,1fr)); gap:12px }
.insight-box{ background: rgba(255,255,255,.02); border:1px solid rgba(255,255,255,.06); border-radius:12px; padding:14px; color:#b6c4e3 }
.insight-box b{ color:#e9efff; font-size:26px; display:block; margin:6px 0 }
.insight-box small{ color:#9fb1dd }
@media (max-width: 980px){ .insight-grid{ grid-template-columns:1fr 1fr } }
@media (max-width: 600px){ .insight-grid{ grid-template-columns:1fr } }
