@font-face { font-family: "Orbitron"; font-weight: 700; font-display: swap; src: url(/assets/fonts/orbitron-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Orbitron"; font-weight: 900; font-display: swap; src: url(/assets/fonts/orbitron-latin-900-normal.woff2) format("woff2"); }

:root {
  --bg: #080D18; --bg2: #0B1426; --panel: #0D1830; --panel2: #102B55; --line: rgba(0, 200, 255, .16); --line2: rgba(245, 185, 66, .28);
  --neon: #00C8FF; --gold: #F5B942; --gold2: #D9901E; --white: #F8FAFC; --muted: #9FB0C8; --ok: #22C55E; --warn: #F5B942; --bad: #F87171;
  --r: 14px; --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  --display: "Orbitron", "Segoe UI", system-ui, sans-serif; --body: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--white); font: 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; min-height: 100vh; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 500px at 78% -5%, rgba(0, 120, 255, .22), transparent 60%), radial-gradient(700px 420px at 5% 30%, rgba(16, 43, 85, .55), transparent 65%), var(--bg); }
a { color: var(--neon); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); } .gold { color: var(--gold); } .neon { color: var(--neon); } .ok { color: var(--ok); } .bad { color: var(--bad); }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .88em; word-break: break-all; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .grow { flex: 1; } .right { margin-left: auto; }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none !important; }
.logo img { width: 44px; height: 44px; }
.logo b { font: 900 21px/1 var(--display); letter-spacing: .5px; display: block; }
.logo b + b { background: linear-gradient(#fff, #B8C4D6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo b:first-child { background: linear-gradient(#FFE08A, #D9901E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo.sm img { width: 36px; height: 36px; } .logo.sm b { font-size: 16px; }
.logo.center { flex-direction: column; text-align: center; gap: 6px; } .logo.center img { width: 64px; height: 64px; } .logo.center span { display: block; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); font-weight: 600; cursor: pointer; transition: .15s; text-decoration: none !important; color: var(--white); }
.btn:hover { border-color: var(--neon); transform: translateY(-1px); }
.btn.gold { background: linear-gradient(180deg, #FFD574, var(--gold) 55%, var(--gold2)); color: #1a1204; border-color: transparent; box-shadow: 0 6px 22px rgba(245, 185, 66, .28); }
.btn.gold:hover { filter: brightness(1.07); }
.btn.blue { background: linear-gradient(180deg, #1c7bff, #0a5be0); border-color: transparent; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 14px; border-radius: 8px; }
.btn.block { width: 100%; } .btn.danger { border-color: rgba(248, 113, 113, .5); color: var(--bad); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* campos */
.field { display: grid; gap: 6px; margin-bottom: 14px; } .field label { font-size: 14px; color: var(--muted); }
.input { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(5, 10, 22, .7); }
textarea.input { padding: 10px 14px; min-height: 90px; } select.input { padding-right: 8px; }
.input:focus { border-color: var(--neon); outline: none; box-shadow: 0 0 0 3px rgba(0, 200, 255, .15); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 14px; } .check input { margin-top: 4px; accent-color: var(--gold); }
.err { color: var(--bad); font-size: 14px; min-height: 20px; margin: 4px 0 10px; } .okmsg { color: var(--ok); font-size: 14px; }

/* cartões */
.card { background: linear-gradient(180deg, rgba(16, 43, 85, .35), rgba(11, 20, 38, .85)); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.card h3 { font-size: 18px; margin-bottom: 4px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); background: rgba(0, 200, 255, .08); color: var(--neon); }
.badge.ok { color: var(--ok); border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .08); } .badge.warn { color: var(--gold); border-color: var(--line2); background: rgba(245, 185, 66, .08); }
.badge.bad { color: var(--bad); border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .08); }
.notice { border: 1px solid var(--line2); background: rgba(245, 185, 66, .08); border-radius: 12px; padding: 12px 16px; color: #ffe2a3; font-size: 14px; }
.notice.info { border-color: var(--line); background: rgba(0, 200, 255, .07); color: #bfefff; }

/* topo (landing) */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(8, 13, 24, .8); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.nav { display: flex; gap: 22px; margin-left: 24px; } .nav a { color: var(--white); font-size: 15px; cursor: pointer; opacity: .9; } .nav a:hover { color: var(--gold); text-decoration: none; }
.menu-btn { display: none; }

/* hero */
.hero { padding: 56px 0 40px; } .hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font: 900 clamp(34px, 5.2vw, 58px)/1.08 var(--display); letter-spacing: .3px; margin: 18px 0; }
.hero h1 span { display: block; } .hero h1 .g { background: linear-gradient(#FFE08A, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: #dce7f7; max-width: 520px; margin: 0 0 26px; }
.mini { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; } .mini div { display: flex; gap: 10px; align-items: center; font-size: 14px; } .mini small { display: block; color: var(--muted); }
.ico { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--gold); flex: none; background: rgba(245, 185, 66, .06); }
.ico svg { width: 22px; height: 22px; }
.coin-stage { position: relative; display: grid; place-items: center; min-height: 420px; }
.coin-stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 200, 255, .35), rgba(0, 120, 255, .12) 45%, transparent 70%); filter: blur(8px); }
.coin-stage img { position: relative; width: min(380px, 80%); filter: drop-shadow(0 20px 50px rgba(245, 185, 66, .35)); animation: float 6s ease-in-out infinite; }
.coin-stage .pedestal { position: absolute; bottom: 18px; width: 70%; height: 36px; border-radius: 50%; border: 2px solid var(--neon); box-shadow: 0 0 30px var(--neon), inset 0 0 20px rgba(0, 200, 255, .4); opacity: .8; }
@keyframes float { 50% { transform: translateY(-12px); } }
.perks { display: grid; gap: 10px; position: absolute; right: 0; top: 4%; z-index: 2; }
.perks .p { display: flex; gap: 10px; align-items: center; background: rgba(8, 13, 24, .7); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px 8px 8px; font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); }
.sec { padding: 64px 0; } .sec h2 { font: 900 clamp(26px, 3.4vw, 38px)/1.15 var(--display); margin-bottom: 10px; } .sec .sub { color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.step .n { font: 900 28px var(--display); color: var(--gold); margin-bottom: 8px; }
details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: rgba(13, 24, 48, .6); margin-bottom: 10px; } summary { cursor: pointer; font-weight: 600; } details p { color: var(--muted); margin: 10px 0 0; }
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }

/* auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth .card { width: min(440px, 100%); padding: 32px 28px; } .auth h2 { font: 700 22px var(--display); text-align: center; margin: 18px 0 4px; } .auth .sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.auth .alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 18px; }

/* app */
.shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.side { background: rgba(8, 13, 24, .92); border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.side .me { display: flex; gap: 12px; align-items: center; padding: 18px 8px; margin: 8px 0 12px; border-bottom: 1px solid var(--line); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 900 18px var(--display); color: #1a1204; background: linear-gradient(#FFD574, var(--gold2)); flex: none; }
.side a.nv { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 10px; color: #cfdcf0; cursor: pointer; text-decoration: none; font-size: 15px; }
.side a.nv svg { width: 20px; height: 20px; flex: none; } .side a.nv:hover { background: rgba(255, 255, 255, .05); }
.side a.nv.on { background: linear-gradient(90deg, #0a5be0, #1c7bff); color: #fff; box-shadow: 0 6px 18px rgba(10, 91, 224, .35); }
.main { padding: 24px clamp(16px, 3vw, 36px) 60px; min-width: 0; }
.bar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; } .bar h1 { font: 700 26px var(--display); } .bar .sub { color: var(--muted); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { display: flex; gap: 14px; align-items: center; padding: 16px; } .stat small { color: var(--muted); font-size: 13px; display: block; } .stat strong { font: 700 24px var(--display); display: block; } .stat strong span { font: 600 13px var(--body); color: var(--gold); margin-left: 4px; }
.acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.act { text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 18px 14px; } .act .big { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 200, 255, .1); color: var(--neon); } .act .big svg { width: 30px; height: 30px; }
.act h4 { margin: 4px 0 0; font-size: 16px; } .act .rw { color: var(--gold); font-weight: 700; } .act p { margin: 0; color: var(--muted); font-size: 13px; flex: 1; }
.two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; } .col { display: grid; gap: 16px; }
.hist .it { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); } .hist .it:last-child { border: 0; }
.hist .amt { margin-left: auto; text-align: right; font-weight: 700; color: var(--ok); } .hist small { color: var(--muted); display: block; }
.progress { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; } .progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--neon), var(--gold)); transition: width .6s linear; }
.walletbox { display: flex; gap: 10px; align-items: center; background: rgba(5, 10, 22, .7); border: 1px solid var(--line); border-radius: 12px; padding: 12px; flex-wrap: wrap; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(2, 6, 14, .8); backdrop-filter: blur(6px); }
.modal .card { width: min(720px, 100%); max-height: 92vh; overflow: auto; }
.player { aspect-ratio: 16/9; width: 100%; background: #000; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); } .player iframe, .player video { width: 100%; height: 100%; border: 0; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 90; background: #0f2144; border: 1px solid var(--line2); border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.bad { border-color: var(--bad); }

/* tabelas */
.tbl-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: 14px; } th, td { padding: 10px 10px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .06); white-space: nowrap; } th { color: var(--muted); font-weight: 600; font-size: 13px; }
td.wrapc { white-space: normal; min-width: 180px; }

