/* DROPA — grafite profundo, laranja-ouro de destaque e as cores de raridade dos drops */
:root {
  /* paleta: preto com fundo magenta, rosa neon e lilás (inspirada no TCG neon de referência) */
  --bg: #0a0509;
  --bg2: #110811;
  --panel: #170c17;
  --panel2: #201021;
  --panel3: #2c162d;
  --line: rgba(255, 90, 170, .09);
  --line2: rgba(255, 120, 190, .17);
  --text: #fdf0f7;
  --muted: #b896ab;
  --dim: #75586b;
  --gold: #ff3d9a;
  --gold2: #ff9fcf;
  --orange: #d01b78;
  --violet: #7b5cff;
  --green: #2fe08a;
  --red: #ff4d5e;
  --common: #4b69ff;
  --rare: #8847ff;
  --epic: #d32ce6;
  --legendary: #eb4b4b;
  --mythic: #ffc700;
  --r: 14px;
  --display: 'Chakra Petch', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --badge: 'Fraunces', Georgia, serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 14.5px; }
body { min-height: 100vh; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 420px at 50% -120px, rgba(255, 61, 154, .10), transparent 70%), radial-gradient(600px 500px at 0 30%, rgba(123, 92, 255, .08), transparent 70%), var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: var(--text); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: .01em; font-weight: 700; }
.muted { color: var(--muted); } .dim { color: var(--dim); } .gold { color: var(--gold); } .green { color: var(--green); } .red { color: var(--red); }
.row { display: flex; align-items: center; gap: 10px; } .between { justify-content: space-between; } .wrap { flex-wrap: wrap; } .grow { flex: 1; }
.hidden { display: none !important; }
.tabular { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ topo */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 20px; background: rgba(17, 17, 22, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .06em; flex: none; }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; }
.logo-mark svg { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(255, 61, 154, .45)); }
.logo b { color: #fff; } .logo b i { font-style: normal; color: var(--gold); }
.modes { display: flex; gap: 6px; margin-left: 12px; overflow-x: auto; scrollbar-width: none; }
.modes::-webkit-scrollbar { display: none; }
.modes a { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: 13.5px; white-space: nowrap; transition: .2s; }
.modes a .ic { font-size: 17px; }
.modes a:hover { color: var(--text); background: var(--panel2); }
.modes a.on { color: #111; background: linear-gradient(180deg, var(--gold2), var(--gold)); border-color: transparent; }
.modes a .tag { font-size: 9.5px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: var(--red); color: #fff; letter-spacing: .04em; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.bal-pill { display: flex; align-items: center; height: 42px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line2); overflow: hidden; }
.bal-pill .bal { padding: 0 14px; font-weight: 800; font-family: var(--display); font-size: 16px; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; line-height: 1.05; justify-content: center; }
.bal-pill .bal small { font-family: var(--body); font-size: 10px; color: var(--muted); font-weight: 700; letter-spacing: .05em; }
.bal-pill .bal.bump { animation: bump .6s var(--spring); }
@keyframes bump { 40% { transform: scale(1.1); color: var(--green); } }
.bal-pill .dep { align-self: stretch; padding: 0 16px; background: linear-gradient(180deg, #4cf0a0, #19b56a); color: #04210f; font-weight: 800; font-size: 13.5px; }
.pts-pill { height: 42px; display: flex; align-items: center; padding: 0 12px; border-radius: 11px; background: rgba(136, 71, 255, .12); border: 1px solid rgba(136, 71, 255, .3); color: #cdb3ff; font-weight: 800; font-size: 13px; }
.icon-btn { width: 42px; height: 42px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 16px; position: relative; }
.icon-btn .lvl { position: absolute; bottom: -5px; right: -5px; font-size: 9.5px; font-weight: 800; background: var(--gold); color: #ffffff; border-radius: 6px; padding: 1px 5px; }

/* faixa de drops ao vivo */
.livebar { display: flex; gap: 8px; padding: 8px 20px; background: var(--bg2); border-bottom: 1px solid var(--line); height: 96px; overflow: hidden; }
.live-label { flex: none; width: 74px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 10px; font-weight: 800; color: var(--muted); letter-spacing: .06em; text-align: center; }
.live-label b { font-family: var(--display); color: var(--green); font-size: 15px; }
.live-label .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(47, 224, 138, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47, 224, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 224, 138, 0); } }
.live-track { display: flex; gap: 8px; overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.drop { --rc: var(--common); flex: none; width: 92px; height: 80px; border-radius: 10px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--panel) 0%, color-mix(in srgb, var(--rc) 40%, var(--panel)) 100%); border-bottom: 2px solid var(--rc); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.drop.new { animation: dropin .6s var(--spring); }
@keyframes dropin { from { width: 0; opacity: 0; transform: scale(.6); } }
.drop .d-ic { font-size: 24px; line-height: 1; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.drop .d-lbl { font-size: 11px; font-weight: 800; white-space: nowrap; max-width: 86px; overflow: hidden; text-overflow: ellipsis; }
.drop .d-user { position: absolute; inset: 0; background: rgba(15, 15, 19, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 10.5px; font-weight: 700; opacity: 0; transition: opacity .2s; }
.drop:hover .d-user { opacity: 1; }

/* ------------------------------------------------------------ layout */
main { max-width: 1340px; margin: 0 auto; padding: 22px 20px 110px; }
.section { margin-top: 34px; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sec-head .sec-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: var(--panel2); border: 1px solid var(--line2); }
.sec-head h2 { font-size: 21px; text-transform: uppercase; letter-spacing: .04em; }
.sec-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.sec-head .more { margin-left: auto; color: var(--gold); font-weight: 700; font-size: 13px; }
.page-title { font-size: clamp(26px, 3.6vw, 36px); text-transform: uppercase; letter-spacing: .03em; }
.page-sub { color: var(--muted); margin: 6px 0 0; max-width: 680px; line-height: 1.5; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 11px; font-weight: 800; font-size: 14px; transition: transform .12s, filter .2s, box-shadow .2s; white-space: nowrap; user-select: none; }
.btn:active { transform: scale(.96); }
.btn:disabled { opacity: .4; pointer-events: none; }
.btn-gold { background: linear-gradient(180deg, var(--gold2), var(--gold) 55%, var(--orange)); color: #ffffff; box-shadow: 0 6px 22px rgba(255, 61, 154, .25), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:hover { filter: brightness(1.08); box-shadow: 0 8px 30px rgba(255, 61, 154, .4), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-green { background: linear-gradient(180deg, #4cf0a0, #19b56a); color: #04210f; box-shadow: 0 6px 22px rgba(47, 224, 138, .22); }
.btn-ghost { background: var(--panel2); border: 1px solid var(--line2); }
.btn-ghost:hover { background: var(--panel3); }
.btn-danger { background: rgba(255, 77, 94, .12); color: #ff8d98; border: 1px solid rgba(255, 77, 94, .35); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 13px; }
.btn-block { width: 100%; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 8px; background: var(--panel2); border: 1px solid var(--line2); color: var(--muted); }
.chip.live { color: #fff; background: var(--red); border-color: transparent; }
.chip.ok { color: #04210f; background: var(--green); border-color: transparent; }
.tabs { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); flex-wrap: wrap; }
.tabs button { height: 34px; padding: 0 14px; border-radius: 9px; font-weight: 800; font-size: 13px; color: var(--muted); }
.tabs button.on { background: var(--panel3); color: var(--text); }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: var(--r); }
.empty .big { font-size: 40px; margin-bottom: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; }
.input { width: 100%; height: 44px; padding: 0 13px; border-radius: 11px; background: var(--bg2); border: 1px solid var(--line2); outline: none; transition: border .2s, box-shadow .2s; }
textarea.input { height: auto; padding: 12px; }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 61, 154, .12); }
.avatar { --s: 36px; width: var(--s); height: var(--s); border-radius: 50%; flex: none; display: grid; place-items: center; font-size: calc(var(--s) * .55); background: var(--ac, var(--panel3)); overflow: hidden; border: 2px solid var(--ab, rgba(255, 255, 255, .12)); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ hero */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.banner { position: relative; overflow: hidden; border-radius: 18px; min-height: 270px; padding: 34px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line2); }
.banner h1 { font-size: clamp(30px, 4vw, 50px); line-height: .98; text-transform: uppercase; max-width: 520px; position: relative; z-index: 2; }
.banner h1 em { font-style: normal; color: var(--gold); }
.banner p { color: rgba(255, 255, 255, .78); max-width: 420px; margin: 12px 0 20px; line-height: 1.5; position: relative; z-index: 2; }
.banner .row { position: relative; z-index: 2; }
.banner .art { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 150px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); animation: floaty 5s ease-in-out infinite; z-index: 1; }
@keyframes floaty { 50% { transform: translateY(calc(-50% - 16px)) rotate(3deg); } }
.banner.b-jack { background: radial-gradient(500px 300px at 85% 50%, rgba(255, 61, 154, .35), transparent 70%), linear-gradient(120deg, #2e0a20, #170915 60%, #0e070d); }
.banner.b-battle { background: radial-gradient(400px 260px at 80% 50%, rgba(208, 27, 120, .45), transparent 70%), linear-gradient(120deg, #2a0a1f, #140913); }
.banner.b-bonus { background: radial-gradient(400px 260px at 80% 40%, rgba(123, 92, 255, .4), transparent 70%), linear-gradient(120deg, #170c33, #0f0a16); }
.banner.small { min-height: 128px; padding: 22px; }
.banner.small h3 { font-size: 20px; text-transform: uppercase; position: relative; z-index: 2; }
.banner.small p { margin: 4px 0 12px; font-size: 13px; padding-right: 80px; }
.banner.small .art { font-size: 70px; right: 16px; }
.hero-side { display: grid; gap: 14px; }
.pot-live { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--gold2); position: relative; z-index: 2; text-shadow: 0 0 30px rgba(255, 61, 154, .4); }

.modes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mode-tile { position: relative; overflow: hidden; border-radius: 14px; padding: 16px; min-height: 130px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line2); background: linear-gradient(160deg, var(--mc), color-mix(in srgb, var(--mc) 25%, #121216) 70%); transition: transform .3s var(--ease-out), box-shadow .3s; }
.mode-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px color-mix(in srgb, var(--mc) 35%, transparent); }
.mode-tile .mi { position: absolute; top: 8px; right: 10px; font-size: 54px; transition: transform .4s var(--spring); filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .4)); }
.mode-tile:hover .mi { transform: scale(1.15) rotate(-8deg); }
.mode-tile b { font-family: var(--display); font-size: 17px; text-transform: uppercase; position: relative; }
.mode-tile span { font-size: 12px; color: rgba(255, 255, 255, .75); position: relative; }

/* ------------------------------------------------------------ caixas */
.grid-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.case-card { --c: #ff3d9a; position: relative; overflow: hidden; border-radius: 14px; padding: 14px 12px 12px; text-align: center; cursor: pointer; background: radial-gradient(160px 120px at 50% 40%, color-mix(in srgb, var(--c) 28%, transparent), transparent 75%), var(--panel); border: 1px solid var(--line); transition: transform .3s var(--ease-out), border-color .3s; }
.case-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.case-card .cv { height: 150px; display: grid; place-items: center; }
.case-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.case-card .price-btn { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; border-radius: 9px; font-family: var(--display); font-weight: 700; font-size: 15px; background: rgba(255, 61, 154, .1); color: var(--gold2); border: 1px solid rgba(255, 61, 154, .35); transition: .2s; }
.case-card:hover .price-btn { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #ffffff; }
.chest { --c: #ff3d9a; width: 140px; height: 110px; position: relative; transition: transform .5s var(--spring); filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .55)); }
.case-card:hover .chest { transform: scale(1.08) rotate(-3deg); }
.chest .body { position: absolute; left: 6px; right: 6px; bottom: 0; height: 66px; border-radius: 6px 6px 14px 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 85%, black), color-mix(in srgb, var(--c) 35%, black)); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .1), inset 0 -10px 20px rgba(0, 0, 0, .35); }
.chest .lid { position: absolute; left: 0; right: 0; top: 10px; height: 42px; border-radius: 40px 40px 8px 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 60%, white), var(--c) 60%, color-mix(in srgb, var(--c) 70%, black)); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .25), inset 0 2px 0 rgba(255, 255, 255, .4); }
.chest .band { position: absolute; top: 10px; bottom: 0; width: 12px; background: linear-gradient(180deg, #ffc2e0, #b0126a); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.chest .band.l { left: 22px; } .chest .band.r { right: 22px; }
.chest .emb { position: absolute; left: 50%; top: 34px; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe1f0, #ff3d9a 60%, #9c0f5e); display: grid; place-items: center; font-size: 22px; box-shadow: 0 4px 12px rgba(0, 0, 0, .5), 0 0 22px color-mix(in srgb, var(--c) 70%, transparent); z-index: 2; }
.chest .shine { position: absolute; inset: 0; border-radius: 40px 40px 14px 14px; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 45%, transparent 55%); background-size: 260% 100%; animation: foil 4.5s ease-in-out infinite; mix-blend-mode: overlay; pointer-events: none; }
@keyframes foil { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
.case-img { width: 150px; height: 150px; object-fit: contain; }

.roulette { position: relative; height: 180px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, var(--bg2), var(--panel)); border: 1px solid var(--line2); }
.roulette::before, .roulette::after { content: ''; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 3; pointer-events: none; }
.roulette::before { left: 0; background: linear-gradient(90deg, var(--bg2), transparent); }
.roulette::after { right: 0; background: linear-gradient(-90deg, var(--bg2), transparent); }
.roulette .marker { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: var(--gold); z-index: 4; box-shadow: 0 0 16px var(--gold); }
.roulette .marker::before, .roulette .marker::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); border: 9px solid transparent; }
.roulette .marker::before { top: 0; border-top-color: var(--gold); }
.roulette .marker::after { bottom: 0; border-bottom-color: var(--gold); }
.roulette .strip { position: absolute; top: 14px; bottom: 14px; left: 0; display: flex; gap: 8px; will-change: transform; }
.r-item { --rc: var(--common); width: 140px; flex: none; border-radius: 12px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(180deg, var(--panel2), color-mix(in srgb, var(--rc) 30%, var(--panel2))); border-bottom: 3px solid var(--rc); transition: transform .4s var(--spring), box-shadow .4s; }
.r-item .ico { font-size: 38px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.r-item .ico img { width: 60px; height: 60px; object-fit: contain; }
.r-item .lbl { font-weight: 800; font-size: 13px; text-align: center; padding: 0 6px; }
.r-item .pct { font-size: 11px; color: var(--muted); font-weight: 700; }
.r-item.winner { transform: scale(1.08); box-shadow: 0 0 0 2px var(--rc), 0 0 36px var(--rc); z-index: 2; }
.case-contents { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.case-contents .r-item { width: auto; height: 140px; }
.case-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 12px 0 18px; }
.case-head .grow { min-width: 200px; }

/* ------------------------------------------------------------ pacotes de raspadinha */
.grid-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.pack-card { padding: 14px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; transition: transform .3s var(--ease-out); }
.pack-card:hover { transform: translateY(-4px); }
.pack-card .pack-stage { height: 220px; display: grid; place-items: center; position: relative; cursor: pointer; }
.pack-card .pack-stage::before { content: ''; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: var(--glow); filter: blur(55px); opacity: .45; }
.pack-card .pack { width: 132px; transition: transform .5s var(--spring); }
.pack-card:hover .pack { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.pack-card h3 { font-size: 16px; text-transform: uppercase; }
.pack-card .tagline { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.price { font-family: var(--display); font-weight: 700; font-size: 21px; }
.price small { font-size: 12px; color: var(--muted); font-weight: 600; }
.odds-line { display: flex; gap: 5px; flex-wrap: wrap; }
.odds-line .chip { font-size: 10.5px; padding: 3px 7px; }
.pack { position: relative; aspect-ratio: 2 / 3; border-radius: 9px; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .5)); user-select: none; }
.pack-art { position: absolute; inset: 0; border-radius: 9px; overflow: hidden; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.pack-art::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 11px; z-index: 2; background: linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, .28) 50%) 0 0 / 9px 11px, linear-gradient(225deg, transparent 50%, rgba(0, 0, 0, .28) 50%) 0 0 / 9px 11px; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.pack-art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 11px; z-index: 2; background: linear-gradient(45deg, transparent 50%, rgba(0, 0, 0, .28) 50%) 0 0 / 9px 11px, linear-gradient(-45deg, transparent 50%, rgba(0, 0, 0, .28) 50%) 0 0 / 9px 11px; border-top: 1px solid rgba(255, 255, 255, .25); }
.pack-art .foil { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .55) 38%, transparent 46%, transparent 60%, rgba(255, 255, 255, .25) 70%, transparent 78%); background-size: 250% 100%; mix-blend-mode: overlay; animation: foil 4.5s ease-in-out infinite; }
.pack-art .rays { position: absolute; inset: -50%; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .09) 0 8deg, transparent 8deg 20deg); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pack-art .emblem { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 56%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08) 60%); border: 2px solid rgba(255, 255, 255, .45); box-shadow: 0 0 30px rgba(255, 255, 255, .25); }
.pack-art .emblem svg { width: 56%; color: #fff; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.pack-art .pname { position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; font-family: var(--display); font-weight: 700; font-size: 1.3em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); line-height: 1; padding: 0 8px; }
.pack-art .pcount { position: absolute; left: 0; right: 0; bottom: 10%; text-align: center; font-size: .6em; font-weight: 800; letter-spacing: .18em; color: rgba(255, 255, 255, .85); }
.pack-art .brand { position: absolute; top: 18px; left: 0; right: 0; text-align: center; font-family: var(--display); font-weight: 700; letter-spacing: .3em; font-size: .62em; color: rgba(255, 255, 255, .9); }
.pack img.pack-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }

/* raspadinha */
.scard { --sc: #4b69ff; width: 300px; aspect-ratio: .72; border-radius: 18px; position: relative; overflow: hidden; background: linear-gradient(165deg, color-mix(in srgb, var(--sc) 85%, white 15%), color-mix(in srgb, var(--sc) 50%, black)); box-shadow: 0 24px 50px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 255, 255, .18); user-select: none; }
.scard .s-head { padding: 15px 16px 6px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.scard .s-head h4 { font-size: 20px; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.scard .s-head .max { font-size: 11px; font-weight: 800; background: rgba(0, 0, 0, .3); padding: 4px 9px; border-radius: 999px; }
.scard .s-rule { color: rgba(255, 255, 255, .85); font-size: 11.5px; font-weight: 700; padding: 0 16px; }
.scard .s-area { position: absolute; left: 14px; right: 14px; bottom: 14px; top: 74px; border-radius: 14px; overflow: hidden; background: #f7f5fb; box-shadow: inset 0 2px 10px rgba(0, 0, 0, .25); }
.scard .s-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 6px; padding: 10px; }
.scard .cell { border-radius: 11px; background: #fff; border: 1px dashed rgba(0, 0, 0, .12); display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #1e1e2a; font-size: 20px; text-align: center; line-height: 1; transition: transform .4s var(--spring); }
.scard .cell small { display: block; font-size: 10px; color: #8d8da0; font-family: var(--body); font-weight: 800; margin-bottom: 2px; }
.scard .cell.decoy { font-size: 28px; }
.scard .cell.win { background: linear-gradient(180deg, #fff5c7, #ffd25c); border: 0; box-shadow: 0 0 0 2px #f0a400, 0 0 24px rgba(255, 190, 40, .9); animation: winpop .7s var(--spring) both; }
@keyframes winpop { 50% { transform: scale(1.18) rotate(-3deg); } 100% { transform: scale(1.06); } }
.scard canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.scard.mini { width: 140px; border-radius: 12px; }
.scard.mini .s-head { padding: 9px 9px 4px; } .scard.mini .s-head h4 { font-size: 13px; } .scard.mini .s-head .max, .scard.mini .s-rule { display: none; }
.scard.mini .s-area { top: 36px; left: 9px; right: 9px; bottom: 9px; border-radius: 9px; }
.foilcover { position: absolute; inset: 0; background: linear-gradient(135deg, #c3c3d2, #f3f3fa 40%, #a3a3b8 60%, #e6e6f0); display: grid; place-items: center; color: #6d6d88; font-weight: 900; font-size: 11px; letter-spacing: .16em; }
.rar-label { font-size: 10.5px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.rar-common { color: var(--common); } .rar-rare { color: var(--rare); } .rar-epic { color: var(--epic); } .rar-legendary { color: var(--legendary); } .rar-mythic { color: var(--mythic); }

/* inventário */
.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.inv-item { padding: 14px 12px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.inv-item .visual { height: 200px; display: grid; place-items: center; }
.inv-item .pack { width: 120px; font-size: 12px; }
.inv-item .actions { display: flex; gap: 6px; width: 100%; flex-wrap: wrap; }
.inv-item .actions .btn { flex: 1; padding: 0 8px; font-size: 12px; height: 34px; }
.inv-item .badge { position: absolute; top: 10px; left: 10px; }

/* ------------------------------------------------------------ palco (overlay de abertura) */
.stage { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: safe center; padding: 70px 16px 30px; background: radial-gradient(800px 600px at 50% 45%, rgba(60, 40, 10, .5), rgba(6, 6, 9, .97) 70%); backdrop-filter: blur(8px); animation: fadein .35s ease both; overflow-x: hidden; overflow-y: auto; }
@keyframes fadein { from { opacity: 0; } }
.stage .close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line2); font-size: 18px; z-index: 10; }
.stage .hint { color: var(--muted); font-weight: 700; margin-top: 24px; text-align: center; min-height: 22px; }
.stage .stage-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 5; }
.stage .beam { position: absolute; left: 50%; top: 50%; width: 1600px; height: 1600px; transform: translate(-50%, -50%); background: repeating-conic-gradient(from 0deg, var(--beam, rgba(255, 255, 255, .12)) 0 6deg, transparent 6deg 18deg); mask-image: radial-gradient(circle, #000 0, transparent 55%); animation: spin 18s linear infinite; opacity: 0; transition: opacity .6s; pointer-events: none; }
.stage .beam.on { opacity: 1; }
.stage .scard:not(.mini) { width: min(300px, 86vw, calc((100vh - 230px) * .72)); }
.tear-zone { position: relative; width: min(250px, calc((100vh - 260px) * .66)); touch-action: none; }
.tear-zone .pack { width: 100%; font-size: 18px; }
.tear-zone .pack-top, .tear-zone .pack-body { position: absolute; inset: 0; }
.tear-zone .pack-top { clip-path: inset(0 0 82% 0); z-index: 2; transition: transform 1s var(--ease-out), opacity 1s; }
.tear-zone .pack-body { clip-path: inset(18% 0 0 0); transition: transform .9s var(--ease-out), opacity .9s; }
.tear-zone .pack-ghost { visibility: hidden; }
.tear-zone .cutline { position: absolute; left: 0; top: 18%; height: 3px; width: 0; z-index: 3; background: linear-gradient(90deg, #fff, var(--gold2)); box-shadow: 0 0 14px #fff, 0 0 30px var(--gold); border-radius: 3px; }
.tear-zone .cut-guide { position: absolute; left: -6%; right: -6%; top: calc(18% - 18px); height: 36px; z-index: 4; cursor: ew-resize; border: 2px dashed rgba(255, 255, 255, .35); border-radius: 12px; animation: guide 1.6s ease-in-out infinite; }
@keyframes guide { 50% { border-color: rgba(255, 61, 154, .9); box-shadow: 0 0 20px rgba(255, 61, 154, .4); } }
.tear-zone .cut-guide .scissor { position: absolute; left: -14px; top: 50%; transform: translateY(-50%); font-size: 26px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translate(20px, -50%); } }
.tear-zone.torn .pack-top { transform: translate(140px, -260px) rotate(38deg); opacity: 0; }
.tear-zone.torn .pack-body { transform: translateY(120%); opacity: 0; }
.shake { animation: shake .5s; }
@keyframes shake { 20% { transform: translateX(-6px) rotate(-1deg); } 40% { transform: translateX(6px) rotate(1deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.reveal-row { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; perspective: 1200px; position: relative; z-index: 3; }
.flip { width: min(200px, calc((100vh - 280px) * .72)); aspect-ratio: .72; position: relative; transform-style: preserve-3d; transition: transform .9s var(--ease-out); cursor: pointer; animation: risein .8s var(--spring) both; }
@keyframes risein { from { transform: translateY(160px) scale(.6) rotateY(180deg); opacity: 0; } to { transform: rotateY(180deg); } }
.flip.back-start { transform: rotateY(180deg); }
.flip.open { transform: rotateY(0deg); }
.flip .face-front, .flip .face-back { position: absolute; inset: 0; backface-visibility: hidden; display: grid; place-items: center; }
.flip .face-back { transform: rotateY(180deg); border-radius: 16px; background: radial-gradient(circle at 50% 40%, #3a2a0a, #16120a 70%); border: 2px solid rgba(255, 61, 154, .45); box-shadow: 0 20px 40px rgba(0, 0, 0, .5), inset 0 0 40px rgba(255, 61, 154, .12); }
.flip .face-back::before { content: ''; position: absolute; inset: 10px; border-radius: 10px; border: 1px solid rgba(255, 61, 154, .3); background: repeating-linear-gradient(45deg, rgba(255, 61, 154, .05) 0 10px, transparent 10px 20px); }
.flip .face-back .crest { width: 70px; position: relative; filter: drop-shadow(0 0 16px rgba(255, 61, 154, .6)); }
.flip .face-back.charging { animation: charge 1.1s ease-in both; }
@keyframes charge { 60% { transform: rotateY(180deg) scale(1.04) translateY(-4px); } 100% { box-shadow: 0 0 80px 10px var(--rc); transform: rotateY(180deg) scale(1.08); } }
.flip .scard { width: 100%; }
.flip .rar-tag { position: absolute; bottom: -32px; left: 0; right: 0; text-align: center; }
.win-banner { position: absolute; top: 12%; left: 0; right: 0; text-align: center; z-index: 9; pointer-events: none; }
body > .win-banner { position: fixed; z-index: 450; }
.win-banner .wb-title { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 7vw, 76px); text-transform: uppercase; background: linear-gradient(180deg, #fff, var(--gold2) 40%, var(--gold) 70%, #a3105f); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 24px rgba(255, 61, 154, .55)); animation: wbin .8s var(--spring) both; }
.win-banner .wb-amt { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 5vw, 54px); color: #fff; margin-top: 4px; font-variant-numeric: tabular-nums; animation: wbin .8s .15s var(--spring) both; }
.win-banner .wb-note { color: var(--gold2); font-weight: 700; margin-top: 8px; animation: wbin .8s .3s var(--spring) both; }
@keyframes wbin { from { opacity: 0; transform: scale(.4) translateY(30px); } }
.wheel-wrap { position: relative; width: min(420px, 86vw, calc(100vh - 280px)); aspect-ratio: 1; }
.wheel-wrap canvas { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 10px #22222b, 0 0 0 13px var(--gold), 0 0 60px rgba(255, 61, 154, .35); }
.wheel-wrap .pin { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); border: 18px solid transparent; border-top: 34px solid var(--gold); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); z-index: 2; }
.wheel-wrap .hub { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--gold2), var(--gold) 50%, #9c0f5e); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.wheel-wrap .hub svg { width: 60%; }
.wheel-lights { position: absolute; inset: -9px; border-radius: 50%; pointer-events: none; }
.wheel-lights i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff6d0; box-shadow: 0 0 10px #ffd96b; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ------------------------------------------------------------ jackpot */
.jp-layout { display: grid; grid-template-columns: 1fr 340px; gap: 14px; align-items: start; }
.jp-top { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 22px; position: relative; overflow: hidden; }
.jp-top::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px 200px at 50% 0, rgba(255, 61, 154, .18), transparent 70%); pointer-events: none; }
.jp-pot small { display: block; color: var(--muted); font-weight: 800; font-size: 11px; letter-spacing: .1em; }
.jp-pot b { font-family: var(--display); font-size: clamp(30px, 4vw, 46px); color: var(--gold2); text-shadow: 0 0 30px rgba(255, 61, 154, .35); font-variant-numeric: tabular-nums; }
.timer { --p: 1; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) calc(var(--p) * 360deg), var(--panel3) 0); position: relative; }
.timer::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--panel); }
.timer span { position: relative; font-family: var(--display); font-weight: 700; font-size: 26px; text-align: center; line-height: 1; }
.timer span small { display: block; font-family: var(--body); font-size: 9.5px; color: var(--muted); letter-spacing: .08em; margin-top: 3px; }
.timer.urgent { animation: urg .5s infinite alternate; }
@keyframes urg { to { box-shadow: 0 0 30px rgba(255, 77, 94, .6); } }
.jp-mine { text-align: right; }
.jp-mine b { font-family: var(--display); font-size: 28px; color: var(--green); }
.share-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--panel3); margin: 0 22px 18px; position: relative; }
.share-bar i { display: block; height: 100%; transition: width .6s var(--ease-out); }
.av-strip { position: relative; height: 140px; border-radius: 14px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line2); margin-top: 14px; }
.av-strip .marker { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: var(--gold); z-index: 4; box-shadow: 0 0 18px var(--gold); }
.av-strip .marker::before { content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%); border: 10px solid transparent; border-top-color: var(--gold); }
.av-strip::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(90deg, var(--bg2), transparent 20%, transparent 80%, var(--bg2)); }
.av-strip .strip { position: absolute; top: 18px; bottom: 18px; left: 0; display: flex; gap: 8px; will-change: transform; }
.av-tile { width: 104px; flex: none; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(180deg, var(--panel2), color-mix(in srgb, var(--pc) 30%, var(--panel2))); border-bottom: 3px solid var(--pc); font-size: 11.5px; font-weight: 800; transition: transform .4s var(--spring), box-shadow .4s; }
.av-tile .avatar { --s: 54px; --ab: var(--pc); }
.av-tile span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av-tile.winner { transform: scale(1.1); box-shadow: 0 0 0 2px var(--pc), 0 0 40px var(--pc); z-index: 2; }
.av-strip .waiting { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 700; z-index: 2; text-align: center; padding: 20px; }
.bet-box { padding: 16px; }
.bet-box .quick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 10px 0; }
.bet-box .quick button { height: 34px; border-radius: 9px; background: var(--panel2); border: 1px solid var(--line2); font-weight: 800; font-size: 12.5px; }
.bet-box .quick button:hover { border-color: var(--gold); color: var(--gold2); }
.players { display: flex; flex-direction: column; gap: 8px; padding: 14px; max-height: 520px; overflow-y: auto; }
.pl-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 11px; background: var(--panel2); border-left: 3px solid var(--pc); animation: dropin .5s var(--spring); }
.pl-row .nm { font-weight: 800; font-size: 13px; }
.pl-row .am { font-size: 12px; color: var(--muted); }
.pl-row .ch { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--pc); text-align: right; }
.pl-row.me { background: color-mix(in srgb, var(--gold) 10%, var(--panel2)); }
.fair { font-size: 11px; color: var(--dim); word-break: break-all; font-family: ui-monospace, monospace; }
.hist-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }

.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.room-card { padding: 16px; display: flex; flex-direction: column; gap: 12px; cursor: pointer; transition: transform .3s var(--ease-out), border-color .3s; }
.room-card:hover { transform: translateY(-3px); border-color: var(--line2); }
.room-card h3 { font-size: 16px; }
.stack { display: flex; }
.stack .avatar { --s: 32px; margin-left: -8px; border-color: var(--panel); }
.stack .avatar:first-child { margin-left: 0; }
.stack .slot-empty { width: 32px; height: 32px; border-radius: 50%; margin-left: -8px; border: 2px dashed var(--line2); background: var(--bg2); }
.prog { height: 6px; border-radius: 99px; background: var(--panel3); overflow: hidden; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--gold2)); }

