/* Loja de fichas — azul-meia-noite com dourado, como o menu do jogo. Sem fontes externas. */
:root {
  --bg: #060c1d;
  --bg-2: #0b1530;
  --panel: #0f1b3a;
  --panel-2: #15244b;
  --line: rgba(255, 255, 255, 0.09);
  --line-gold: rgba(242, 193, 78, 0.45);
  --text: #eef2ff;
  --muted: #9fb0d3;
  --gold: #f2c14e;
  --gold-2: #d79a1f;
  --gold-ink: #2a1c00;
  --ok: #3ddc97;
  --bad: #ff7a7a;
  --warn: #ffcf5c;
  --radius: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(54, 92, 190, 0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(30, 60, 140, 0.28), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--gold); }
a:hover { color: #ffd77e; }
img, svg { display: block; max-width: 100%; }
.muted { color: var(--muted); }
.tiny { font-size: 0.78rem; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--font); letter-spacing: 0.01em;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  color: var(--text); background: var(--panel-2); text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn.gold { color: var(--gold-ink); background: linear-gradient(180deg, #ffd978, var(--gold) 55%, var(--gold-2)); box-shadow: 0 8px 22px -8px rgba(242, 193, 78, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn.gold:hover { box-shadow: 0 12px 28px -8px rgba(242, 193, 78, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6); color: var(--gold-ink); }
.btn.ghost { background: transparent; border-color: var(--line); }
.btn.ghost:hover { border-color: var(--line-gold); color: var(--text); }
.btn.small { padding: 8px 14px; font-size: 0.85rem; }
.btn.block { width: 100%; }

/* ---------- cabeçalho ---------- */
.demo-banner { background: repeating-linear-gradient(45deg, #5c3a00, #5c3a00 14px, #6d4600 14px, #6d4600 28px); color: #ffe7a8; text-align: center; font-size: 0.9rem; font-weight: 600; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(6, 12, 29, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-ink); background: radial-gradient(circle at 35% 30%, #ffe08c, var(--gold) 55%, var(--gold-2)); box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.18), 0 6px 16px -6px rgba(242, 193, 78, 0.7); }
.brand b { display: block; font-family: var(--display); font-size: 1.12rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
#account { display: flex; align-items: center; gap: 10px; min-width: 0; }
.me { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); min-width: 0; }
.me .who { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.me .who b { font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.me .who span { font-size: 0.78rem; color: var(--gold); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.chip-ico { width: 14px; height: 14px; border-radius: 50%; display: inline-block; background: radial-gradient(circle at 50% 50%, #7a1f1f 0 28%, transparent 30%), repeating-conic-gradient(#f4f6fb 0 12deg, #d64545 12deg 45deg); border: 1.5px solid #fff3; flex: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.78rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--gold); text-shadow: 0 0 40px rgba(242, 193, 78, 0.35); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #c6d2ef; max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.trust li { display: flex; gap: 10px; align-items: center; }
.trust svg { color: var(--ok); flex: none; }
.hero-art { position: relative; aspect-ratio: 1 / 0.92; border-radius: 28px; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 62%, #12643f 0%, #0c4a2f 45%, #082a1c 100%); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 70px -30px #000, inset 0 0 0 10px rgba(7, 18, 36, 0.55), inset 0 0 0 11px var(--line-gold); overflow: hidden; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(0, 0, 0, 0.55), transparent 60%); pointer-events: none; }
.hero-art svg { width: 92%; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.45)); }

/* ---------- seções ---------- */
section { padding: clamp(36px, 6vw, 72px) 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 12px; max-width: 36em; margin-inline: auto; }

/* ---------- pacotes ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pack { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 20px 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.pack:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: 0 24px 46px -26px rgba(242, 193, 78, 0.45); }
.pack.featured { border-color: var(--line-gold); box-shadow: 0 0 0 1px rgba(242, 193, 78, 0.18), 0 24px 56px -28px rgba(242, 193, 78, 0.5); background: linear-gradient(180deg, #1a2c5b, var(--panel)); }
.pack .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, #ffd978, var(--gold-2)); color: var(--gold-ink); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.pack .art { width: 100%; max-width: 250px; margin: 6px 0 8px; }
.pack h3 { font-size: 1.35rem; }
.pack .amount { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 10px; }
.pack .amount strong { font-family: var(--display); font-size: 2.1rem; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.pack .amount span { color: var(--muted); font-size: 0.95rem; }
.pack .bonus { margin-top: 10px; font-size: 0.8rem; font-weight: 800; color: #07281b; background: var(--ok); padding: 3px 10px; border-radius: 999px; }
.pack .bonus.none { visibility: hidden; }
.pack .price { margin: 16px 0 16px; font-size: 1.6rem; font-weight: 800; }
.pack .btn { width: 100%; margin-top: auto; }

/* ---------- como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; margin-bottom: 16px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--gold-ink); background: linear-gradient(180deg, #ffd978, var(--gold-2)); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- dúvidas ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.03); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--gold); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 0.9rem; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .legal { margin-top: 22px; max-width: 70em; font-size: 0.82rem; }

/* ---------- janelas (dialog) ---------- */
dialog { width: min(460px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line-gold); border-radius: 22px; background: linear-gradient(180deg, #16275a, var(--panel)); color: var(--text); box-shadow: 0 40px 90px -20px #000; }
dialog::backdrop { background: rgba(3, 7, 18, 0.72); backdrop-filter: blur(4px); }
.dlg { padding: 28px 26px 24px; display: grid; gap: 16px; }
.dlg h2 { font-size: 1.55rem; }
.dlg .close { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; padding: 6px 10px; border-radius: 10px; }
.dlg .close:hover { color: var(--text); }
label.field { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; }
input[type="email"], input[type="password"], input[type="text"] { width: 100%; font: inherit; color: var(--text); background: rgba(3, 8, 22, 0.6); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; }
input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.25); }
.error { color: var(--bad); font-size: 0.92rem; min-height: 1.3em; }
.help { font-size: 0.88rem; color: var(--muted); }
.help summary { cursor: pointer; color: var(--gold); font-weight: 600; }
.help p { margin-top: 8px; }
.summary { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.summary div + div { border-top: 1px solid var(--line); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 700; text-align: right; }
.summary .total dd { color: var(--gold); font-size: 1.25rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: #c6d2ef; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.dlg .fine { font-size: 0.82rem; color: var(--muted); text-align: center; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- páginas simples (retorno, termos, demo, painel) ---------- */
.plain { min-height: 100vh; }
.plain-card { width: min(520px, 100% - 32px); margin: 8vh auto; padding: 36px 30px; text-align: center; display: grid; gap: 14px; justify-items: center; border-radius: 24px; border: 1px solid var(--line-gold); background: linear-gradient(180deg, #16275a, var(--panel)); box-shadow: 0 40px 90px -30px #000; }
.plain-card h1 { font-size: 2rem; }
.big-price { font-family: var(--display); font-size: 2.6rem; color: var(--gold); font-weight: 700; }
.stack { display: grid; gap: 12px; width: 100%; }
.status-ico { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); }
.status-ico.ok { color: var(--ok); border-color: var(--ok); background: rgba(61, 220, 151, 0.1); }
.status-ico.bad { color: var(--bad); border-color: var(--bad); background: rgba(255, 122, 122, 0.1); }
.status-ico.wait { color: var(--gold); border-color: var(--line-gold); background: rgba(242, 193, 78, 0.08); }
.spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.delivered-amount { font-family: var(--display); font-size: 3rem; color: var(--gold); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }

.doc { width: min(780px, 100% - 32px); margin: 0 auto; padding: 40px 0 60px; }
.doc h1 { font-size: 2.2rem; margin-bottom: 8px; }
.doc h2 { font-size: 1.35rem; margin: 30px 0 8px; }
.doc p, .doc li { color: #c6d2ef; }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc .note { margin-top: 24px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line-gold); color: var(--warn); font-size: 0.9rem; }

.admin { width: min(1180px, 100% - 32px); margin: 0 auto; padding: 32px 0 60px; }
.admin h1 { margin-bottom: 20px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stats div { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.03); display: grid; gap: 4px; }
.stats strong { font-size: 1.4rem; font-family: var(--display); color: var(--gold); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; background: rgba(255, 255, 255, 0.03); white-space: nowrap; }
.pill { padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; background: var(--panel-2); }
.pill.delivered { background: rgba(61, 220, 151, 0.16); color: var(--ok); }
.pill.paid { background: rgba(255, 207, 92, 0.16); color: var(--warn); }
.pill.refunded { background: rgba(255, 122, 122, 0.16); color: var(--bad); }

/* ---------- telas pequenas ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; width: 100%; }
  .packs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .packs { grid-template-columns: 1fr; gap: 26px; }
  .brand small { display: none; }
  .me .who b { max-width: 90px; }
  .hero .cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pack { transition: none; }
  .spin { animation: none; }
}

/* ---------- abas Entrar / Criar conta ---------- */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(3, 8, 22, 0.55); border: 1px solid var(--line); }
.tab { font: 700 0.95rem/1 var(--font); color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 11px 10px; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--gold-ink); background: linear-gradient(180deg, #ffd978, var(--gold) 55%, var(--gold-2)); }
.panel { display: grid; gap: 14px; }
.hint { color: var(--muted); font-weight: 400; }

/* Passe Premium */
#passe { padding-top: 0; }
.pass-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 30px 34px; border-radius: var(--radius); border: 1px solid var(--line-gold); background: linear-gradient(135deg, #1a2c5b, var(--panel)); box-shadow: 0 0 0 1px rgba(242, 193, 78, 0.18), 0 24px 56px -28px rgba(242, 193, 78, 0.5); }
.pass-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 12px; }
.pass-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.pass-copy li { padding-left: 26px; position: relative; }
.pass-copy li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.2); }
.pass-buy { text-align: center; min-width: 220px; }
.pass-buy .price { font-size: 2rem; font-weight: 800; margin: 0 0 14px; }
.pass-buy .btn { width: 100%; }
@media (max-width: 720px) { .pass-card { grid-template-columns: 1fr; padding: 24px 20px; } .pass-buy { min-width: 0; } }
