/* ==========================================================
   CATBET — Cassino para todos os gostos
   Paleta: sukno #0B1F17 · header/footer #06120D · cards #12301F
   Acento: vermelho roleta #C8102E
   ========================================================== */

:root {
  --bg: #0B1F17;
  --bg-deep: #06120D;
  --card: #12301F;
  --card-2: #15382A;
  --red: #C8102E;
  --red-soft: rgba(200, 16, 46, .14);
  --zero: #1B5E3C;
  --text: #EDEBE4;
  --muted: rgba(237, 235, 228, .72);
  --head: #FFFFFF;
  --line: rgba(255, 255, 255, .16);
  --line-strong: rgba(255, 255, 255, .32);
  --radius: 14px;
  --wrap: 1160px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.7 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a {
  color: var(--head);
  text-decoration: underline;
  text-decoration-color: rgba(200, 16, 46, .75);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: filter .2s ease;
}
a:hover { filter: brightness(1.3); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .55em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.3rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); }
h3 { font-size: clamp(1.4rem, 2.8vw, 1.7rem); }

p { margin: 0 0 1.1em; }
strong { color: var(--head); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: .6em 1em; border-radius: 8px;
}
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.1em;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 9px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--head);
  font-family: var(--serif); font-weight: 700; font-size: 1.6rem; letter-spacing: .06em;
}
.logo svg { width: 38px; height: 38px; flex: none; }

.nav-toggle {
  margin-left: auto;
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  padding: 8px 16px 18px;
}
.nav.is-open { display: block; }
.nav a {
  display: block; padding: 12px 4px;
  color: var(--text); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav a[aria-current="page"] { color: var(--head); }
.nav a[aria-current="page"]::after { content: " ♦\FE0E"; color: var(--red); }
.nav .nav-cta { display: flex; margin-top: 14px; padding: .8em 1.6em; border: 1px solid var(--red); border-radius: 999px; color: #FFFFFF; }

.age-badge {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--red); color: #fff;
  border: 2px dashed rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 2px var(--red);
  font-weight: 700; font-size: .8rem;
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex; position: static; margin-left: auto; padding: 0; border: 0; gap: 4px; background: none;
  }
  .nav a { border: 0; padding: 8px 12px; font-size: .95rem; border-radius: 8px; }
  .nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
  .nav a[aria-current="page"]::after { content: none; }
  .nav { align-items: center; }
  .nav .nav-cta { margin-left: 8px; min-height: 42px; padding: .55em 1.3em; border-radius: 999px; color: #FFFFFF; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .8em 1.6em;
  border-radius: 999px; border: 1px solid var(--red);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: filter .2s ease;
}
.btn-primary { background: var(--red); color: #FFFFFF; }
.btn-ghost { background: transparent; color: var(--head); }
.btn:hover { filter: brightness(1.2); }
.btn-ghost:hover { filter: brightness(1.35) drop-shadow(0 0 10px rgba(200, 16, 46, .45)); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* ---------- Divider (setores da roleta) ---------- */
.divider {
  height: 10px;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent calc(50% - 22px), var(--zero) calc(50% - 22px) calc(50% + 22px), transparent calc(50% + 22px)),
    repeating-linear-gradient(90deg, var(--red) 0 30px, var(--bg-deep) 30px 60px);
  background-position: center;
  opacity: .9;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 56px 0 64px;
}
.hero-burst {
  position: absolute; z-index: -2; pointer-events: none;
  width: 900px; height: 900px; right: -320px; top: -260px;
  background:
    radial-gradient(circle, rgba(237, 235, 228, .16) 0, rgba(237, 235, 228, .05) 28%, transparent 60%),
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .06) 0 5deg, transparent 5deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 0, #000 20%, transparent 62%);
          mask: radial-gradient(circle, #000 0, #000 20%, transparent 62%);
}
.hero-wheel {
  position: absolute; z-index: -1; pointer-events: none;
  width: 520px; height: 520px; right: -230px; top: 30px;
  opacity: .2;
  animation: spin 160s linear infinite;
}
.hero-confetti {
  position: absolute; z-index: -1; pointer-events: none;
  width: 380px; height: 300px; right: 0; top: 20px; opacity: .85;
  animation: drift 9s ease-in-out infinite alternate;
}
.hero-inner { position: relative; max-width: 720px; }
.hero h1 { margin-bottom: .45em; }
.hero-slogan {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--head); margin-bottom: .8em;
}
.hero-slogan span { color: var(--red); font-style: normal; }
.hero-lead { font-size: 1.08rem; color: var(--text); max-width: 640px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.8em; padding: 0; list-style: none; }
.hero-chips li {
  font-size: .85rem; padding: .35em .9em; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted);
}