/* ------------------------------------------------------------ batalhas */
.battle-grid { display: flex; flex-direction: column; gap: 10px; }
.battle-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 18px; align-items: center; padding: 14px 16px; }
.battle-row .cases-mini { display: flex; gap: 6px; overflow-x: auto; }
.mini-case { width: 54px; height: 54px; border-radius: 10px; flex: none; display: grid; place-items: center; font-size: 24px; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--c) 45%, transparent), var(--panel2) 70%); border: 1px solid var(--line2); position: relative; }
.mini-case img { width: 44px; height: 44px; object-fit: contain; }
.mini-case .q { position: absolute; bottom: -4px; right: -4px; font-size: 10px; font-weight: 800; background: var(--gold); color: #ffffff; border-radius: 6px; padding: 1px 5px; }
.bt-arena { display: grid; gap: 10px; }
.bt-col { padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; position: relative; transition: box-shadow .5s, border-color .5s; }
.bt-col.win { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 40px rgba(255, 61, 154, .25); }
.bt-col.lose { opacity: .55; }
.bt-head { display: flex; align-items: center; gap: 10px; }
.bt-head .avatar { --s: 42px; }
.bt-total { margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--gold2); font-variant-numeric: tabular-nums; }
.reel { height: 150px; border-radius: 12px; overflow: hidden; position: relative; background: var(--bg2); border: 1px solid var(--line); }
.reel::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--gold); box-shadow: 0 0 12px var(--gold); z-index: 3; opacity: .7; }
.reel::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(var(--bg2), transparent 30%, transparent 70%, var(--bg2)); }
.reel .vstrip { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; will-change: transform; }
.reel .vitem { height: 100px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 800; font-size: 12.5px; border-bottom: 2px solid var(--rc); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--rc) 22%, transparent)); }
.reel .vitem .ico { font-size: 30px; }
.drops-list { display: flex; flex-wrap: wrap; gap: 6px; }
.drops-list .dl { --rc: var(--common); flex: 1 1 70px; min-width: 70px; padding: 6px; border-radius: 9px; text-align: center; font-size: 11px; font-weight: 800; background: color-mix(in srgb, var(--rc) 18%, var(--panel2)); border-bottom: 2px solid var(--rc); animation: dropin .4s var(--spring); }
.slot-wait { height: 150px; border-radius: 12px; border: 2px dashed var(--line2); display: grid; place-items: center; color: var(--muted); font-weight: 700; text-align: center; padding: 10px; }
.pick-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; max-height: 50vh; overflow-y: auto; padding-right: 4px; }
.pick-case { --c: #ff3d9a; padding: 10px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); text-align: center; position: relative; }
.pick-case.sel { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, var(--panel2)); }
.pick-case .chest { transform: scale(.6); margin: -20px auto -16px; }
.pick-case .qty { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; }
.pick-case .qty button { width: 28px; height: 28px; border-radius: 8px; background: var(--panel3); font-weight: 800; }