.bottomnav { display: none; }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; } .coin-stage { min-height: 340px; } .perks { position: static; margin-bottom: 14px; grid-template-columns: 1fr 1fr; } .coin-stage { display: block; text-align: center; } .coin-stage img { margin: 10px auto; display: block; }
  .grid4 { grid-template-columns: repeat(2, 1fr); } .grid3 { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); } .two { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--bg2); padding: 16px 20px; border-bottom: 1px solid var(--line); margin: 0; } .nav.open { display: flex; }
  .menu-btn { display: inline-flex; } .top .btn.hide-m { display: none; }
  .shell { grid-template-columns: 1fr; } .side { display: none; } .main { padding-bottom: 96px; }
  .bottomnav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(8, 13, 24, .96); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
  .bottomnav a { display: grid; justify-items: center; gap: 2px; font-size: 11px; color: var(--muted); padding: 6px 8px; border-radius: 10px; min-width: 56px; text-decoration: none; } .bottomnav a svg { width: 22px; height: 22px; } .bottomnav a.on { color: var(--gold); }
  .grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } .perks { grid-template-columns: 1fr; } .stat strong { font-size: 20px; } .top .wrap { gap: 10px; } .logo b { font-size: 17px; } .logo img { width: 38px; height: 38px; } .hero { padding-top: 28px; } .acts { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
@media (min-width: 981px) { .coin-stage img { width: min(350px, 70%); margin-right: 96px; } .coin-stage .pedestal { width: 60%; margin-right: 96px; } }
.stats > *, .acts > *, .two > *, .grid2 > * { min-width: 0; }
@media (max-width: 520px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .stat strong { font-size: 19px; overflow-wrap: anywhere; } .stat strong span { display: block; margin: 2px 0 0; }
  .bar h1 { font-size: 22px; } .card { padding: 16px; }
}
@media (max-width: 860px) { .toast { bottom: auto; top: 14px; } }
.legal h3 { margin: 26px 0 8px; font: 700 18px var(--display); } .legal p, .legal li { color: #cfdcf0; line-height: 1.65; } .legal ul { padding-left: 20px; }
.foot .wrap { gap: 18px; } .foot a { color: var(--muted); } .foot a:hover { color: var(--gold); }
.act img { max-width: 100%; }