@media (min-width: 768px) {
  .hero { padding: 96px 0 104px; }
  .hero-wheel { width: 720px; height: 720px; right: -200px; top: -60px; opacity: .24; }
  .hero-confetti { width: 520px; height: 420px; right: 40px; top: 30px; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(14px); } }

/* Inner page hero */
.page-hero { padding: 40px 0 48px; }
.page-hero .hero-wheel { width: 420px; height: 420px; right: -200px; top: -70px; opacity: .16; }
.page-hero .hero-inner { max-width: 760px; }
@media (min-width: 768px) {
  .page-hero { padding: 64px 0 72px; }
  .page-hero .hero-wheel { width: 560px; height: 560px; right: -160px; top: -120px; }
}

.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1.4em; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4em; }
.breadcrumbs li + li::before { content: "♦\FE0E"; color: var(--red); margin-right: .4em; font-size: .8em; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }

/* ---------- 18+ banner ---------- */
.age-banner {
  display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: inset 0 0 0 6px var(--card), inset 0 0 0 7px var(--line);
  padding: 22px 20px; margin: 0 0 56px;
}
.age-banner .chip-18 {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--red); color: #fff; font: 700 1.3rem/1 var(--sans);
  border: 3px dashed rgba(255, 255, 255, .9); box-shadow: 0 0 0 3px var(--red);
}
.age-banner p { margin: 0; }
.age-banner strong { display: block; font-family: var(--serif); font-size: 1.35rem; margin-bottom: .15em; }
.age-banner .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 768px) {
  .age-banner { grid-template-columns: auto 1fr auto; padding: 26px 30px; }
  .age-banner .btn { grid-column: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 40px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }

.prose { max-width: 780px; }
.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose > :last-child { margin-bottom: 0; }
.prose-block + .prose-block { margin-top: 56px; }

.lead-muted { color: var(--muted); }

/* Lists: naipes ♠ ♥ ♣ ♦ */
.prose ul, .list-suits { list-style: none; padding: 0; margin: 0 0 1.2em; }
.prose ul li, .list-suits li { position: relative; padding-left: 1.9em; margin: .55em 0; }
.prose ul li::before, .list-suits li::before {
  position: absolute; left: 0; top: 0; line-height: inherit; font-size: 1.05em;
  content: "\2660\FE0E"; color: var(--head);
}
.prose ul li:nth-child(4n+2)::before, .list-suits li:nth-child(4n+2)::before { content: "\2665\FE0E"; color: var(--red); }
.prose ul li:nth-child(4n+3)::before, .list-suits li:nth-child(4n+3)::before { content: "\2663\FE0E"; color: var(--head); }
.prose ul li:nth-child(4n+4)::before, .list-suits li:nth-child(4n+4)::before { content: "\2666\FE0E"; color: var(--red); }

/* Numbered lists: fichas */
.prose ol, .list-chips { list-style: none; counter-reset: chip; padding: 0; margin: 0 0 1.2em; }
.prose ol li, .list-chips li {
  counter-increment: chip; position: relative;
  padding-left: 3.3em; min-height: 2.5em; margin: .9em 0; padding-top: .3em;
}
.prose ol li::before, .list-chips li::before, .chip {
  content: counter(chip);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 2.35em; height: 2.35em; border-radius: 50%;
  background: var(--red); color: #fff;
  border: 2px dashed rgba(255, 255, 255, .88);
  box-shadow: 0 0 0 2px var(--red);
  font: 700 .95rem/1 var(--sans);
}

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: inset 0 0 0 6px var(--card), inset 0 0 0 7px var(--line);
  padding: 26px 22px;
}
@media (min-width: 768px) { .card { padding: 32px 30px; } }
.card > :last-child { margin-bottom: 0; }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid { gap: 20px; } }

