/* Tema festivo verde/dourado no formato de app (coluna central), igual em todas as telas. */
:root {
  --bg: #063F30;
  --panel: #0A4C3A;
  --panel2: rgba(255,255,255,.08);
  --panel3: rgba(255,255,255,.15);
  --line: rgba(255,255,255,.1);
  --muted: #b5d4c8;
  --accent: #FFE600;
  --accent-ink: #3b2600;
  --green: #00A63E;
  --gold: #FFC93C;
  --win: #3DFF8F;
  --col: 500px;
}
html { background: #021f17; }
body { background: transparent; }
.install, .top, .layout { max-width: var(--col); margin-left: auto; margin-right: auto; }
.layout { display: block; background: var(--bg); min-height: 100vh; box-shadow: 0 0 60px rgba(0,0,0,.5); }
main { padding: 6px 12px 110px !important; }

/* Faixa "instalar" */
.install { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #0f2a22; font-size: 13px; font-weight: 600; }
.install .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); overflow: hidden; flex: none; }
.install .ic svg { width: 100%; height: 100%; }
.install span { flex: 1; line-height: 1.25; }
.install .btn { padding: 8px 14px; font-size: 13px; background: var(--green); color: #fff; }
.install .x { border: 0; background: none; color: var(--muted); font-size: 20px; padding: 0 4px; }

/* Topo */
.top { position: sticky; top: 0; height: 58px; padding: 0 12px; gap: 10px; background: #08392b; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.topnav { display: none; }
.menu-btn { width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--panel2); display: grid; place-items: center; }
.menu-btn svg { width: 22px; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.brand { font: 900 22px/1 var(--display); font-style: italic; letter-spacing: -.02em; color: var(--accent); text-shadow: 0 2px 0 #b35c00, 0 0 12px rgba(255,200,0,.45); }
.bolt { width: 30px; height: 30px; background: linear-gradient(#FFE600, #FF9F00); box-shadow: 0 2px 0 #9a5200; }
.account .btn { padding: 9px 16px; font: 800 14px var(--display); }
.btn-login { background: linear-gradient(#FFF35A, #FFC400) !important; color: #4a2c00 !important; box-shadow: 0 3px 0 #b07800; }
.btn-reg { position: relative; background: linear-gradient(#2BD960, #00A13A) !important; color: #fff !important; box-shadow: 0 3px 0 #006e27; }
.btn-reg em { position: absolute; top: -10px; right: -6px; padding: 1px 7px; border-radius: 99px; background: #FF2D2D; color: #fff; font: 800 10px/16px Inter; font-style: normal; animation: badge 1.2s ease-in-out infinite; }
@keyframes badge { 50% { transform: scale(1.12) rotate(-4deg); } }
.balance { background: rgba(0,0,0,.3); color: #fff; font-size: 15px; }
.balance i { background: linear-gradient(#FFE600, #FF9F00); }

/* Botões festivos com brilho */
.btn.primary, .btn.dark, .btn.light { position: relative; overflow: hidden; }
.btn.primary { background: linear-gradient(#FFF35A, #FFC400); color: #4a2c00; box-shadow: 0 4px 0 #b07800; }
.btn.primary:hover:not(:disabled) { background: linear-gradient(#FFF680, #FFD000); }
.btn.dark { background: linear-gradient(#2BD960, #00A13A) !important; color: #fff !important; box-shadow: 0 4px 0 #006e27; }
.btn.light { background: #fff; color: #063F30; box-shadow: 0 4px 0 rgba(0,0,0,.2); }
.btn.win { background: linear-gradient(#5CFFA8, #16D46B); box-shadow: 0 4px 0 #0a8a44; }
.btn.primary::after, .btn.dark::after, .shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: sweep 2.8s ease-in-out infinite; pointer-events: none; }
@keyframes sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.btn:disabled::after { display: none; }

/* Carrossel festivo */
.slides { border-radius: 16px; }
.slide { display: block; position: relative; min-height: 0; aspect-ratio: 16/8.4; padding: 18px 20px; background: var(--c); overflow: hidden; }
.slide::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 40%, rgba(255,255,255,.35), transparent 55%), repeating-conic-gradient(from 0deg at 75% 45%, rgba(255,255,255,.09) 0 10deg, transparent 10deg 20deg); }
.slide-text { position: relative; z-index: 2; width: 62%; }
.slide h1, .slide h2 { font: 900 25px/1.02 var(--display) !important; letter-spacing: -.02em; text-transform: uppercase; color: #fff; -webkit-text-stroke: 1px rgba(0,0,0,.25); text-shadow: 0 3px 0 rgba(0,0,0,.35); margin: 0 0 6px; max-width: none; }
.slide h1 b, .slide h2 b { color: var(--accent); }
.slide p { font-size: 13px !important; font-weight: 600; margin: 0 0 10px !important; color: #fff; max-width: none; }
.slide .btn.dark { padding: 9px 16px; font-size: 14px; }
.slide-pic { position: absolute; right: -4%; bottom: -6%; width: 46%; z-index: 1; }
.slide-pic svg { width: 100%; max-height: none; }
.slide-pic .tiger-svg { animation: bob 3.2s ease-in-out infinite; transform-origin: bottom center; }
.slide .coins-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.coins-deco i { position: absolute; width: 22px; height: 22px; animation: floaty 3s ease-in-out infinite; }
.coins-deco i svg { width: 100%; height: 100%; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(20deg); } }
.dots { left: 50%; transform: translateX(-50%); bottom: 8px; z-index: 3; }
.dots button { background: rgba(255,255,255,.45); width: 6px; height: 6px; }
.dots button.on { background: #fff; width: 16px; }

/* Mini promoções */
.promo-strip { gap: 8px; margin-bottom: 10px; }
.pstrip { position: relative; min-height: 78px; padding: 10px; border-radius: 12px; overflow: hidden; justify-content: flex-start; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); }
.pstrip b { font: 900 14px/1.05 var(--display) !important; text-transform: uppercase; text-shadow: 0 2px 0 rgba(0,0,0,.3); position: relative; z-index: 2; }
.pstrip span { font-size: 11px !important; font-weight: 700; position: relative; z-index: 2; color: var(--accent); text-shadow: 0 1px 0 rgba(0,0,0,.4); }
.pstrip .pic { position: absolute; right: -6px; bottom: -8px; width: 54%; z-index: 1; }
.pstrip .pic svg { width: 100%; display: block; }

/* Aviso */
.ticker { height: 38px; border-radius: 10px; background: rgba(0,0,0,.25); margin-bottom: 12px; padding-right: 6px; }
.tk-ico svg { stroke: var(--accent); }
.ticker-track { color: #fff; font-size: 13px; }
.ticker .mail { width: 30px; height: 26px; border-radius: 6px; background: var(--gold); display: grid; place-items: center; flex: none; }
.ticker .mail svg { width: 18px; fill: none; stroke: #6b3d00; stroke-width: 2; }

/* Categorias em círculos */
.cats { gap: 6px; margin-bottom: 14px; }
.cats button { flex-direction: column; gap: 4px; padding: 0 !important; background: none !important; color: #fff !important; font-size: 12px; font-weight: 600; min-width: 62px; }
.cats button > svg, .cats .mini { width: 46px !important; height: 46px !important; border-radius: 50% !important; padding: 10px; background: linear-gradient(#2BD960, #00A13A) !important; box-shadow: 0 3px 0 #006e27; stroke: #fff; }
.cats .mini svg { border-radius: 50%; }
.cats .mini { padding: 3px !important; }
.cats button.on > svg, .cats button.on .mini { box-shadow: 0 0 0 3px var(--accent), 0 3px 0 #006e27; }

/* Seções de jogos */
.row-sec { margin-bottom: 18px; }
.section-head { align-items: center; margin-bottom: 8px; }
.section-head h2 { font: 800 18px var(--display); display: flex; align-items: center; gap: 6px; }
.section-head h2 .fire { width: 22px; height: 22px; }
.sec-count { margin-left: auto !important; margin-right: 0 !important; padding: 4px 10px; border-radius: 99px; background: rgba(0,0,0,.25); color: var(--muted) !important; font-size: 12px !important; }
.sec-count b { color: #fff; margin-left: 4px; }
.row-arrows { display: flex !important; }
.row-arrows button { width: 28px; height: 28px; font-size: 18px; background: rgba(0,0,0,.25); border-radius: 8px; }
.more-btn { padding: 4px 12px; border: 0; border-radius: 8px; background: rgba(0,0,0,.25); color: #fff; font-size: 12px; font-weight: 700; }
.row-scroll { grid-auto-columns: 31% !important; gap: 8px !important; }
.row-scroll.all { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto !important; overflow: visible; }
.card-game { border-radius: 12px; padding: 8px 8px 9px !important; aspect-ratio: 3/4; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.card-game svg.art { height: 74% !important; }
.card-game b { font: 900 13px/1 var(--display); text-transform: uppercase; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.card-game span { font-size: 10px; }
.card-game.light b { text-shadow: none; }
.card-game .play { width: 30px; height: 30px; top: 8px; right: 8px; }
.card-game::after { content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s; z-index: 1; pointer-events: none; }
.card-game:hover::after { left: 140%; }

/* Caixas */
.box { background: rgba(0,0,0,.2); border-radius: 14px; padding: 14px; }
.box h3 { font-size: 16px; }
tr:nth-child(even) td { background: rgba(255,255,255,.04); }
table { font-size: 13px; }
.rank div { background: rgba(255,255,255,.05); }
.two-col { grid-template-columns: 1fr !important; gap: 12px; }
.foot { margin-top: 30px; font-size: 12px; }
.foot .big { color: rgba(255,255,255,.08); font-size: 64px; }
.page-title { font-size: 24px; }

/* Barra de baixo com botão central dourado */
.tabbar { display: grid !important; grid-template-columns: repeat(5, 1fr) !important; align-items: end; position: fixed; left: 50%; right: auto; bottom: 0; transform: translateX(-50%); width: min(100%, var(--col)); z-index: 40; background: #08392b; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 14px rgba(0,0,0,.3); }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; }
.tabbar .on { color: var(--accent); }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabbar .center { position: relative; }
.tabbar .center i { display: grid; place-items: center; width: 54px; height: 54px; margin-top: -28px; border-radius: 16px; background: linear-gradient(#FFF35A, #FFB800); color: #6b3d00; box-shadow: 0 0 0 4px #08392b, 0 4px 0 6px #b07800; transform: rotate(45deg); }
.tabbar .center i > svg { transform: rotate(-45deg); width: 28px; height: 28px; }
.tabbar .center em { position: absolute; top: -26px; right: calc(50% - 32px); width: 12px; height: 12px; border-radius: 50%; background: #FF2D2D; box-shadow: 0 0 0 2px #08392b; }
.tabbar .center span { margin-top: 6px; color: var(--accent); }

/* Menu lateral (gaveta) */
.side { display: block !important; position: fixed !important; top: 0 !important; left: 0; height: 100vh !important; width: 280px; z-index: 55; background: #08392b; transform: translateX(-105%); transition: transform .3s var(--ease); padding-top: 16px !important; box-shadow: 10px 0 30px rgba(0,0,0,.4); }
.side.open { transform: none; }
.side a { color: #e6f3ee; }
.side a.on { background: rgba(255,255,255,.1); }
.side h4 { color: var(--muted); }
.drawer-bg { position: fixed; inset: 0; z-index: 54; background: rgba(0,0,0,.55); }

/* Ícones flutuantes */
.floaters { position: fixed; z-index: 35; bottom: 96px; right: max(10px, calc(50% - var(--col) / 2 + 10px)); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.floater { position: relative; width: 64px; border: 0; background: none; padding: 0; animation: hop 2.4s ease-in-out infinite; }
.floater:nth-child(2) { animation-delay: .8s; }
.floater svg { width: 100%; display: block; filter: drop-shadow(0 4px 6px rgba(0,0,0,.4)); }
.floater b { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); padding: 1px 8px; border-radius: 99px; background: linear-gradient(#FFF35A, #FFC400); color: #6b3d00; font: 800 11px/16px var(--display); white-space: nowrap; box-shadow: 0 2px 0 #b07800; }
.floater .x { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; line-height: 18px; text-align: center; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-8px) rotate(-6deg); } 80% { transform: translateY(0) rotate(5deg); } 90% { transform: translateY(-3px) rotate(-2deg); } }

/* Pop-ups de entrada */
.popup { position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.72); animation: fade .25s; }
.popup-card { position: relative; width: min(100%, 360px); text-align: center; animation: bigpop .5s cubic-bezier(.2,1.4,.4,1); }
.popup-art { position: relative; border-radius: 20px; overflow: hidden; background: #E8202A; padding: 18px 16px 20px; color: #fff; box-shadow: 0 0 0 4px var(--gold), 0 0 40px rgba(255,200,0,.4); }
.popup-art::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 38%, rgba(255,230,0,.16) 0 9deg, transparent 9deg 18deg); animation: spin 24s linear infinite; }
.popup-art > * { position: relative; }
.popup-art h2 { margin: 0; font: 900 26px/1.05 var(--display); text-transform: uppercase; color: var(--accent); text-shadow: 0 3px 0 #8a0010; }
.popup-art .tiger-svg { width: 62%; margin: 4px auto -6px; display: block; animation: bob 3s ease-in-out infinite; }
.popup-art .amount { font: 900 44px/1 var(--display); color: #fff; text-shadow: 0 4px 0 #8a0010; margin: 6px 0; }
.popup-art p { margin: 0 0 14px; font-weight: 600; font-size: 14px; }
.popup-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.popup-actions .btn { width: 100%; padding: 12px; }
.popup-close { margin: 16px auto 0; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; background: none; color: #fff; font-size: 18px; display: grid; place-items: center; }

/* Chuva de envelopes */
.rain { position: fixed; inset: 0; z-index: 70; background: rgba(60,0,0,.78); overflow: hidden; animation: fade .3s; }
.rain h2 { position: absolute; top: 12%; left: 0; right: 0; text-align: center; margin: 0; font: 900 30px var(--display); color: var(--accent); text-shadow: 0 3px 0 #8a0010; text-transform: uppercase; z-index: 2; pointer-events: none; }
.rain h2 small { display: block; font: 700 15px Inter; color: #fff; text-transform: none; text-shadow: none; margin-top: 6px; }
.drop { position: absolute; top: -90px; width: 58px; border: 0; background: none; padding: 0; animation: fall linear forwards; }
.drop svg { width: 100%; display: block; filter: drop-shadow(0 4px 6px rgba(0,0,0,.4)); }
@keyframes fall { to { transform: translateY(calc(100vh + 120px)) rotate(var(--rot)); } }
.reveal { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; }
.reveal-card { width: 240px; padding: 26px 18px; border-radius: 22px; background: #E8202A; text-align: center; color: #fff; box-shadow: 0 0 0 4px var(--gold), 0 0 50px rgba(255,200,0,.5); animation: bigpop .5s cubic-bezier(.2,1.4,.4,1); }
.reveal-card b { display: block; font: 900 46px/1 var(--display); color: var(--accent); text-shadow: 0 3px 0 #8a0010; margin: 6px 0 14px; }

/* Telas internas na coluna */
.game { grid-template-columns: 1fr !important; border-radius: 0 0 16px 16px; background: rgba(0,0,0,.2); }
.controls { order: 2; background: transparent; padding: 14px; }
.game-head { border-radius: 16px 16px 0 0; padding: 10px 14px 10px 10px; }
.game-head h1 { font-size: 22px; text-transform: uppercase; font-weight: 900; text-shadow: 0 2px 0 rgba(0,0,0,.3); }
.game-head.light h1 { text-shadow: none; }
.game-head p { font-size: 13px; }
.game-head .thumb { width: 52px; height: 52px; }
.stage { padding: 56px 12px 18px; overflow-x: auto; }
.input { background: rgba(0,0,0,.28); }
.input:focus { background: rgba(0,0,0,.4); }
.seg { background: rgba(0,0,0,.28); }
.seg button.on { background: var(--accent); color: #4a2c00; }
.reels { grid-template-columns: repeat(3, 92px) !important; }
.reel { height: 276px !important; }
.sym { height: 92px !important; }
.sym svg { width: 62px !important; height: 62px !important; }
.dbl-tile { width: 70px !important; height: 70px !important; font-size: 22px !important; }
.dbl-window { height: 94px !important; }
.rl-board, .rl-dozens, .rl-out { min-width: 600px; align-self: flex-start; }
.mines-grid { gap: 7px; }
.keno-grid { grid-template-columns: repeat(8, 1fr); gap: 5px; }
.keno-grid .tile { font-size: 13px; }

.promo-hero, .promo-card, .vip-sec, .wall, .wheel-page, .invite-hero, .invite-banner { padding: 18px !important; border-radius: 18px !important; }
.promo-hero { background: linear-gradient(#FFE600, #FFB800); }
.promo-hero h2, .promo-card h2, .invite-banner h2 { font-size: 24px !important; text-transform: uppercase; font-weight: 900; }
.cal { grid-template-columns: repeat(4, 1fr) !important; }
.cal-day.big { grid-column: span 2; }
.promo-grid { grid-template-columns: 1fr !important; }
.vip-sec { background: rgba(0,0,0,.2); }
.mission { background: rgba(255,255,255,.07); }
.bar { background: rgba(0,0,0,.3); }
.wheel-page, .invite-hero { grid-template-columns: 1fr !important; min-height: 0 !important; }
.wheel-page h1, .invite-hero h1, .wall h1 { font-size: 34px !important; text-transform: uppercase; font-weight: 900; }
.wheel-wrap { order: -1; width: min(100%, 340px) !important; }
.inv-art { display: none; }
.chests { grid-template-columns: repeat(3, 1fr) !important; }
.copy { flex-direction: column; }
.wall { background: linear-gradient(#FFE600, #FFB800); }
.kpis { grid-template-columns: repeat(2, 1fr); }
.kpi { background: rgba(0,0,0,.22); }
.modal-box { background: #0A4C3A; }
.tabs, .welcome-box { }
.toast { bottom: 96px; }

@media (prefers-reduced-motion: reduce) {
  .btn.primary::after, .btn.dark::after, .shine::after, .floater, .slide-pic .tiger-svg, .popup-art::before { animation: none !important; }
}

/* Banners com arte do Gemini */
.slide.photo { background-size: cover; background-position: right center; }
.slide.photo::before { background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, transparent 70%); }
.slide.photo .slide-text { width: 58%; }
.pstrip .pic img { width: 100%; display: block; }
.pstrip .pic { width: 72%; right: -12%; bottom: -16%; }
.pstrip:hover .pic img { transform: scale(1.06) rotate(-3deg); }
.pstrip .pic img { transition: transform .35s var(--ease); }
