/* Lotérica 9 de Julho (08/10/2026) — modelo da Sorte no Atacado com a identidade da arte do dono:
   azul-real vivo + ouro + prata, toques laranja/azul-céu do trevo. Fontes: Montserrat (títulos, o peso
   das letras da arte), Manrope (números), DM Sans (texto). */
:root {
  --ink-0: #000a26;
  --ink-1: #001542;
  --ink-2: #001f5c;
  --ink-3: #002d7a;
  --royal: #0b5ad6;
  --sky: #38b6ff;
  --orange: #ff9a1f;
  --silver: linear-gradient(180deg, #ffffff 0%, #eef2f8 45%, #b9c4d6 70%, #f4f7fb 100%);
  --gold-0: #fff7da;
  --gold-1: #f6d77c;
  --gold-2: #e3ae42;
  --gold-3: #a8730f;
  --gold-4: #5d3e06;
  --paper: #fbf8f1;
  --text: #e6ebf7;
  --muted: #9cadd4;
  --line: rgba(246, 215, 124, .22);
  --green: #35d98a;
  --radius: 20px;
  --shadow: 0 30px 70px rgba(0,9,22, .45);
  --gold-grad: linear-gradient(180deg, #fff3c4 0%, #f6d77c 38%, #e3ae42 70%, #b98012 100%);
  --gold-text: linear-gradient(100deg, #b98012 0%, #f6d77c 20%, #fff7da 30%, #e3ae42 45%, #b98012 60%, #f6d77c 78%, #fff7da 86%, #e3ae42 100%);
  --dock-h: 0px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink-1); color: var(--text); font: 400 16px/1.55 "DM Sans", system-ui, sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
svg.lucide { width: 18px; height: 18px; stroke-width: 2; flex: 0 0 auto; }
:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: "Manrope", sans-serif; font-variant-numeric: tabular-nums; }
em { font-style: normal; }
body.locked { overflow: hidden; }

/* ---------- botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent;
  font: 800 14px "Manrope", sans-serif; letter-spacing: .2px; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 58px; padding: 0 26px; font-size: 15px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-gold {
  color: #241703; background: var(--gold-grad); border-color: #fff0bf; overflow: hidden;
  box-shadow: inset 0 1px 0 #fffbe8, inset 0 -2px 0 rgba(120,80,5,.35), 0 6px 0 #8a5a0c, 0 18px 30px rgba(0,0,0,.35);
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%);
  background-size: 300% 100%; background-position: 130% 0; animation: sheen 5.5s ease-in-out infinite;
}
.btn-gold:active { box-shadow: inset 0 1px 0 #fffbe8, 0 2px 0 #8a5a0c, 0 8px 16px rgba(0,0,0,.3); }
.btn-royal {
  color: #fff; border-color: rgba(246,215,124,.75);
  background: linear-gradient(180deg, #3a72e6 0%, #1357be 48%, #0e408a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 5px 0 #092b5e, 0 14px 26px rgba(0,17,43,.45);
  text-shadow: 0 1px 1px rgba(0,17,43,.5);
}
.btn-glass { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(246,215,124,.45); backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: var(--gold-1); box-shadow: 0 0 26px rgba(246,215,124,.2); }
.btn-ghost { color: var(--muted); background: transparent; border-color: rgba(156,173,212,.35); }
.btn-ghost-gold { color: var(--gold-1); background: rgba(246,215,124,.06); border-color: rgba(246,215,124,.5); }
.btn-ghost-gold:hover { background: rgba(246,215,124,.12); }
@keyframes sheen { 0%, 62% { background-position: 130% 0; } 100% { background-position: -40% 0; } }

.coin-mini {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
  background: url("assets/selo-256.webp") center / 100% no-repeat;
  box-shadow: 0 0 0 2px rgba(246,215,124,.85), 0 3px 8px rgba(0,0,0,.4);
}
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(246,215,124,.4); background: rgba(255,255,255,.05); color: var(--gold-1); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-1); font: 800 11.5px "Manrope", sans-serif; letter-spacing: 2.4px; text-transform: uppercase; }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.live-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(53,217,138,.6); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- 18+ ---------- */
.gate { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 110px 20px 20px; overflow-y: auto;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, #0c3777 0%, #04142b 60%, #020c1a 100%); }
html.age-ok .gate { display: none; }
html:not(.age-ok) body { overflow: hidden; }
.gate.leaving { animation: gate-out .8s cubic-bezier(.6,0,.3,1) forwards; }
@keyframes gate-out { 0%, 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.04); visibility: hidden; } }
.gate-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 28%, rgba(246,215,124,.22), transparent 40%); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; } }
.gate-card { position: relative; width: min(520px, 100%); text-align: center; padding: 30px 26px 26px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(11,49,106,.75), rgba(4,20,43,.85)); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.gate-coin { width: 150px; height: 150px; margin: -105px auto 18px; perspective: 900px; }
.gate-coin-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: coin-idle 6s ease-in-out infinite; }
.gate.leaving .gate-coin-inner { animation: coin-flip .8s cubic-bezier(.5,0,.3,1) forwards; }
@keyframes coin-idle { 0%, 100% { transform: rotateY(-14deg) rotateX(4deg); } 50% { transform: rotateY(14deg) rotateX(-4deg); } }
@keyframes coin-flip { to { transform: rotateY(540deg) scale(1.15); } }
.gate-face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; backface-visibility: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.55), 0 0 0 3px rgba(246,215,124,.35); }
.gate-face.back { transform: rotateY(180deg); display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff3c4, #f6d77c 35%, #c98d1a 75%, #6e4806); }
.gate-face.back span { font: 800 46px "Manrope", sans-serif; color: #3a2604; text-shadow: 0 1px 0 rgba(255,250,230,.6); }
.gate h1 { margin: 12px 0 10px; font: 700 clamp(28px, 6vw, 38px) "Montserrat", sans-serif; color: #fff; }
.gate h1 em { background: var(--gold-text); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gold-run 7s linear infinite; }
.gate-copy { color: var(--muted); font-size: 14.5px; }
.gate-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 22px 0 14px; }
.gate-denied { margin: 18px 0 10px; color: #ffd0c4; }
.gate-denied a { color: var(--gold-1); text-decoration: underline; }
.gate-legal { color: #7f8fb5; font-size: 12px; }

/* ---------- cabeçalho ---------- */
.top {
  position: fixed; z-index: 900; top: 0; left: 0; right: 0; height: 74px; padding: 0 max(20px, calc((100vw - 1280px) / 2));
  display: flex; align-items: center; gap: 22px; transition: background .35s, box-shadow .35s, height .35s;
}
.top.scrolled { height: 64px; background: rgba(3,16,35,.84); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line), 0 14px 40px rgba(0,0,0,.35); }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(246,215,124,.55), 0 6px 16px rgba(0,0,0,.5); animation: logo-turn 9s ease-in-out infinite; }
@keyframes logo-turn { 0%, 80%, 100% { transform: rotateY(0); } 90% { transform: rotateY(180deg); } }
.logo strong { display: block; font: 700 17px "Montserrat", sans-serif; letter-spacing: .6px; color: #fff; line-height: 1.1; }
.logo small { display: block; color: var(--gold-1); font: 700 10px "Manrope", sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.top-nav { margin-left: auto; display: flex; gap: 4px; }
.top-nav a { position: relative; padding: 8px 12px; border-radius: 10px; color: #d5ddf0; font: 700 13.5px "Manrope", sans-serif; transition: color .2s, background .2s; }
.top-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.top-nav a.on { color: var(--gold-1); }
.top-nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold-grad); }
.top-buy { min-height: 46px; padding: 0 16px 0 8px; }

/* ---------- HERO: arte do dono à direita (inclina em 3D), texto à esquerda ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero { position: relative; --mx: .5; --my: .5; min-height: max(660px, 100svh); overflow: hidden; background: var(--ink-1); isolation: isolate; }
/* céu: o mesmo degradê da arte (centro azul vivo, borda #001542) para a arte "sumir" no fundo */
.hero-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 48% 62% at 72% 50%, #023a8f 0%, #012a6e 38%, rgba(0,21,66,0) 72%),
    radial-gradient(ellipse 40% 50% at 14% 20%, rgba(56,182,255,.10), transparent 70%),
    linear-gradient(180deg, #001845 0%, var(--ink-1) 100%); }
.hero-sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(0deg, var(--ink-1), transparent); }
.hero-in { position: relative; z-index: 2; width: min(1320px, calc(100% - 40px)); margin: 0 auto; min-height: max(660px, 100svh); padding: 96px 0 70px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px 30px; align-items: center; }
.hero-art { grid-column: 2; grid-row: 1; perspective: 1400px; }
.art-tilt { position: relative; width: 100%; aspect-ratio: 1488 / 985; transform-style: preserve-3d;
  transform: rotateY(calc((var(--mx) - .5) * 14deg)) rotateX(calc((var(--my) - .5) * -9deg)) translateZ(0);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)) drop-shadow(0 0 60px rgba(246,190,80,.18)); }
/* 08/10 (dono): passar o mouse no logo = uma volta inteira, como moeda (app.js põe .spin e tira no fim) */
.art-spin { position: relative; width: 100%; height: 100%; cursor: pointer; }
.art-spin.spin, .foot-logo img.spin { animation: logo-spin 1.15s cubic-bezier(.45,.05,.25,1); }
@keyframes logo-spin {
  0% { transform: perspective(1400px) rotateY(0deg) scale(1); }
  50% { transform: perspective(1400px) rotateY(180deg) scale(1.07); }
  100% { transform: perspective(1400px) rotateY(360deg) scale(1); }
}
.art-tilt img { width: 100%; height: 100%; object-fit: contain; animation: art-in 1.6s .15s cubic-bezier(.2,.8,.2,1) both; }
@keyframes art-in { from { opacity: 0; transform: scale(.92) translateY(18px); filter: blur(6px); } }
/* brilho que respira em cima do trevo (centro medido no logo oval: 50,3% / 15,4%) */
.art-clover { position: absolute; left: 50.3%; top: 15.4%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255,214,140,.38), rgba(56,182,255,.16) 55%, transparent); animation: breathe 4.5s ease-in-out infinite; }
.art-sheen { position: absolute; inset: 0; overflow: hidden; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask: url("assets/logo-oval-900.webp") center / 100% 100% no-repeat; mask: url("assets/logo-oval-900.webp") center / 100% 100% no-repeat; }
.art-sheen::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 26%; transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.05) 30%, rgba(255,248,226,.42) 50%, rgba(255,255,255,.05) 70%, transparent);
  animation: art-sweep 8s ease-in-out infinite 2.2s; }