.cat-grid { margin-top: 32px; }
.cat-card {
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: var(--text);
  transition: filter .2s ease;
}
.cat-card:hover { filter: brightness(1.18); }
.cat-card .icon {
  width: 56px; height: 56px; color: var(--head);
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
}
.cat-card .icon svg { width: 34px; height: 34px; }
.cat-card h3 { margin: .3em 0 0; font-size: 1.5rem; }
.cat-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.cat-card .more { margin-top: auto; padding-top: 8px; font-size: .9rem; font-weight: 600; color: var(--head); }
.cat-card .more::after { content: " →"; color: var(--red); }

/* Split layouts */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; }
  .split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Key facts */
.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; color: var(--head); font-weight: 600; text-align: right; }
.facts-title { font-size: 1.5rem; margin-bottom: .4em; }

/* Callout */
.callout {
  border-left: 3px solid var(--red); background: var(--red-soft);
  padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 1.4em 0;
}
.callout > :last-child { margin-bottom: 0; }

/* Providers */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.2em 0 0; }
.tags li { padding: .4em 1em; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9rem; }

/* Table */
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-deep); color: var(--head); font-weight: 600; font-size: .92rem; }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--head); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { counter-reset: chip; display: grid; gap: 12px; margin-top: 28px; }
.faq-item {
  counter-increment: chip;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.faq-item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 52px 20px 76px; min-height: 76px; display: flex; align-items: center;
  transition: filter .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { filter: brightness(1.2); }
.faq-item summary::before {
  content: counter(chip);
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff;
  border: 2px dashed rgba(255, 255, 255, .88); box-shadow: 0 0 0 2px var(--red);
  font: 700 .95rem/1 var(--sans);
}
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font: 400 1.6rem/1 var(--sans); color: var(--red);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item h3 { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
.faq-answer { padding: 0 24px 22px 76px; color: var(--text); }
.faq-answer p { margin: 0; }
@media (max-width: 479px) {
  .faq-item summary { padding-left: 68px; }
  .faq-answer { padding-left: 20px; }
}

/* ---------- Help cards ---------- */
.help-card { display: flex; flex-direction: column; gap: 8px; }
.help-card .icon { width: 48px; height: 48px; color: var(--head); }
.help-card h3 { margin: .2em 0 0; font-size: 1.45rem; }
.help-card .number {
  font: 700 2rem/1.1 var(--serif); color: var(--head);
}
.help-card .number span { color: var(--red); }
.help-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.help-card a.link { margin-top: auto; padding-top: 6px; font-weight: 600; }

/* ---------- Table of contents ---------- */
.toc { padding: 22px 22px; margin-bottom: 40px; }
.toc h2 { font-size: 1.35rem; margin-bottom: .6em; }
.toc ol { margin: 0; }
.toc ol li { margin: .45em 0; padding-top: .1em; min-height: 2em; padding-left: 2.8em; font-size: .95rem; }
.toc ol li::before { width: 1.9em; height: 1.9em; font-size: .78rem; }
.toc a { text-decoration: none; color: var(--text); }
@media (min-width: 960px) {
  .layout-toc { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
  .layout-toc .toc { position: sticky; top: 92px; margin-bottom: 0; }
}

.doc section + section { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.updated { color: var(--muted); font-size: .9rem; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
}
.disclaimer svg { width: 40px; height: 40px; color: var(--red); }
.disclaimer h2 { font-size: 1.6rem; margin-bottom: .4em; }
.disclaimer p { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; } }
.footer-brand p { color: var(--muted); margin-top: 1em; max-width: 380px; }
.footer-title { font: 600 1.25rem/1.2 var(--serif); color: var(--head); margin: 0 0 .9em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .5em 0; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .86rem;
}
.footer-bottom .age-badge { width: 38px; height: 38px; font-size: .75rem; }
.footer-bottom p { margin: 0; flex: 1 1 280px; }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  padding: 18px 20px; font-size: .92rem;
  display: none;
}
.cookie.is-visible { display: block; }
.cookie p { margin: 0 0 12px; }
.cookie .btn { min-height: 40px; padding: .55em 1.3em; font-size: .92rem; }

/* ---------- 404 ---------- */
.error-code {
  font: 700 clamp(5rem, 22vw, 11rem)/.9 var(--serif); color: var(--head);
  margin: 0 0 .1em;
}
.error-code span { color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-wheel, .hero-confetti { animation: none; }
}

/* Placeholders a preencher (remover após inserir os dados reais) */
.ph { background: rgba(200, 16, 46, .28); color: #fff; padding: 0 .25em; border-radius: 3px; }

/* Cookie: ações e link de preferências */
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--text); text-align: inherit; }
.link-btn:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

/* ---------- Pop-up: roleta de boas-vindas ---------- */
.spin-modal {
  width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px);
  padding: 0; overflow: auto;
  background: radial-gradient(420px 260px at 50% 0%, var(--red-soft), transparent 70%), var(--card);
  color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.spin-modal::backdrop { background: rgba(3, 9, 6, .78); }
.spin-modal[open] { animation: spin-in .25s ease-out; }
@keyframes spin-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.spin-body { padding: 36px 22px 24px; text-align: center; }
.spin-body h2 { margin-bottom: .3em; }
.spin-sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.2em; }
.spin-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-deep); color: var(--head);
  border: 1px solid var(--line-strong); font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.spin-close:hover { filter: brightness(1.3); }

