/* H2Bet R7 Production CSS v0.1 — approved R6 editorial-premium design */
:root {
  --plum: #35104f;
  --deep: #241033;
  --purple: #5c176f;
  --magenta: #8c0c94;
  --lilac: #c8a8d9;
  --paper: #fbf9fc;
  --surface: #ffffff;
  --tint: #f4eef7;
  --muted-bg: #eee6f2;
  --ink: #261d2b;
  --muted: #6f6576;
  --border: #e5dde9;
  --border-strong: #d2c3db;
  --notice: #f6f0f8;
  --focus: #c65bd0;
  --footer: #241033;
  --container: 1280px;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(47, 16, 65, 0.08);
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
}
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--magenta); }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}
img { max-width: 100%; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
  color: var(--plum);
  border-radius: 10px;
}
.skip-link:focus { top: 12px; }

/* Header and navigation */
.site-header {
  min-height: 84px;
  background: linear-gradient(100deg, #281039 0%, #35104f 58%, #42104e 100%);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 20;
}
.header-inner {
  width: min(calc(100% - 48px), 1320px);
  min-height: 84px;
  margin: auto;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 146px;
  align-items: center;
  gap: 18px;
}
.brand { display: flex; align-items: center; width: 118px; height: 52px; }
.brand img { display: block; width: 112px; height: auto; max-height: 40px; object-fit: contain; }
.desktop-nav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}
.nav-pill {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 8px 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #f8f2fb;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.nav-pill:hover, .nav-pill:focus-visible {
  background: rgba(255,255,255,.13);
  color: #fff;
  border-color: rgba(255,255,255,.42);
}
.nav-pill.is-active { background: #f8f3fa; color: var(--plum); border-color: #f8f3fa; }
.method-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(115deg, #a52cab, #762084);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  white-space: nowrap;
}
.method-cta:hover { color: #fff; filter: brightness(1.08); }
.method-cta.is-active { background: #f8f3fa; color: var(--plum); border-color: #f8f3fa; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  min-height: 44px;
  padding: 8px 13px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.hamb { width: 16px; display: grid; gap: 3px; }
.hamb i { height: 2px; background: #fff; border-radius: 2px; }
.mobile-nav nav {
  position: absolute;
  right: 0;
  top: calc(100% + 14px);
  width: min(310px, calc(100vw - 32px));
  padding: 12px;
  background: #2c103f;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20,5,28,.3);
  display: grid;
  gap: 5px;
}
.mobile-nav nav a {
  color: #fff;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}
.mobile-nav nav a:hover, .mobile-nav nav a[aria-current="page"] { background: rgba(255,255,255,.12); }

/* Full-width Hero: contain foreground + softened version of the same approved scene */
.hero {
  height: clamp(430px, 39vw, 560px);
  max-height: min(62vh, 560px);
  min-height: 430px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #21102e;
}
.hero__fill {
  position: absolute;
  inset: -22px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(.46) saturate(.82);
  transform: scale(1.06);
  z-index: -3;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24,10,34,.86) 0%, rgba(30,12,42,.66) 32%, rgba(35,12,47,.22) 72%, rgba(35,12,47,.12) 100%),
              linear-gradient(0deg, rgba(18,8,27,.24), transparent 48%);
  z-index: -1;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero__image {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateX(-50%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.hero__inner {
  width: min(calc(100% - 48px), var(--container));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 16px;
}
.hero h1 {
  font: 700 clamp(42px, 4.1vw, 58px)/1.06 var(--display);
  letter-spacing: -.035em;
  color: #fff;
  max-width: 520px;
  margin: 0;
  padding: 0 0 10px;
  text-shadow: 0 3px 18px rgba(0,0,0,.34);
  transform: translateY(-16px);
}
.hero--esportes .hero__shade {
  background: linear-gradient(90deg, rgba(25,10,37,.76) 0%, rgba(30,12,42,.55) 34%, rgba(30,12,42,.12) 76%),
              linear-gradient(0deg, rgba(18,8,27,.2), transparent 45%);
}
.hero--pagamentos .hero__shade {
  background: linear-gradient(90deg, rgba(22,10,32,.88) 0%, rgba(25,10,37,.7) 34%, rgba(25,10,37,.18) 75%),
              linear-gradient(0deg, rgba(18,8,27,.2), transparent 45%);
}
.hero--cassino h1 { font-size: 48px; max-width: 320px; }
.hero--home .hero__fill { background-image: url("/assets/images/home/h-01-768.webp"); }
@media (min-width: 941px) { .hero--home .hero__fill { background-image: url("/assets/images/home/h-01-1600x900.webp"); } }
.hero--status .hero__fill { background-image: url("/assets/images/status/h-02-768.webp"); }
@media (min-width: 941px) { .hero--status .hero__fill { background-image: url("/assets/images/status/h-02-1600x900.webp"); } }
.hero--pagamentos .hero__fill { background-image: url("/assets/images/pagamentos/h-03-768.webp"); }
@media (min-width: 941px) { .hero--pagamentos .hero__fill { background-image: url("/assets/images/pagamentos/h-03-1600x900.webp"); } }
.hero--acesso .hero__fill { background-image: url("/assets/images/acesso/h-04-768.webp"); }
@media (min-width: 941px) { .hero--acesso .hero__fill { background-image: url("/assets/images/acesso/h-04-1600x900.webp"); } }
.hero--app .hero__fill { background-image: url("/assets/images/app/h-05-768.webp"); }
@media (min-width: 941px) { .hero--app .hero__fill { background-image: url("/assets/images/app/h-05-1600x900.webp"); } }
.hero--bonus .hero__fill { background-image: url("/assets/images/bonus/h-06-768.webp"); }
@media (min-width: 941px) { .hero--bonus .hero__fill { background-image: url("/assets/images/bonus/h-06-1600x900.webp"); } }
.hero--esportes .hero__fill { background-image: url("/assets/images/esportes/h-07-768.webp"); }
@media (min-width: 941px) { .hero--esportes .hero__fill { background-image: url("/assets/images/esportes/h-07-1600x900.webp"); } }
.hero--cassino .hero__fill { background-image: url("/assets/images/cassino/h-08-768.webp"); }
@media (min-width: 941px) { .hero--cassino .hero__fill { background-image: url("/assets/images/cassino/h-08-1600x900.webp"); } }
.hero--sobre .hero__fill { background-image: url("/assets/images/sobre/h-10-768.webp"); }
@media (min-width: 941px) { .hero--sobre .hero__fill { background-image: url("/assets/images/sobre/h-10-1600x900.webp"); } }

/* Non-Hero legal and service pages */
.plain-title {
  padding: 56px 0 28px;
  background: linear-gradient(130deg, #f4eef7, #fbf9fc 68%);
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--magenta);
  margin: 0 0 10px;
}
.plain-title h1 {
  font: 700 clamp(38px, 4vw, 54px)/1.1 var(--display);
  letter-spacing: -.03em;
  margin: 0;
  color: var(--plum);
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs a { color: var(--purple); text-decoration: none; }
.breadcrumbs span:last-child { font-weight: 650; color: var(--ink); }
.legal-notice {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 13px;
  padding: 16px 18px;
  margin: 8px 0 18px;
  background: var(--notice);
  border: 1px solid #e7d8eb;
  border-left: 4px solid var(--magenta);
  border-radius: 14px;
  color: #43334a;
}
.legal-notice p { margin: 0; font-size: 13px; line-height: 1.58; }
.legal-notice strong { color: var(--plum); }
.notice-mark {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  margin-top: 1px;
}
.byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  padding: 3px 0 26px;
}
.byline strong { color: var(--ink); }
.byline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 4px #f0e2f3;
}
.meta-sep { color: #b6aabd; }

/* Article grid and navigation */
.article-layout {
  display: grid;
  grid-template-columns: minmax(245px, 270px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 80px;
}
.left-sidebar { position: sticky; top: 24px; align-self: start; }
.toc-card {
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.toc-eyebrow {
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 800;
  color: var(--magenta);
  margin: 0 0 5px;
}
.toc-card h2 {
  font: 700 21px/1.2 var(--display);
  margin: 0 0 14px;
  color: var(--plum);
}
.toc-card nav { display: grid; gap: 5px; }
.toc-card nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #54465d;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.35;
  border: 1px solid transparent;
}
.toc-card nav a:hover, .toc-card nav a[aria-current="location"] {
  background: var(--tint);
  border-color: #e7d8ec;
  color: var(--plum);
}
.toc-mobile { display: none; }
.article-body { min-width: 0; max-width: 860px; }
.intro-card {
  padding: 26px 30px;
  margin: 0 0 38px;
  background: linear-gradient(135deg, #fff 0%, #f8f3fa 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--magenta);
}
.intro-label {
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 800;
  color: var(--magenta);
  margin: 0 0 10px;
}
.lead {
  font-size: 18px;
  line-height: 1.68;
  font-weight: 500;
  color: #33263a;
  margin: 0 0 14px;
}
.lead:last-child { margin-bottom: 0; }
.article-section, .faq-block, .sources-block { scroll-margin-top: 26px; margin: 0 0 34px; }
.article-section h2, .faq-block h2, .sources-block h2 {
  font: 700 31px/1.18 var(--display);
  letter-spacing: -.02em;
  color: var(--plum);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.article-section h3, .sources-block h3 {
  font: 700 22px/1.3 var(--display);
  color: var(--purple);
  margin: 26px 0 12px;
}
.article-section p, .faq-block p, .sources-block p {
  font-size: 16px;
  line-height: 1.78;
  margin: 0 0 16px;
  color: #403746;
}
.article-section ul, .article-section ol, .sources-block ul, .sources-block ol {
  margin: 0 0 20px;
  padding-left: 24px;
  color: #403746;
}
.article-section li, .sources-block li { margin: 0 0 8px; }
.article-section code, .sources-block code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .92em;
  background: var(--tint);
  padding: 2px 5px;
  border-radius: 5px;
}
.article-section blockquote, .sources-block blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--magenta);
  background: var(--tint);
  border-radius: 0 12px 12px 0;
}
.article-figure {
  margin: 28px 0 38px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
}
.article-figure figcaption {
  font-size: 11px;
  color: var(--muted);
  padding: 9px 5px 2px;
  line-height: 1.45;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 22px 0 32px;
  background: #fff;
}
.content-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 520px;
  font-size: 14px;
}
.content-table th {
  background: #e8dced;
  color: var(--plum);
  text-align: left;
  font-weight: 750;
  padding: 12px 14px;
}
.content-table td { padding: 12px 14px; border-top: 1px solid var(--border); }
.content-table tbody tr:nth-child(even) { background: #f5f0f7; }
.content-table tbody tr:nth-child(odd) { background: #fff; }

/* FAQ uses native details/summary; all questions start closed. */
.faq-block { margin: 42px 0; }
.faq-item {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 13px;
  margin: 9px 0;
  padding: 0 16px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 15px 24px 15px 0;
  position: relative;
  color: var(--plum);
  min-height: 52px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  color: var(--magenta);
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.ai-note {
  padding: 16px 18px;
  margin: 38px 0 0;
  background: #f1eaf4;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: #5b4b62;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #f5edf8;
  padding: 44px 0 24px;
}
.footer-inner {
  width: min(calc(100% - 48px), var(--container));
  margin: auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(260px, 1fr);
  gap: 30px;
}
.footer-brand img { width: 116px; height: auto; display: block; margin-bottom: 15px; }
.footer-brand p { font-size: 13px; color: #d7c9df; max-width: 460px; margin: 0 0 10px; }
.footer-disclosure { opacity: .78; font-size: 11px !important; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-content: start; }
.footer-links a { color: #f1e5f5; font-size: 13px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: #cbbbd4;
  font-size: 11px;
}

/* 404 */
.error-page { min-height: 100vh; display: flex; flex-direction: column; }
.error-header .header-inner { grid-template-columns: 1fr auto; }
.error-content {
  width: min(calc(100% - 40px), 720px);
  margin: auto;
  padding: 90px 0 120px;
  text-align: center;
}
.error-content h1 {
  color: var(--plum);
  font: 700 clamp(36px, 5vw, 54px)/1.1 var(--display);
  margin: 0 0 18px;
}
.error-content p:not(.eyebrow) { color: var(--muted); margin: 0 auto 28px; max-width: 560px; }
.error-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.error-home:hover { color: #fff; background: var(--magenta); }

/* Responsive states */
@media (max-width: 1230px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav, .method-cta { display: none; }
  .mobile-nav { display: block; }
}
@media (max-width: 940px) {
  .article-layout { display: block; padding-bottom: 56px; }
  .toc-desktop { display: none; }
  .toc-mobile {
    display: block;
    margin: 0 0 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0 16px;
  }
  .toc-mobile summary {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--plum);
    font-weight: 750;
    list-style: none;
  }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile nav { display: grid; gap: 4px; padding: 0 0 14px; }
  .toc-mobile nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    color: #54465d;
    border-radius: 9px;
    text-decoration: none;
    font-size: 13px;
  }
  .toc-mobile nav a:hover { background: var(--tint); }
  .article-body { max-width: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { width: calc(100% - 32px); min-height: 72px; }
  .site-header { min-height: 72px; }
  .brand { width: 112px; height: 48px; }
  .brand img { width: 108px; max-height: 38px; }
  .hero { height: 340px; min-height: 340px; max-height: none; }
  .hero__inner { width: calc(100% - 32px); padding-left: 4px; align-items: flex-start; padding-top: 42px; }
  .hero h1 { font-size: 34px; line-height: 1.08; max-width: 300px; transform: none; }
  .hero--cassino h1 { font-size: 32px; max-width: 240px; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(24,10,34,.76) 0%, rgba(30,12,42,.35) 42%, rgba(18,8,27,.38) 100%);
  }
  .hero__image { height: 100%; max-width: 100%; }
  .plain-title { padding: 42px 0 24px; }
  .plain-title h1 { font-size: 38px; }
  .breadcrumbs { padding: 18px 0 10px; }
  .legal-notice { grid-template-columns: 26px minmax(0,1fr); gap: 10px; padding: 13px 12px; }
  .legal-notice p { font-size: 12px; }
  .byline { padding-bottom: 20px; }
  .intro-card { padding: 20px 18px; margin-bottom: 30px; }
  .lead { font-size: 16px; line-height: 1.7; }
  .article-section h2, .faq-block h2, .sources-block h2 { font-size: 27px; }
  .article-section h3, .sources-block h3 { font-size: 20px; }
  .article-section p, .faq-block p, .sources-block p { font-size: 15px; }
  .article-figure { padding: 7px; margin: 22px 0 30px; }
  .footer-inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .error-content { padding: 70px 0 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