@keyframes art-sweep { 0%, 62% { left: -60%; } 100% { left: 140%; } }
@keyframes medal-sweep { 0%, 60% { left: -70%; } 100% { left: 140%; } }
@property --ra { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes rim-spin { to { --ra: 360deg; } }
.hero-dust { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero-copy { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy > * { max-width: 580px; }
.hero-title { margin: 18px 0 10px; font-family: "Montserrat", sans-serif; font-weight: 900; line-height: .98; letter-spacing: -.5px; text-transform: uppercase; }
.ht-line { display: block; padding-bottom: .04em; font-size: clamp(34px, 4.1vw, 62px); background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #33415e) drop-shadow(0 12px 22px rgba(0,0,0,.45)); animation: rise 1s .2s both; }
.ht-gold { display: block; padding-bottom: .06em; font-size: clamp(40px, 5.1vw, 80px); background: var(--gold-text); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #5d3e06) drop-shadow(0 16px 28px rgba(233,184,74,.25)); animation: rise 1s .35s both, gold-run 8s linear infinite; }
@keyframes gold-run { to { background-position: -250% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.hero-tag { position: relative; padding-top: 16px; margin-top: 6px; color: #f3ecdb; font: 600 clamp(18px, 1.8vw, 23px) "DM Sans", sans-serif; animation: rise 1s .5s both; }
.hero-tag::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; max-width: 420px; height: 1px; background: linear-gradient(90deg, var(--gold-2), rgba(233,184,74,0)); }
.hero-tag::after { content: ""; position: absolute; left: 44%; top: -4px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-1); box-shadow: 0 0 12px rgba(246,215,124,.9); }
.hero-tag b { color: var(--gold-1); }
.hero-lead { margin-top: 14px; color: #b9c5e2; font-size: 16px; animation: rise 1s .6s both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; animation: rise 1s .7s both; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); margin: 34px 0 0; border-radius: 18px; overflow: hidden;
  background: rgba(4,20,43,.55); border: 1px solid var(--line); backdrop-filter: blur(10px); animation: rise 1s .85s both; }
.hero-stats div { padding: 14px 20px; border-right: 1px solid rgba(246,215,124,.14); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats dt { color: var(--muted); font: 700 10.5px "Manrope", sans-serif; letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap; }
.hero-stats dd { margin: 4px 0 0; color: #fff; font: 800 22px "Manrope", sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
#st-prize { color: var(--gold-1); }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 2px solid rgba(246,215,124,.6); }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-1); animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- faixa de acumulados ---------- */
.marquee { position: relative; z-index: 3; display: flex; align-items: stretch; height: 54px; background: linear-gradient(180deg, #061b3b, #041228); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-label { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 34px 0 22px; color: #241703; background: var(--gold-grad); font: 800 12px "Manrope", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
.marquee-view { flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; width: max-content; height: 100%; animation: marquee var(--dur, 60s) linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-wait { display: flex; align-items: center; padding: 0 24px; color: var(--muted); font-size: 13px; }
.mq { display: flex; align-items: center; gap: 10px; padding: 0 26px; border-right: 1px solid rgba(246,215,124,.12); white-space: nowrap; }
.mq i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.mq strong { font: 800 13px "Manrope", sans-serif; color: #fff; }
.mq b { font: 800 15px "Manrope", sans-serif; color: var(--gold-1); }
.mq small { color: var(--muted); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.sec { position: relative; padding: 100px max(20px, calc((100vw - 1280px) / 2)); }
.sec-dark { background: radial-gradient(ellipse 60% 50% at 80% 0%, rgba(19,87,190,.25), transparent 70%), var(--ink-1); }
.sec-showcase { background: radial-gradient(ellipse 50% 40% at 15% 0%, rgba(246,215,124,.08), transparent 70%), linear-gradient(180deg, var(--ink-2), var(--ink-1)); }
.sec-paper { background: var(--paper); color: #061d40; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head h2 { margin-top: 14px; font: 700 clamp(32px, 4.4vw, 54px) "Montserrat", sans-serif; letter-spacing: .5px; color: #fff; }
.sec-head h2 em { background: var(--gold-text); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gold-run 9s linear infinite; }
.sec-lead { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.sec-paper .sec-head h2 { color: #08234c; }
.sec-paper .sec-head h2 em { background: linear-gradient(100deg, #8a5a0c, #c98d1a 40%, #e3ae42 60%, #8a5a0c); -webkit-background-clip: text; background-clip: text; color: transparent; animation: none; }
.sec-paper .eyebrow { color: #a26d0c; }
.sec-paper .sec-lead { color: #0e3f89; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- próximos sorteios ---------- */
.draws { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.draw, .draw-skel { position: relative; min-height: 186px; border-radius: var(--radius); overflow: hidden; }
.draw-skel { background: linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.04) 70%); background-size: 300% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -300% 0; } }
.draw {
  display: flex; flex-direction: column; gap: 10px; padding: 18px; text-align: left; color: #fff; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  background: radial-gradient(ellipse 90% 70% at 100% 0%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  box-shadow: 0 18px 40px rgba(0,0,0,.3); transition: transform .3s, box-shadow .3s;
}
.draw:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.4), 0 0 0 1px color-mix(in srgb, var(--c) 80%, transparent); }
.draw-art { height: 44px; width: auto; max-width: 170px; object-fit: contain; object-position: left; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.draw-name { font: 800 18px "Manrope", sans-serif; }
.draw-when { color: #c9d3ec; font-size: 13px; }
.draw-clock { display: flex; gap: 6px; font-family: "Manrope", sans-serif; font-variant-numeric: tabular-nums; }
.draw-clock span { min-width: 46px; padding: 6px 4px; border-radius: 10px; text-align: center; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.1); }
.draw-clock b { display: block; font-size: 20px; line-height: 1.1; color: #fff; }
.draw-clock small { display: block; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: #aab6d6; }
.draw-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: #c9d3ec; }
.draw-foot b { color: var(--gold-1); font: 800 14px "Manrope", sans-serif; }
.draw.today::before { content: "HOJE"; position: absolute; right: 14px; top: 14px; padding: 3px 9px; border-radius: 99px; font: 800 10px "Manrope", sans-serif; letter-spacing: 1.4px; color: #241703; background: var(--gold-grad); animation: today 1.6s ease-in-out infinite; }
@keyframes today { 50% { box-shadow: 0 0 0 6px rgba(246,215,124,.15); } }
.draws-empty { grid-column: 1 / -1; padding: 26px; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--muted); }

/* ---------- vitrine: ferramentas ---------- */
.tools { display: grid; gap: 16px; margin-bottom: 26px; }
.mod-rail { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold-3) transparent; }
.mod {
  position: relative; flex: 0 0 auto; scroll-snap-align: start; display: grid; place-items: center; width: 190px; height: 78px; padding: 8px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); transition: transform .25s, border-color .25s, box-shadow .25s, background .25s; overflow: hidden;
}
.mod img { max-height: 54px; width: auto; object-fit: contain; filter: saturate(.85) brightness(.9); transition: filter .25s; }
.mod .mod-name { font: 800 15px "Manrope", sans-serif; color: #fff; display: flex; align-items: center; gap: 6px; }
.mod .mod-count { position: absolute; right: 8px; top: 6px; padding: 1px 7px; border-radius: 99px; font: 800 10px "Manrope", sans-serif; color: #241703; background: var(--gold-grad); }
.mod:hover { transform: translateY(-2px); }
.mod[aria-selected="true"] { border-color: var(--gold-1); background: rgba(246,215,124,.1); box-shadow: 0 0 0 1px var(--gold-1), 0 10px 26px rgba(246,215,124,.18); }
.mod[aria-selected="true"] img { filter: none; }
.mod.all { width: 120px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tools-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; }
.budget { display: grid; gap: 10px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.budget-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: #d5ddf0; }
.budget-top b { color: var(--gold-1); font-family: "Manrope", sans-serif; }
.budget input { width: 100%; accent-color: var(--gold-2); height: 22px; }
.sort { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.sort span { display: flex; gap: 6px; align-items: center; }
.sort select { min-height: 48px; padding: 0 40px 0 14px; border-radius: 14px; border: 1px solid rgba(246,215,124,.4); color: #fff; font-weight: 700;
  background: rgba(4,20,43,.8) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f6d77c' stroke-width='3'><path d='m6 9 6 6 6-6'/></svg>") right 14px center no-repeat; appearance: none; }
.sort select option { background: #061b3b; }

/* ---------- vitrine: cartões ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 20px; }
.card {
  --c: #209869;
  position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #092b5e 0%, #061b3b 100%); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 45px rgba(0,0,0,.35); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  animation: card-in .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px color-mix(in srgb, var(--c) 70%, transparent), 0 0 40px color-mix(in srgb, var(--c) 25%, transparent); }
.card.skel { min-height: 460px; background: linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.04) 70%); background-size: 300% 100%; animation: skel 1.4s linear infinite; }
.card-top { position: relative; padding: 18px 18px 46px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 80%, #fff) 0%, var(--c) 45%, color-mix(in srgb, var(--c) 70%, #000) 100%); overflow: hidden; }
.card-top::before { content: ""; position: absolute; right: -40px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.28), transparent); }
.card-top::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 12px); }
.card-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-art { height: 34px; width: auto; max-width: 160px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); }
.card-mod { font: 800 17px "Manrope", sans-serif; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.card-fav { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.16); color: #fff; }
.card-fav.on { background: #fff; color: #e23d5a; }
.card-fav.on svg { fill: currentColor; }
.card-contest { position: relative; z-index: 1; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.9); }
.card-prize { position: relative; z-index: 2; margin: -34px 16px 0; padding: 14px 16px; border-radius: 18px; text-align: center;
  background: linear-gradient(180deg, #0b336e, #082550); border: 1px solid rgba(246,215,124,.45); box-shadow: 0 14px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08); }
.card-prize small { display: block; color: var(--muted); font: 700 10px "Manrope", sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }
.card-prize b { display: block; margin-top: 2px; font: 800 clamp(24px, 2.4vw, 30px) "Manrope", sans-serif; background: var(--gold-text); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.card-prize span { display: block; color: #c9d3ec; font-size: 12px; }
.card-body { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 18px; flex: 1; }
.card-when { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: #c9d3ec; }
.card-when b { color: #fff; }
.card-when .mono { color: var(--gold-1); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; color: #e3e9f8; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.chip svg { width: 14px; height: 14px; color: var(--gold-1); }
.quota { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.ring { position: relative; width: 66px; height: 66px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .ring-bg { stroke: rgba(255,255,255,.1); }
.ring .ring-fg { stroke: color-mix(in srgb, var(--c) 72%, #fff); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: calc(176 - 176 * var(--p, 0)); transition: stroke-dashoffset 1.2s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--c) 70%, transparent)); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 13px "Manrope", sans-serif; }
.quota-txt strong { display: block; font: 800 16px "Manrope", sans-serif; }
.quota-txt small { color: var(--muted); font-size: 12.5px; }
.hot { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 2px 8px; border-radius: 99px; font: 800 10.5px "Manrope", sans-serif; letter-spacing: .5px; text-transform: uppercase; color: #ffb58a; background: rgba(255,120,60,.14); border: 1px solid rgba(255,140,80,.35); }
.hot svg { width: 12px; height: 12px; color: #ff9a5a; }
.buyrow { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); margin-top: auto; }
.price small { display: block; color: var(--muted); font-size: 11.5px; }
.price b { font: 800 26px "Manrope", sans-serif; color: #fff; }
.stepper { display: inline-grid; grid-template-columns: 38px 40px 38px; align-items: center; border-radius: 12px; overflow: hidden; border: 1px solid rgba(246,215,124,.4); }
.stepper button { height: 40px; border: 0; background: rgba(246,215,124,.1); color: var(--gold-1); font-size: 20px; font-weight: 800; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { text-align: center; font: 800 16px "Manrope", sans-serif; }
.card-actions { display: grid; gap: 8px; }
.card-actions .btn { min-height: 50px; }
.keep { min-height: 42px; border-radius: 12px; border: 1px dashed rgba(246,215,124,.45); background: transparent; color: var(--gold-1); font: 700 13px "Manrope", sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.keep:hover { background: rgba(246,215,124,.07); }
.keep.done { border-style: solid; background: rgba(53,217,138,.12); border-color: rgba(53,217,138,.6); color: #8ff0c0; }
.grid-empty { grid-column: 1 / -1; padding: 40px 24px; text-align: center; border-radius: 24px; border: 1px dashed var(--line); color: var(--muted); }
.grid-empty strong { display: block; margin-bottom: 6px; color: #fff; font: 800 20px "Manrope", sans-serif; }
.grid-empty .btn { margin-top: 16px; }
.grid-more { display: flex; justify-content: center; margin-top: 26px; }
.grid-more[hidden] { display: none; }
.fineprint { display: flex; gap: 8px; align-items: flex-start; margin-top: 26px; color: #8191b8; font-size: 13px; }
.fineprint svg { color: var(--gold-2); margin-top: 2px; }
.sync { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; color: #bfeed6; background: rgba(53,217,138,.1); border: 1px solid rgba(53,217,138,.3); vertical-align: middle; }
.sync svg { width: 14px; height: 14px; }

/* ---------- cofre dos acumulados ---------- */
.sec-vault { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(246,215,124,.12), transparent 65%), linear-gradient(180deg, #041228, #061937); }
.vault { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vault-wait { grid-column: 1 / -1; color: var(--muted); }
.vt { --c: #e3ae42; position: relative; padding: 20px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(246,215,124,.25);
  background: radial-gradient(ellipse 80% 70% at 100% 0%, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); }
.vt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%); background-size: 300% 100%; animation: sheen 7s ease-in-out infinite; }
.vt.first { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-color: rgba(246,215,124,.6); }
.vt img { height: 40px; width: auto; max-width: 170px; object-fit: contain; object-position: left; }
.vt.first img { height: 70px; max-width: 280px; }
.vt small { display: block; margin-top: 12px; color: var(--muted); font: 700 11px "Manrope", sans-serif; letter-spacing: 1.2px; text-transform: uppercase; }
.vt b { display: block; margin-top: 4px; font: 800 26px "Manrope", sans-serif; font-variant-numeric: tabular-nums; background: var(--gold-text); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.vt.first b { font-size: clamp(38px, 5vw, 66px); line-height: 1.05; }
.vt span { display: block; margin-top: 6px; color: #c9d3ec; font-size: 13px; }

/* ---------- Mega da Virada ---------- */
.virada { position: relative; overflow: hidden; padding: 110px 20px; text-align: center; color: #fff;
  background: radial-gradient(ellipse 60% 70% at 50% 40%, #0f4799 0%, #061b3b 55%, #020c1a 100%); }
.virada::before { content: "2027"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 800 min(38vw, 460px) "Manrope", sans-serif; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(246,215,124,.13); pointer-events: none; }
.virada-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.virada-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.virada h2 { font: 700 clamp(44px, 8vw, 104px) "Montserrat", sans-serif; line-height: 1; }
.virada h2 span { color: #f7f2e4; }
.virada h2 strong { background: var(--gold-text); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gold-run 6s linear infinite; filter: drop-shadow(0 4px 0 #5d3e06); }
.virada-prize small { display: block; color: var(--muted); font: 700 12px "Manrope", sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.virada-prize b { font: 800 clamp(34px, 5vw, 58px) "Manrope", sans-serif; color: var(--gold-1); text-shadow: 0 0 40px rgba(246,215,124,.35); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(74px, 104px)); gap: 12px; }
.countdown div { padding: 14px 6px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); border: 1px solid rgba(246,215,124,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 14px 30px rgba(0,0,0,.35); }
.countdown b { display: block; font: 800 clamp(28px, 4vw, 44px) "Manrope", sans-serif; font-variant-numeric: tabular-nums; color: #fff; }
.countdown small { color: var(--gold-1); font: 700 10.5px "Manrope", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; }

/* ---------- resultados + confira ---------- */
.res-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 18px; scrollbar-width: thin; }
.res-tab { --c: #08234c; flex: 0 0 auto; padding: 9px 16px; border-radius: 99px; border: 1px solid #d8d0bd; background: #fff; color: #092a5b; font: 800 13px "Manrope", sans-serif; transition: all .2s; }
.res-tab:hover { border-color: var(--c); }
.res-tab[aria-selected="true"] { color: #fff; background: var(--c); border-color: var(--c); box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 35%, transparent); }
.res-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.res-wait { color: #0e3f89; }
.res-card, .check { border-radius: 24px; background: #fff; border: 1px solid #ece4d2; box-shadow: 0 20px 50px rgba(6,30,65,.08); overflow: hidden; }
.res-card { --c: #08234c; }
.res-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c) 50%, color-mix(in srgb, var(--c) 70%, #000)); }
.res-card-top img { height: 38px; width: auto; max-width: 180px; object-fit: contain; }
.res-card-top div { text-align: right; font-size: 13px; }
.res-card-top b { display: block; font: 800 18px "Manrope", sans-serif; }
.res-body { padding: 22px; }
.balls { display: flex; flex-wrap: wrap; gap: 10px; }
.ball { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 800 17px "Manrope", sans-serif; color: #fff;
  background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--c) 40%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 60%, #000));
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.25), 0 6px 12px color-mix(in srgb, var(--c) 35%, transparent); animation: ball-in .5s cubic-bezier(.3,1.4,.5,1) both; animation-delay: calc(var(--i) * 70ms); transition: transform .3s; }
.balls.small .ball { width: 38px; height: 38px; font-size: 14px; }
.ball.hit { background: radial-gradient(circle at 34% 28%, #fff7da, #f6d77c 45%, #c98d1a); color: #3a2604; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #e3ae42, 0 8px 18px rgba(227,174,66,.5); transform: scale(1.08); }
@keyframes ball-in { from { opacity: 0; transform: translateY(-16px) scale(.6); } }
.res-label { display: block; margin: 16px 0 8px; color: #6a7590; font: 800 11px "Manrope", sans-serif; letter-spacing: 1.3px; text-transform: uppercase; }
.res-status { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: #f5f2ea; color: #092a5b; font-size: 14px; }
.res-status.acum { background: #fff4dc; color: #8a5a0c; }
.res-status strong { display: block; font: 800 16px "Manrope", sans-serif; }
.res-next { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eee6d6; color: #0e3f89; font-size: 13.5px; }
.res-next b { color: #08234c; font: 800 18px "Manrope", sans-serif; }
.res-extra { margin-top: 12px; font-size: 14px; color: #092a5b; }
.res-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
.res-list li { display: grid; grid-template-columns: 24px 1fr auto 1fr; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; background: #f7f4ec; }
.res-list li small { color: #8a93a8; }
.res-list li b { font-family: "Manrope", sans-serif; text-align: center; }
.res-list li span:last-child { text-align: right; }
.res-fed li { grid-template-columns: 1fr auto auto; }
.check { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.check h3 { font: 800 20px "Manrope", sans-serif; color: #08234c; display: flex; align-items: center; gap: 8px; }
.check h3 svg { color: #c98d1a; }
.check p { color: #0e3f89; font-size: 14px; }
.check input { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 2px solid #e2d8c2; background: #fbf8f1; color: #08234c; font: 700 17px "Manrope", sans-serif; letter-spacing: 1px; }
.check input:focus { outline: none; border-color: #e3ae42; box-shadow: 0 0 0 4px rgba(227,174,66,.2); }
.check-out { min-height: 64px; padding: 14px; border-radius: 14px; background: #f5f2ea; color: #092a5b; font-size: 14.5px; }
.check-out strong { font: 800 22px "Manrope", sans-serif; color: #08234c; }
.check-out.win { background: linear-gradient(135deg, #fff4d0, #ffe7a3); color: #5d3e06; }
.check-out.win strong { color: #8a5a0c; }

/* ---------- como comprar ---------- */
.sec-how { padding-top: 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { position: relative; padding: 28px 24px 24px; border-radius: 24px; background: #fff; border: 1px solid #ece4d2; box-shadow: 0 16px 40px rgba(6,30,65,.07); }
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -21px; top: 50%; width: 22px; height: 2px; background: linear-gradient(90deg, #e3ae42, transparent); }
.step-n { position: absolute; right: 18px; top: 10px; font: 700 64px "Montserrat", sans-serif; color: rgba(227,174,66,.2); line-height: 1; }
.steps svg { width: 34px; height: 34px; color: #c98d1a; }
.steps h3 { margin: 14px 0 6px; font: 800 20px "Manrope", sans-serif; color: #08234c; }
.steps p { color: #0e3f89; font-size: 14.5px; }

/* ---------- a lotérica ---------- */
.place { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.place-facts { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 14px; }
.place-facts li { display: flex; align-items: center; gap: 14px; }
.place-facts svg { width: 22px; height: 22px; padding: 10px; box-sizing: content-box; border-radius: 14px; color: var(--gold-1); background: rgba(246,215,124,.08); border: 1px solid var(--line); }
.place-facts b { display: block; color: #fff; }
.place-facts small { color: var(--muted); }
.place-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.map { position: relative; min-height: 420px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: radial-gradient(circle at 50% 45%, rgba(246,215,124,.16), transparent 45%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 44px), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 44px), #082550; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px; }
.map-cover p { font: 700 18px "Montserrat", sans-serif; color: #fff; margin-top: 10px; }
.map-cover small { color: var(--muted); font-size: 12px; }
.map-pin { position: relative; width: 74px; height: 74px; border-radius: 50%; box-shadow: 0 0 0 3px var(--gold-1), 0 16px 30px rgba(0,0,0,.5); animation: pin 2.4s ease-in-out infinite; }
.map-pin img { width: 100%; height: 100%; border-radius: 50%; }
.map-pin::after { content: ""; position: absolute; left: 50%; bottom: -16px; margin-left: -8px; border: 8px solid transparent; border-top: 10px solid var(--gold-1); }
/* capa com a foto da fachada: zoom lento, etiqueta e barra de vidro com o endereço */
.map-photo { padding: 0; justify-content: flex-end; align-items: stretch; text-align: left; isolation: isolate; }
.map-foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; animation: foto-zoom 22s ease-in-out infinite alternate; }
@keyframes foto-zoom { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.map-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,10,38,.35) 0%, transparent 26%, transparent 52%, rgba(0,10,38,.88) 100%), radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(0,8,30,.45)); }
.foto-tag { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px;
  color: var(--gold-1); font: 800 11px "Manrope", sans-serif; letter-spacing: 1.4px; text-transform: uppercase;
  background: rgba(0,14,48,.6); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.foto-tag svg { width: 15px; height: 15px; }
.map-bar { display: flex; align-items: center; gap: 14px; margin: 16px; padding: 12px 12px 12px 14px; border-radius: 20px;
  background: rgba(0,16,52,.62); border: 1px solid rgba(246,215,124,.3); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.map-bar-pin { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #241703; background: var(--gold-grad); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.map-bar-txt { flex: 1; min-width: 0; }
.map-bar-txt b { display: block; color: #fff; font: 800 15.5px "Manrope", sans-serif; }
.map-bar-txt small { color: #c6d2ee; font-size: 12.5px; }
.map-bar .btn { flex: 0 0 auto; min-height: 44px; }
/* celular: foto INTEIRA em cima (o letreiro não pode ser cortado nem tapado) e a barra embaixo dela */
@media (max-width: 760px) {
  .map:has(.map-photo) { min-height: 0; }
  .map-cover.map-photo { position: relative; inset: auto; background: rgba(0,16,52,.9); }
  .map-photo::before { display: none; }
  .map-foto { position: relative; inset: auto; z-index: 0; height: auto; aspect-ratio: 928 / 612; animation: none; }
  .map-bar { flex-wrap: wrap; margin: 12px; background: transparent; border: 0; box-shadow: none; padding: 0; backdrop-filter: none; }
  .map-bar .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .map-foto { animation: none; } }
@keyframes pin { 50% { transform: translateY(-8px); } }

/* ---------- confiança + faixa de jogos ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); background: #041228; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 22px max(16px, 2vw); border-right: 1px solid rgba(246,215,124,.12); }
.trust div:last-child { border-right: 0; }
.trust svg { grid-row: span 2; width: 26px; height: 26px; color: var(--gold-1); }
.trust b { font: 800 14.5px "Manrope", sans-serif; color: #fff; }
.trust small { color: var(--muted); font-size: 12.5px; }
.games-strip { overflow: hidden; padding: 26px 0; background: #030f21; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.games-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.games-group { display: flex; gap: 22px; padding-right: 22px; }
.games-group img { height: 56px; width: auto; opacity: .85; }

/* ---------- rodapé ---------- */
.foot { padding: 50px max(20px, calc((100vw - 1280px) / 2)) calc(36px + var(--dock-h)); background: #020c1a; color: var(--muted); text-align: center; }
.foot-main { display: grid; justify-items: center; gap: 14px; }
.foot-logo img { width: min(300px, 70vw); height: auto; filter: drop-shadow(0 16px 26px rgba(0,0,0,.5)); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font: 700 13px "Manrope", sans-serif; }
.foot nav a:hover { color: var(--gold-1); }
.credit { display: inline-block; margin: 26px auto 18px; border-radius: 14px; transition: transform .3s, filter .3s; }
.credit:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 20px rgba(246,215,124,.25)); }
.credit img { width: 245px; height: auto; }
.foot-legal { max-width: 760px; margin: 0 auto; font-size: 12.5px; }

/* ---------- seleção, guia, consentimento, toast ---------- */
.sel-fab { position: fixed; z-index: 800; right: 22px; bottom: calc(22px + var(--dock-h)); width: 64px; height: 64px; border-radius: 50%; border: 1px solid #fff0bf; color: #241703; background: var(--gold-grad); box-shadow: 0 6px 0 #8a5a0c, 0 18px 30px rgba(0,0,0,.4); display: grid; place-items: center; }
.sel-fab[hidden] { display: none; }
.sel-fab svg { width: 26px; height: 26px; }
.sel-fab b { position: absolute; right: -4px; top: -4px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; color: #fff; background: #d63b52; font: 800 12px "Manrope", sans-serif; border: 2px solid #fff; }
.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.18); } }
.drawer { position: fixed; inset: 0; z-index: 9500; }
.drawer-back { position: absolute; inset: 0; background: rgba(2,12,26,.6); backdrop-filter: blur(4px); animation: fade .25s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: linear-gradient(180deg, #092b5e, #04142b); border-left: 1px solid var(--line); box-shadow: -30px 0 60px rgba(0,0,0,.4); animation: slide .35s cubic-bezier(.2,.8,.2,1); }
@keyframes slide { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
.drawer-panel header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-panel h3 { display: flex; align-items: center; gap: 10px; font: 800 19px "Manrope", sans-serif; color: #fff; }
.drawer-panel h3 svg { color: var(--gold-1); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px 24px; display: grid; align-content: start; gap: 12px; }
.sel-item { --c: #209869; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-left: 5px solid var(--c); }
.sel-item strong { color: #fff; font: 800 15px "Manrope", sans-serif; }
.sel-item small { display: block; color: var(--muted); font-size: 12.5px; }
.sel-item .stepper { align-self: center; }
.sel-sum { grid-column: 1 / -1; display: flex; justify-content: space-between; color: #c9d3ec; font-size: 13px; }
.sel-sum b { color: var(--gold-1); font-family: "Manrope", sans-serif; }
.sel-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(246,215,124,.1); border: 1px solid rgba(246,215,124,.35); }
.sel-total strong { color: var(--gold-1); font: 800 24px "Manrope", sans-serif; }
.sel-note, .sel-empty { color: var(--muted); font-size: 13px; text-align: center; }
.sel-empty { padding: 40px 10px; }
.guide { position: fixed; inset: 0; z-index: 9600; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.guide[hidden], .drawer[hidden] { display: none; }
.guide-back { position: fixed; inset: 0; background: rgba(2,12,26,.72); backdrop-filter: blur(6px); animation: fade .25s; }
.guide-card { position: relative; width: min(520px, 100%); margin-top: 40px; padding: 58px 24px 22px; border-radius: 26px; text-align: center;
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(246,215,124,.16), transparent 70%), linear-gradient(180deg, #0c397b, #061b3b 60%, #041228);
  border: 1px solid rgba(246,215,124,.55); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: pop .4s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.guide-x { position: absolute; right: 12px; top: 12px; }
.guide-coin { position: absolute; left: 50%; top: 0; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(246,215,124,.5), 0 14px 30px rgba(0,0,0,.5); animation: coin-idle 6s ease-in-out infinite; }
.guide-card h3 { margin: 6px 0 16px; font: 700 24px "Montserrat", sans-serif; color: #fff; }
.guide-list { display: grid; gap: 10px; margin-bottom: 16px; text-align: left; }
.g-item { --c: #209869; padding: 12px 14px; border-radius: 16px; background: #fff; color: #061d40; border-left: 6px solid var(--c); }
.g-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.g-head strong { color: color-mix(in srgb, var(--c) 85%, #000); font: 800 17px "Manrope", sans-serif; }
.g-head span { font-size: 12px; font-weight: 800; color: #4b5263; white-space: nowrap; }
.g-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.g-facts span { display: grid; padding: 7px 8px; border-radius: 10px; background: #f3f4f8; }
.g-facts small { color: #6b7284; font-size: 9.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.g-facts b { font-size: 13.5px; }
.g-total { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 14px; color: #fff; background: rgba(246,215,124,.12); border: 1px solid rgba(246,215,124,.35); }
.g-total strong { color: var(--gold-1); font: 800 20px "Manrope", sans-serif; }
.guide-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; text-align: left; }
.guide-steps li { display: flex; gap: 11px; color: #d4dbef; font-size: 14px; line-height: 1.45; }
.guide-steps b { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #241703; font: 800 12px "Manrope", sans-serif; background: var(--gold-grad); }
.guide-steps strong { color: #fff; }
.guide-note { display: block; margin-top: 12px; color: #8a9ac3; font-size: 12px; }
.consent { position: fixed; z-index: 9000; left: 16px; right: 16px; bottom: calc(16px + var(--dock-h)); max-width: 960px; margin: 0 auto; padding: 16px 18px; border-radius: 18px;
  display: flex; align-items: center; gap: 18px; background: rgba(7,33,71,.96); border: 1px solid rgba(246,215,124,.45); box-shadow: 0 20px 50px rgba(0,0,0,.5); backdrop-filter: blur(10px); }
.consent[hidden] { display: none; }
.consent strong { color: var(--gold-1); }
.consent p { color: #c3cbe2; font-size: 13px; }
.consent a { color: var(--gold-1); text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; margin-left: auto; }
.consent .btn { min-height: 42px; font-size: 13px; }
.toast { position: fixed; z-index: 9700; left: 50%; bottom: calc(26px + var(--dock-h)); width: max-content; max-width: min(520px, calc(100% - 32px)); padding: 13px 18px; border-radius: 14px; color: #fff; font-size: 14px;
  background: #092b5e; border: 1px solid rgba(246,215,124,.5); box-shadow: 0 16px 40px rgba(0,0,0,.45); transform: translate(-50%, 160%); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .4s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- barra de app (celular) ---------- */
.dock { display: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .top-nav { display: none; }
  .top-buy { margin-left: auto; }
  .vault { grid-template-columns: repeat(2, 1fr); }
  .res-panel { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .place { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { display: none; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust div:nth-child(2) { border-right: 0; }
  .trust div:nth-child(-n+2) { border-bottom: 1px solid rgba(246,215,124,.12); }
  .tools-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --dock-h: 72px; }
  html { scroll-padding-top: 70px; }
  .top { height: 62px; }
  .top.scrolled { height: 58px; }
  .logo img { width: 38px; height: 38px; }
  .logo strong { font-size: 15px; white-space: nowrap; }
  .logo small { white-space: nowrap; letter-spacing: 1.2px; font-size: 9px; }
  .hide-sm { display: none; }
  .top-buy { min-height: 42px; padding: 0 12px 0 6px; font-size: 13px; }
  .marquee { height: 48px; }
  .marquee-label { padding: 0 24px 0 14px; font-size: 10.5px; }
  .marquee-label svg { display: none; }
  .sec { padding: 70px 16px; }
  .sec-head { margin-bottom: 28px; }
  .sec-lead { font-size: 15px; }
  .draws { grid-auto-flow: column; grid-auto-columns: 80%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .draw { scroll-snap-align: start; }
  .mod { width: 150px; height: 66px; }
  .mod img { max-height: 44px; }
  .vault { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vt { padding: 16px; }
  .vt.first { grid-column: 1 / -1; grid-row: auto; min-height: 220px; }
  .vt b { font-size: 19px; }
  .vt img { height: 30px; }
  .countdown { grid-template-columns: repeat(4, 1fr); width: 100%; gap: 8px; }
  .virada { padding: 80px 16px; }
  .ball { width: 40px; height: 40px; font-size: 15px; }
  .res-body, .check { padding: 18px; }
  .map { min-height: 320px; }
  .trust div { padding: 18px 14px; }
  .games-group img { height: 42px; }
  .consent { flex-direction: column; align-items: stretch; gap: 12px; left: 10px; right: 10px; }
  .consent-actions { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .sel-fab { display: none !important; }
  .gate-actions { grid-template-columns: 1fr; }
  .dock {
    position: fixed; z-index: 850; left: 0; right: 0; bottom: 0; height: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding: 6px 6px env(safe-area-inset-bottom);
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; background: rgba(3,16,35,.95); backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  }
  .dock a, .dock button { position: relative; display: grid; justify-items: center; gap: 3px; padding: 6px 0; border: 0; background: none; color: #b8c4e2; font: 700 10.5px "Manrope", sans-serif; }
  .dock svg { width: 22px; height: 22px; }
  .dock .dock-buy { margin-top: -26px; }
  .dock .dock-buy .coin-mini { width: 54px; height: 54px; flex-basis: 54px; box-shadow: 0 0 0 3px var(--gold-1), 0 10px 20px rgba(0,0,0,.5); animation: coin-idle 6s ease-in-out infinite; }
  .dock .dock-buy span:last-child { color: var(--gold-1); }
  .dock-count { position: absolute; top: 0; right: 18%; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center; color: #fff; background: #d63b52; font: 800 10px "Manrope", sans-serif; }
  .dock-count[hidden] { display: none; }
  .g-facts { grid-template-columns: 1fr 1fr; }
  .g-facts span:last-child { grid-column: 1 / -1; }
}
/* topo empilhado (arte em cima, texto embaixo): celular e telas em pé (tablet) */
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  /* topo no celular: arte em cima (largura toda), texto embaixo centralizado */
  .hero { min-height: 0; }
  .hero-sky { background: radial-gradient(ellipse 90% 40% at 50% 22%, #023a8f 0%, #012a6e 40%, rgba(0,21,66,0) 75%), linear-gradient(180deg, #001845, var(--ink-1)); }
  .hero-in { display: flex; flex-direction: column; min-height: 0; width: 100%; padding: 80px 0 40px; gap: 0; }
  .hero-art { width: calc(100% - 28px); margin: 6px auto 0; }
  .hero-copy { width: calc(100% - 32px); margin-top: 14px; align-items: center; text-align: center; }
  .hero-copy > * { max-width: 100%; }
  .hero-copy > .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
  .hero-title { margin-top: 12px; }
  .ht-line { font-size: 34px; }
  .ht-gold { font-size: 42px; }
  .hero-tag::before { left: 50%; transform: translateX(-50%); width: 80%; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); }
  .hero-tag::after { left: calc(50% - 4px); }
  .hero-lead { font-size: 15px; }
  .hero-cta { width: 100%; display: grid; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { width: 100%; grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(2) { border-right: 0; }
  .hero-stats div:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(246,215,124,.14); }
  .hero-stats dd { font-size: 19px; }
  .hero-scroll { display: none; }
}
@media (orientation: portrait) and (min-width: 761px) and (max-width: 1100px) {
  .hero-art { width: 84%; margin: 0 auto; }
  .hero-copy { margin-top: 18px; }
  .hero-cta { display: flex; justify-content: center; width: auto; }
  .hero-cta .btn { width: auto; }
  .hero-stats { width: auto; grid-template-columns: repeat(3, auto); }
  .hero-stats div:last-child { grid-column: auto; border-top: 0; }
  .hero-stats div:nth-child(2) { border-right: 1px solid rgba(246,215,124,.14); }
}
@media (max-width: 380px) {
  .logo small { display: none; }
  .top-buy span:last-child { display: none; }
  .top-buy { padding: 0 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* artes das modalidades sempre com cantos arredondados (raio proporcional ao tamanho em cada lugar).
   align-self/width: a caixa da imagem tem que ter o tamanho exato da arte, senao o canto arredonda o vazio */
img[src*="assets/modalidades/"] { border-radius: 8px; }
img.card-art { border-radius: 7px; }
.mod img[src*="modalidades/"] { border-radius: 10px; }
img.draw-art { align-self: flex-start; width: auto; max-width: none; border-radius: 9px; }
.vt img[src*="modalidades/"] { align-self: flex-start; width: auto; max-width: 100%; border-radius: 8px; }
.vt.first img[src*="modalidades/"] { border-radius: 14px; }
.res-card-top img[src*="modalidades/"] { border-radius: 8px; }
.games-group img[src*="modalidades/"] { border-radius: 11px; }
@media (max-width: 760px) {
  .mod img[src*="modalidades/"] { border-radius: 8px; }
  .games-group img[src*="modalidades/"] { border-radius: 9px; }
  .vt img[src*="modalidades/"] { border-radius: 6px; }
}

/* WhatsApp da lotérica: número em WHATS no app.js (vazio = botões escondidos) */
.wa-ico { width: 20px; height: 20px; flex: 0 0 20px; fill: currentColor; }
.btn-whats { color: #fff; border-color: rgba(255,255,255,.45); background: linear-gradient(180deg, #4fdc8a 0%, #25c26f 45%, #128c4a 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 5px 0 #0b6b38, 0 14px 26px rgba(10,60,30,.35); text-shadow: 0 1px 1px rgba(0,60,30,.45); }
.grid-empty .btn + .btn { margin-left: 10px; }
.foot-wa { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; color: #7ff0b0; font: 800 14px "Manrope", sans-serif; background: rgba(37,194,111,.1); border: 1px solid rgba(37,194,111,.4); }
.foot-wa:hover { background: rgba(37,194,111,.18); }
/* Instagram da lotérica (@loterica9dejulho): degradê da marca só no ícone/botão */
.ig-ico { width: 20px; height: 20px; flex: 0 0 20px; fill: currentColor; }
.top-ig { flex: 0 0 auto; color: #fff; }
.top-ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border-color: transparent; }
.btn-insta { color: #fff; border-color: rgba(255,255,255,.4); background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 40%, #d6249f 62%, #285aeb 95%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 5px 0 #6a1b6e, 0 14px 26px rgba(60,10,60,.35); text-shadow: 0 1px 1px rgba(60,0,40,.45); }
.foot-ig { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; color: #ffb3d9; font: 800 14px "Manrope", sans-serif; background: rgba(214,36,159,.1); border: 1px solid rgba(214,36,159,.45); }
.foot-ig:hover { background: rgba(214,36,159,.2); }
.ig-fact { display: flex; align-items: center; gap: 14px; }
.ig-fact .ig-ico { width: 22px; height: 22px; padding: 10px; box-sizing: content-box; border-radius: 14px; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ig-fact:hover b { color: var(--gold-1); }
@media (max-width: 760px) { .top-ig { display: none; } }
@media (max-width: 760px) { .grid-empty .btn + .btn { margin: 10px 0 0; } }
.guide-wa { margin-top: 10px; min-height: 52px; }

/* ---------- BOLÃO VIP no topo (cota mais cara à venda) ---------- */
.vip { position: relative; isolation: isolate; width: 100%; max-width: 640px !important; margin-top: 18px; padding: 16px 18px; border-radius: 22px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  background: linear-gradient(135deg, rgba(11,52,112,.92), rgba(5,22,48,.94)); backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px rgba(0,0,0,.45), 0 0 40px rgba(246,215,124,.12); animation: rise 1s 1s both; }
.vip[hidden] { display: none; }
.vip::before { content: ""; position: absolute; inset: 0; z-index: -1; padding: 2px; border-radius: inherit;
  background: conic-gradient(from var(--ra, 0deg), #6e4806, #f6d77c, #fff7da, #e3ae42, #6e4806 40%, #b98012 60%, #fff3c4 75%, #6e4806);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rim-spin 6s linear infinite; }
.vip-glow { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.vip-glow::after { content: ""; position: absolute; top: -40%; bottom: -40%; left: -40%; width: 30%; transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255,246,214,.18), transparent); animation: medal-sweep 6s ease-in-out infinite 1s; }
.vip-head { display: grid; justify-items: start; gap: 8px; }
.vip-art { height: 44px; width: auto; border-radius: 9px; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.vip-mod { font: 800 17px "Manrope", sans-serif; color: #fff; }
.vip-tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; color: #241703; background: var(--gold-grad);
  font: 800 11px "Manrope", sans-serif; letter-spacing: 1.2px; text-transform: uppercase; box-shadow: 0 0 18px rgba(246,215,124,.45); white-space: nowrap; }
.vip-tag svg { width: 14px; height: 14px; }
.vip-prize small { display: block; color: var(--muted); font: 700 10.5px "Manrope", sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.vip-prize b { display: block; font: 800 26px "Manrope", sans-serif; line-height: 1.15; background: var(--gold-text); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gold-run 7s linear infinite; }
.vip-facts { margin-top: 4px; color: #c9d3ec; font-size: 12.5px; line-height: 1.4; }
.vip-buy { display: grid; justify-items: end; gap: 8px; }
.vip-price { text-align: right; }
.vip-price small { color: var(--muted); font-size: 11px; }
.vip-price b { display: block; font: 800 24px "Manrope", sans-serif; color: #fff; }
.vip-btns { display: flex; gap: 8px; }
.vip-btns .btn { min-height: 44px; padding: 0 14px; font-size: 13px; }
.vip-btns .vip-wa { width: 44px; padding: 0; }
@media (max-width: 760px), (orientation: portrait) and (max-width: 1100px) {
  .vip { grid-template-columns: 1fr; text-align: left; margin-left: auto; margin-right: auto; gap: 12px; }
  .vip-head { grid-template-columns: auto auto; justify-content: space-between; align-items: center; width: 100%; }
  .vip-buy { grid-template-columns: auto 1fr; align-items: center; justify-items: stretch; }
  .vip-price { text-align: left; }
  .vip-btns { justify-content: flex-end; }
}
@media (max-width: 400px) { .vip-btns .btn:not(.vip-wa) { padding: 0 12px; } .vip-prize b { font-size: 22px; } }

/* ---------- ESTÚDIO DO SORTEIO (08/10): palco escuro, globo, bolas 3D, calha de ouro e volante de papel ---------- */
.sec-studio { overflow: hidden; isolation: isolate; color: var(--text);
  background: radial-gradient(ellipse 70% 45% at 50% 108%, rgba(19,87,190,.35), transparent 70%), linear-gradient(180deg, #000a24 0%, #00102f 60%, #000818 100%); }
.studio-lights { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.studio-lights i { position: absolute; top: -10%; width: 34%; height: 120%; transform-origin: 50% 0; mix-blend-mode: screen; filter: blur(22px);
  background: linear-gradient(180deg, rgba(255,232,170,.16), rgba(255,232,170,.04) 50%, transparent 75%); clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  animation: luz-varre 9s ease-in-out infinite alternate; }
.studio-lights i:nth-child(1) { left: 2%; transform: rotate(-14deg); }
.studio-lights i:nth-child(2) { left: 33%; transform: rotate(3deg); animation-delay: -3s; opacity: .7; }
.studio-lights i:nth-child(3) { right: 0; transform: rotate(16deg); animation-delay: -6s; }
@keyframes luz-varre { 0% { rotate: -5deg; } 100% { rotate: 5deg; } }
.sec-studio .res-tabs { padding: 4px 2px 12px; scrollbar-color: rgba(246,215,124,.35) transparent; }
.sec-studio .res-tab { color: #dbe4f7; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.sec-studio .res-tab:hover { border-color: var(--c); color: #fff; }
.sec-studio .res-tab[aria-selected="true"] { color: #fff; border-color: color-mix(in srgb, var(--c) 60%, #fff);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 75%, #fff 25%), var(--c) 55%, color-mix(in srgb, var(--c) 70%, #000));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 0 0 1px rgba(0,0,0,.3), 0 10px 26px color-mix(in srgb, var(--c) 55%, transparent); }
.sec-studio .res-panel { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; }
.sec-studio .res-wait { color: var(--muted); }

.studio { --c: #209869; position: relative; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, rgba(20,48,110,.55), rgba(0,10,34,.88)); border: 1px solid rgba(246,215,124,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.4); }
.studio::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 40% at 30% 0%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%); }
.studio-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 30%, transparent), transparent); }
.studio-top img { height: 40px; width: auto; max-width: 190px; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.studio-meta { display: grid; justify-items: end; gap: 2px; text-align: right; }
.studio-meta b { font: 800 19px "Manrope", sans-serif; color: #fff; }
.studio-meta small { color: var(--muted); font-size: 12.5px; }
.studio-live { display: inline-flex; align-items: center; gap: 6px; font: 800 10px "Manrope", sans-serif; letter-spacing: 1.6px; text-transform: uppercase; color: #ffb3a8; }
.studio-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 10px #ff4d4d; animation: breathe 1.6s ease-in-out infinite; }
.studio-floor { position: relative; display: grid; grid-template-columns: minmax(170px, 230px) 1fr; gap: 10px 22px; align-items: center; padding: 18px 22px 6px; }
.studio-floor.list { display: block; }
.studio-globe { position: relative; aspect-ratio: 1 / 1.08; }
.studio-globe canvas { width: 100%; height: 100%; display: block; }
.studio-globe::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -2%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); }
.tray-label { display: block; margin: 0 0 10px; color: #c9b27a; font: 800 10.5px "Manrope", sans-serif; letter-spacing: 1.6px; text-transform: uppercase; }
.studio-extras .tray-label { margin-top: 16px; }
.tray { position: relative; padding: 14px 14px 16px; border-radius: 22px;
  background: linear-gradient(180deg, #3a2a06, #1d1503 60%, #120d02); border: 1px solid #8a5a0c;
  box-shadow: inset 0 10px 18px rgba(0,0,0,.65), inset 0 -2px 0 rgba(255,214,130,.25), 0 1px 0 rgba(255,232,170,.35), 0 18px 30px rgba(0,0,0,.4); }
.tray::before { content: ""; position: absolute; left: 8px; right: 8px; top: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255,232,170,.5), transparent); }
.tray .balls { gap: 10px; }
.tray.many .balls { gap: 7px; }
/* bola de loteria 3D: esfera na cor do jogo, disco branco com o número, brilho especular */
.lb { --c2: var(--c, #209869); position: relative; width: 50px; height: 50px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--c2) 80%, #fff) 0%, var(--c2) 48%, color-mix(in srgb, var(--c2) 45%, #000) 100%);
  box-shadow: inset -7px -9px 14px rgba(0,0,0,.42), inset 5px 5px 10px rgba(255,255,255,.22), 0 8px 12px rgba(0,0,0,.55), 0 2px 3px rgba(0,0,0,.5); }
.lb b { position: relative; z-index: 1; width: 60%; height: 60%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #fff, #eef1f6 60%, #c5ccd8); box-shadow: inset 0 -1px 2px rgba(0,0,0,.3), 0 0 0 1px rgba(0,0,0,.08);
  font: 800 14px/1 "Manrope", sans-serif; color: #0b1c46; letter-spacing: -.3px; }
.lb::after { content: ""; position: absolute; z-index: 2; left: 14%; top: 7%; width: 38%; height: 24%; border-radius: 50%; transform: rotate(-28deg); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0)); }
.balls.small .lb { width: 40px; height: 40px; }
.balls.small .lb b { font-size: 12px; }
.lb.wait { visibility: hidden; }
.lb.drop { animation: lb-drop .75s cubic-bezier(.3,.7,.3,1) both; }
@keyframes lb-drop { 0% { transform: translate(-60px, -120px) scale(.45) rotate(-200deg); opacity: 0; } 55% { transform: translate(0, 6px) scale(1.04) rotate(10deg); opacity: 1; }
  75% { transform: translateY(-5px) rotate(-4deg); } 100% { transform: none; } }
.lb.hit { --c2: #d9a441; box-shadow: inset -7px -9px 14px rgba(90,50,0,.45), inset 5px 5px 10px rgba(255,255,255,.35), 0 0 0 3px rgba(255,243,196,.9), 0 0 26px rgba(246,215,124,.85), 0 8px 12px rgba(0,0,0,.5);
  animation: lb-hit 1.6s ease-in-out infinite; }
.lb.hit b { color: #5d3e06; }
@keyframes lb-hit { 50% { box-shadow: inset -7px -9px 14px rgba(90,50,0,.45), inset 5px 5px 10px rgba(255,255,255,.35), 0 0 0 3px rgba(255,243,196,.9), 0 0 40px rgba(246,215,124,1), 0 8px 12px rgba(0,0,0,.5); } }
.tray-mini { gap: 8px; }
.trevos .lb { --c2: #2e7d32; }
.studio-info { position: relative; padding: 8px 22px 22px; }
.sec-studio .res-status { margin-top: 12px; background: rgba(255,255,255,.06); color: #dbe4f7; border: 1px solid rgba(255,255,255,.1); }
.sec-studio .res-status.acum { background: linear-gradient(135deg, rgba(246,215,124,.18), rgba(246,215,124,.06)); color: #ffe7a3; border-color: rgba(246,215,124,.35); }
.sec-studio .res-status strong { color: #fff; }
.sec-studio .res-status.acum strong { color: var(--gold-1); }
.sec-studio .res-next { border-top-color: rgba(255,255,255,.1); color: var(--muted); }
.sec-studio .res-next b { color: var(--gold-1); }
.sec-studio .res-extra { color: #dbe4f7; }
.sec-studio .res-list li { background: rgba(255,255,255,.06); color: #e6ebf7; }

/* volante de papel */
.volante { --c: #209869; position: relative; padding: 26px 22px 22px; border-radius: 4px 4px 10px 10px; color: #23324f; transform: rotate(.7deg);
  background:
    repeating-linear-gradient(0deg, rgba(60,40,10,.018) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 120% 80% at 15% 0%, #fffdf6, #f6efdc 60%, #eee4cb);
  box-shadow: inset 0 0 0 1px rgba(120,90,30,.12), inset 0 -30px 40px -30px rgba(120,90,30,.18), 0 2px 4px rgba(0,0,0,.3), 0 30px 60px rgba(0,0,0,.55), 0 60px 80px -40px rgba(0,0,0,.6); }
.volante::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px;
  background: radial-gradient(circle at 8px 7px, #000d2c 4.5px, transparent 5px) 0 0 / 16px 14px repeat-x; }
.volante::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; border-radius: 4px 0 0 10px; background: repeating-linear-gradient(180deg, var(--c) 0 10px, transparent 10px 16px); opacity: .85; }
.vol-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 2px solid var(--c); }
.vol-head img { height: 34px; width: auto; border-radius: 6px; }
.vol-head b { display: block; font: 900 19px "Montserrat", sans-serif; color: color-mix(in srgb, var(--c) 75%, #000); text-transform: uppercase; letter-spacing: .3px; }
.vol-head small { color: #7a6a48; font: 700 10.5px "Manrope", sans-serif; letter-spacing: 1.4px; text-transform: uppercase; }
.vol-hint { font-size: 13.5px; color: #5a5040; margin-bottom: 10px; }
.vol-grid { display: grid; grid-template-columns: repeat(var(--cols, 10), 1fr); gap: 5px; }
.vc { position: relative; aspect-ratio: 1.2 / 1; padding: 0; border-radius: 3px; border: 1.5px solid color-mix(in srgb, var(--c) 65%, #fff);
  background: color-mix(in srgb, var(--c) 7%, #fffdf6); color: color-mix(in srgb, var(--c) 85%, #000); font: 800 12px/1 "Manrope", sans-serif; transition: transform .12s; }
.vc:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--c) 14%, #fffdf6); }
.vc span { position: relative; z-index: 1; }
/* marca de caneta: oval azul-escuro torto, como à mão */
.vc[aria-pressed="true"] { color: #fff; }
.vc[aria-pressed="true"]::after { content: ""; position: absolute; inset: 1px 2px; border-radius: 45% 55% 50% 50%; transform: rotate(-9deg) scale(1.06);
  background: radial-gradient(ellipse at 45% 45%, #1a2b5e 0 58%, rgba(26,43,94,.85) 66%, rgba(26,43,94,0) 74%); animation: caneta .16s ease-out both; }
@keyframes caneta { from { transform: rotate(-9deg) scale(.2); opacity: .2; } }
.vc.hit[aria-pressed="true"]::after { background: radial-gradient(ellipse at 45% 45%, #e3ae42 0 58%, rgba(201,141,26,.9) 66%, rgba(201,141,26,0) 74%); }
.vc.hit { color: #3a2604; box-shadow: 0 0 14px rgba(227,174,66,.75); }
.vol-row { display: flex; align-items: center; gap: 8px; margin: 14px 0 10px; }
.vol-count { margin-right: auto; font: 800 13px "Manrope", sans-serif; color: #5a5040; }
.vol-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--c) 60%, #000); color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c)); font: 800 12.5px "Manrope", sans-serif; box-shadow: 0 3px 0 color-mix(in srgb, var(--c) 55%, #000); }
.vol-btn.ghost { color: #5a5040; background: transparent; border-color: #cdbf9d; box-shadow: none; }
.vol-btn svg { width: 15px; height: 15px; }
.volante input { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 10px; border: 1.5px dashed #cdbf9d; background: rgba(255,255,255,.55); color: #23324f; font: 700 15px "Manrope", sans-serif; letter-spacing: 1px; }
.volante input:focus { outline: none; border-style: solid; border-color: #e3ae42; box-shadow: 0 0 0 4px rgba(227,174,66,.2); }
.volante .check-out { margin: 10px 0 14px; background: rgba(120,90,30,.07); color: #3d3528; min-height: 58px; }
.volante .check-out strong { color: #23324f; }
.volante .check-out.win { background: linear-gradient(135deg, #fff1c4, #ffe08a); color: #5d3e06; box-shadow: 0 0 0 1px #e3ae42, 0 10px 24px rgba(227,174,66,.35); }
.volante .btn { width: 100%; }
.vol-confete { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.vol-confete i { position: absolute; left: 50%; top: 45%; width: 8px; height: 12px; border-radius: 2px; opacity: 0;
  background: hsl(calc(var(--k) * 26 + 30) 90% 60%); }
.volante.party .vol-confete i { animation: confete 1.3s cubic-bezier(.2,.7,.3,1) both; animation-delay: calc(var(--k) * 18ms); }
@keyframes confete { 0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  100% { opacity: 0; transform: translate(calc((var(--k) - 7) * 26px), calc(-140px + var(--k) * 9px)) rotate(calc(var(--k) * 90deg)); } }
@media (max-width: 900px) {
  .sec-studio .res-panel { grid-template-columns: 1fr; }
  .volante { transform: none; width: 100%; max-width: 560px; margin: 8px auto 0; }
}
@media (max-width: 760px) {
  .studio-floor { grid-template-columns: 1fr; padding: 14px 14px 4px; }
  .studio-globe { width: min(230px, 70%); margin: 0 auto; }
  .studio-top { padding: 14px; }
  .studio-top img { height: 32px; }
  .studio-info { padding: 6px 14px 16px; }
  .lb { width: 44px; height: 44px; }
  .lb b { font-size: 13px; }
  .balls.small .lb { width: 36px; height: 36px; }
  .balls.small .lb b { font-size: 11px; }
  .volante { padding: 22px 14px 16px 16px; }
  .vol-head img { height: 28px; }
  .vol-head b { font-size: 15px; }
  .vol-head small { font-size: 9.5px; letter-spacing: 1px; }
  .vol-grid { gap: 4px; }
  .vc { font-size: 11px; }
  .vol-row { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .studio-lights i, .lb.hit, .studio-live::before { animation: none; } }

/* Super Sete: volante por colunas, calha com a coluna embaixo de cada bola; +Milionária: grade de trevos */
.vol-cols { gap: 4px 6px; }
.vol-colhead { text-align: center; font: 900 11px "Montserrat", sans-serif; color: color-mix(in srgb, var(--c) 80%, #000); padding-bottom: 2px; border-bottom: 2px solid var(--c); }
.vol-cols .vc { aspect-ratio: auto; height: 30px; }
.vol-sub { display: block; margin: 12px 0 6px; font: 900 11px "Montserrat", sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: color-mix(in srgb, var(--c) 80%, #000); }
.vol-trevos { max-width: 300px; }
.vol-trevos .vc { aspect-ratio: 1 / 1; border-radius: 50% 50% 50% 8px; }
.trevos .lb.hit { --c2: #d9a441; }
.tray.colunas { padding-bottom: 30px; }
.tray.colunas .lb::before { content: attr(data-col); position: absolute; left: 50%; bottom: -21px; transform: translateX(-50%); font: 800 10.5px "Manrope", sans-serif; color: #c9b27a; white-space: nowrap; }