.spin-stage { position: relative; width: min(300px, 74vw); margin: 0 auto 22px; padding-top: 18px; }
.spin-pointer {
  position: absolute; z-index: 1; top: 0; left: 50%;
  width: 34px; height: 41px; transform: translateX(-50%);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5));
}
.spin-rotor {
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(237, 235, 228, .08), 0 18px 40px rgba(0, 0, 0, .55);
  transition: transform 4.8s cubic-bezier(.12, .62, .08, 1);
}
.spin-wheel { display: block; width: 100%; height: auto; }
.spin-wheel .w-big { font: 700 22px/1 var(--sans); }
.spin-wheel .w-small { font: 500 10px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; opacity: .85; }

.spin-modal [hidden] { display: none; }
.spin-btn[disabled] { opacity: .55; cursor: default; filter: none; }
.spin-result:empty { display: none; }
.spin-result {
  margin: 0 0 16px; padding: 16px 18px; text-align: left;
  background: var(--bg-deep); border: 1px solid var(--red); border-radius: var(--radius);
  animation: spin-in .3s ease-out;
}
.spin-result strong { display: block; font: 600 1.35rem/1.2 var(--serif); color: var(--head); margin-bottom: .3em; }
.spin-result strong::before { content: "\2666\FE0E  "; color: var(--red); }
.spin-result p { margin: 0; color: var(--text); font-size: .94rem; line-height: 1.6; }
.spin-cta { width: 100%; }
.spin-18 { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.4; text-align: left; }
.spin-18 .age-badge { width: 34px; height: 34px; font-size: .68rem; }
@media (min-width: 600px) { .spin-body { padding: 40px 36px 28px; } }

/* Botão flutuante "Tente a sorte" (sobe acima do aviso de cookies enquanto ele está aberto: --fab-lift via JS) */
.spin-fab {
  position: fixed; z-index: 55; right: 16px; bottom: calc(16px + var(--fab-lift, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: var(--red); color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 4px rgba(200, 16, 46, .25), 0 14px 30px rgba(0, 0, 0, .5);
  font: 600 .95rem/1 var(--sans); cursor: pointer;
  transition: filter .2s ease, bottom .25s ease;
}
.spin-fab:hover { filter: brightness(1.15); }
.spin-fab-wheel { width: 34px; height: 34px; flex: none; animation: spin 6s linear infinite; }
@media (min-width: 768px) { .spin-fab { right: 24px; bottom: calc(24px + var(--fab-lift, 0px)); font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) {
  .spin-modal[open], .spin-result { animation: none; }
  .spin-rotor { transition-duration: .4s; }
  .spin-fab-wheel { animation: none; }
}