/* ------------------------------------------------------------ torre */
.game-layout { display: grid; grid-template-columns: 330px 1fr; gap: 14px; align-items: start; }
.ctrl { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.ctrl .quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: -6px 0 14px; }
.ctrl .quick button { height: 32px; border-radius: 8px; background: var(--panel2); border: 1px solid var(--line2); font-weight: 800; font-size: 12px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.seg button { height: 38px; border-radius: 9px; background: var(--panel2); border: 1px solid var(--line2); font-weight: 800; font-size: 12.5px; color: var(--muted); }
.seg button.on { border-color: var(--gold); color: var(--gold2); background: color-mix(in srgb, var(--gold) 10%, var(--panel2)); }
.tower { padding: 18px; display: flex; flex-direction: column-reverse; gap: 8px; background: radial-gradient(400px 300px at 50% 100%, rgba(255, 61, 154, .08), transparent 70%), var(--panel); }
.t-row { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; opacity: .45; transition: opacity .3s; }
.t-row.active, .t-row.passed { opacity: 1; }
.t-row .m { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--muted); text-align: right; }
.t-row.active .m { color: var(--gold2); }
.t-doors { display: grid; gap: 8px; }
.door { height: 50px; border-radius: 10px; background: linear-gradient(180deg, var(--panel3), var(--panel2)); border: 1px solid var(--line2); font-size: 22px; display: grid; place-items: center; transition: transform .2s, background .3s, box-shadow .3s; }
.t-row.active .door { cursor: pointer; border-color: rgba(255, 61, 154, .45); box-shadow: inset 0 0 0 1px rgba(255, 61, 154, .1); }
.t-row.active .door:hover { transform: translateY(-3px); background: linear-gradient(180deg, #3a1a2f, #2b1424); }
.door.safe { background: linear-gradient(180deg, #1f6d47, #135235); border-color: var(--green); animation: winpop .5s var(--spring); }
.door.boom { background: linear-gradient(180deg, #7a1f28, #4a1218); border-color: var(--red); animation: shake .5s; }
.door.ghost-safe { background: rgba(47, 224, 138, .1); border-color: rgba(47, 224, 138, .3); }
.big-mult { font-family: var(--display); font-weight: 700; font-size: 30px; color: var(--gold2); }

/* ------------------------------------------------------------ turbo */
.turbo-stage { padding: 24px; display: grid; place-items: center; gap: 18px; background: radial-gradient(400px 300px at 50% 50%, rgba(255, 61, 154, .07), transparent 70%), var(--panel); }
.ring-wrap { position: relative; width: min(380px, 80vw); aspect-ratio: 1; }
.ring-wrap svg { width: 100%; height: 100%; }
.ring-pointer { position: absolute; inset: 0; transition: transform 3.2s cubic-bezier(.12, .7, .1, 1); }
.ring-pointer::before { content: ''; position: absolute; left: 50%; top: -2px; transform: translateX(-50%); border: 12px solid transparent; border-top: 24px solid #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .7)); }
.ring-center { position: absolute; inset: 22%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle, var(--panel2), var(--bg2)); border: 1px solid var(--line2); }
.ring-center b { font-family: var(--display); font-size: clamp(30px, 6vw, 48px); display: block; }
.ring-center small { color: var(--muted); font-weight: 700; }
.ring-center.win b { color: var(--green); } .ring-center.lose b { color: var(--red); }
input[type=range] { width: 100%; accent-color: var(--gold); }

/* ------------------------------------------------------------ modais e toast */
.modal-bg { position: fixed; inset: 0; z-index: 300; background: rgba(5, 5, 8, .75); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fadein .25s; }
.modal { width: min(460px, 100%); max-height: 92vh; overflow-y: auto; padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: modalin .4s var(--spring); position: relative; }
.modal.wide { width: min(760px, 100%); }
@keyframes modalin { from { transform: translateY(30px) scale(.95); opacity: 0; } }
.modal h3 { font-size: 22px; margin-bottom: 6px; text-transform: uppercase; }
.modal .x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; background: var(--panel2); }
.auth-gift { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(90deg, rgba(47, 224, 138, .15), rgba(47, 224, 138, .03)); border: 1px solid rgba(47, 224, 138, .35); margin: 14px 0 18px; font-weight: 700; font-size: 13.5px; }
.auth-gift .g { font-size: 28px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.check input { margin-top: 2px; accent-color: var(--gold); width: 16px; height: 16px; }
.toasts { position: fixed; top: 76px; right: 18px; z-index: 400; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; min-width: 250px; max-width: 360px; padding: 12px 15px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line2); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); font-weight: 700; font-size: 13.5px; animation: toastin .45s var(--spring); display: flex; gap: 10px; align-items: center; }
.toast.err { border-color: rgba(255, 77, 94, .5); } .toast.ok { border-color: rgba(47, 224, 138, .45); }
.toast.out { animation: toastout .3s forwards; }
@keyframes toastin { from { transform: translateX(40px); opacity: 0; } }
@keyframes toastout { to { transform: translateX(40px); opacity: 0; } }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.amount-grid button { height: 44px; border-radius: 11px; background: var(--panel2); border: 1px solid var(--line2); font-weight: 800; }
.amount-grid button.on { border-color: var(--gold); color: var(--gold2); }
.pix-box { padding: 14px; border-radius: 12px; background: var(--bg2); border: 1px dashed var(--line2); font-family: ui-monospace, monospace; font-size: 12px; word-break: break-all; color: var(--muted); }
.level-card { padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.level-badge { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 32px; color: #ffffff; background: linear-gradient(145deg, var(--gold2), var(--gold) 50%, var(--orange)); box-shadow: 0 10px 30px rgba(255, 61, 154, .3); }
.bar { height: 9px; border-radius: 999px; background: var(--panel3); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--gold), var(--gold2)); transition: width 1s var(--ease-out); }
.levels-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.levels-track .lv { padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.levels-track .lv.cur { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 7%, var(--panel)); }
.levels-track .lv b { display: block; font-family: var(--display); font-size: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.stat { padding: 16px; }
.stat .k { color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: .05em; }
.stat .v { font-family: var(--display); font-weight: 700; font-size: 25px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: var(--muted); font-weight: 800; font-size: 11.5px; padding: 10px 12px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .04em; }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
.lock-note { padding: 13px 15px; border-radius: 12px; background: rgba(255, 61, 154, .07); border: 1px solid rgba(255, 61, 154, .28); font-size: 13px; line-height: 1.5; }
.bottomnav { display: none; }
footer { max-width: 1340px; margin: 0 auto; padding: 26px 20px 110px; color: var(--dim); font-size: 12px; line-height: 1.6; border-top: 1px solid var(--line); }
footer .age { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); font-weight: 900; margin-right: 10px; vertical-align: middle; }

/* ------------------------------------------------------------ responsivo */
@media (max-width: 1440px) {
  .modes a .lb { display: none; }
  .modes a { padding: 0 12px; }
  .modes a.on .lb { display: inline; }
}
@media (max-width: 1100px) {
  .modes-grid { grid-template-columns: repeat(3, 1fr); }
  .jp-layout, .game-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .battle-row { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 680px) {
  main { padding: 14px 14px 110px; }
  .topbar { padding: 0 12px; gap: 8px; }
  .modes, .pts-pill, .icon-btn.desk { display: none; }
  .logo b { display: none; }
  .livebar { padding: 8px 12px; height: 84px; }
  .live-label { width: 60px; }
  .drop { width: 80px; height: 68px; }
  .banner { padding: 24px; min-height: 230px; }
  .banner .art { font-size: 90px; right: 10px; top: auto; bottom: 10px; transform: none; opacity: .5; }
  .hero-side { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-cases { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .chest { transform: scale(.85); }
  .grid-packs, .inv-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pack-card .pack-stage { height: 180px; } .pack-card .pack { width: 104px; font-size: 12px; }
  .jp-top { grid-template-columns: 1fr auto; }
  .jp-top .jp-mine { grid-column: 1 / -1; text-align: left; }
  .r-item { width: 116px; }
  .scard.mini { width: 124px; }
  .bottomnav { display: flex; position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 60; justify-content: space-around; padding: 6px; border-radius: 16px; background: rgba(25, 25, 32, .95); backdrop-filter: blur(14px); border: 1px solid var(--line2); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
  .bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; font-weight: 800; color: var(--muted); padding: 6px 8px; border-radius: 10px; }
  .bottomnav a .i { font-size: 19px; }
  .bottomnav a.on { color: var(--gold); background: rgba(255, 61, 154, .08); }
  .bal-pill .bal { padding: 0 10px; font-size: 14px; }
  .bal-pill .dep { padding: 0 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------ ícones (Phosphor, preenchidos) */
.ph-fill { line-height: 1; vertical-align: -0.12em; }
.modes a .ic { font-size: 19px; display: grid; place-items: center; }
.modes a:not(.on) .ic { color: var(--gold); }
.icon-btn .ph-fill { font-size: 18px; }
.pts-pill .ph-fill { margin-right: 5px; color: #b98cff; }
.bal-pill .bal small .ph-fill { font-size: 10px; }
.sec-head .sec-ic { color: var(--gold); font-size: 19px; }
.mode-tile .mi { color: rgba(255, 255, 255, .92); font-size: 58px; }
.banner .art { color: rgba(255, 255, 255, .9); line-height: 1; }
.banner.b-jack .art { color: var(--gold2); filter: drop-shadow(0 0 40px rgba(255, 61, 154, .5)); }
.banner.b-battle .art { color: #ff8ac6; filter: drop-shadow(0 0 30px rgba(255, 61, 154, .5)); }
.banner.b-bonus .art { color: #c4b5ff; filter: drop-shadow(0 0 30px rgba(123, 92, 255, .5)); }
.drop .d-ic { color: color-mix(in srgb, var(--rc) 45%, white); filter: drop-shadow(0 0 10px var(--rc)); }
.r-item .ico, .reel .vitem .ico { color: color-mix(in srgb, var(--rc) 45%, white); filter: drop-shadow(0 0 14px var(--rc)); }
.drops-list .dl .ph-fill { color: color-mix(in srgb, var(--rc) 45%, white); }
.chest .emb { color: #5b0b33; font-size: 24px; }
.mini-case { color: color-mix(in srgb, var(--c) 50%, white); }
.door .ph-fill { font-size: 24px; }
.door.safe .ph-fill { color: #b8ffd9; filter: drop-shadow(0 0 10px var(--green)); }
.door.boom .ph-fill { color: #ffd0d5; }
.door.ghost-safe .ph-fill { color: var(--green); }
.empty .big { color: var(--gold); }
.auth-gift .g { color: var(--green); }
.toast > span:first-child { color: var(--gold); }
.tear-zone .scissor { color: #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .8)); }
.bottomnav a .i { display: grid; place-items: center; }
.timer span { display: flex; flex-direction: column; align-items: center; }
.btn .ph-fill { font-size: 1.15em; }
