/* Brasawin mirror3 — dark theme from the screenshot + Brazil accents */
:root {
  --bg: #1b1b1b;
  --bg-2: #262626;
  --bg-3: #313131;
  --line: #2f2f2f;
  --text: #ffffff;
  --muted: #a3a3a3;
  --lime: #c8f542;
  --lime-dark: #a9d12b;
  --red: #e3122b;
  --br-green: #009c3b;
  --br-yellow: #ffdf00;
  --br-blue: #002776;
  --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
/* Page background: Bingo gradient (pink → purple → blue) at 25% over the dark base, fixed to the screen */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(135deg, #ff4fd8 0%, #7b2ff7 55%, #2196f3 100%);
  opacity: .25;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 16px; border-radius: 8px;
  font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: filter .15s;
}
.btn:hover { filter: brightness(1.1); }
.btn--dark { background: var(--bg-3); color: #fff; font-weight: 600; font-size: 13px; }

/* Top bar */
.topbar { background: rgba(0, 0, 0, .35); font-size: 12px; color: var(--muted); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 32px; gap: 12px; }
.topbar__support { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.flag {
  display: inline-block; width: 16px; height: 11px; margin-right: 6px; vertical-align: -1px; border-radius: 2px;
  background: radial-gradient(circle, #002776 0 2.6px, transparent 2.8px), linear-gradient(135deg, transparent 30%, var(--br-yellow) 30% 70%, transparent 70%), var(--br-green);
}

/* Header */
.header { background: transparent; border-bottom: 1px solid var(--line); }
.header__in { display: flex; justify-content: space-between; align-items: center; height: 64px; gap: 12px; }
.header__left, .header__right { display: flex; align-items: center; gap: 20px; }
.header__right { gap: 10px; }
.logo img { width: 110px; height: auto; }
.header__promo { font-weight: 600; font-size: 14px; position: relative; }
.header__promo .dot { position: absolute; top: -2px; right: -8px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.header__hint { font-size: 12px; line-height: 1.3; text-align: right; color: #fff; }

/* Category menu */
.chips { padding: 14px 0 10px; }
.chips__wrap { position: relative; }
.chips__track { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.chips__track::-webkit-scrollbar { display: none; }
.chips__track { padding-top: 3px; padding-bottom: 3px; gap: 5px; }
.chip {
  flex: 1 1 0; min-width: 70px; min-height: 64px; padding: 8px 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-radius: 10px; font-size: 11.5px; font-weight: 600; line-height: 1.15; text-align: center; color: #fff;
  background: var(--g, var(--bg-2));
  text-shadow: 0 1px 2px rgba(0, 0, 0, .85);
  transition: filter .15s, transform .15s, box-shadow .15s;
}
/* icons → white with a soft shadow so they read on any colour */
.chip img { width: 22px; height: 22px; filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(0, 0, 0, .7)); }
.chip:hover { filter: brightness(1.12); transform: translateY(-2px); }
.chip.is-active { box-shadow: inset 0 0 0 2px #fff, 0 0 12px rgba(255, 255, 255, .35); }

/* Themed gradient for each menu item */
.chip--jogo-aleatorio  { --g: linear-gradient(135deg, #e3122b, #ff8a00, #ffdf00, #00b140, #1e88e5, #8e24aa); } /* random = rainbow */
.chip--slots           { --g: linear-gradient(135deg, #ffcc00 0%, #e3122b 60%, #ffffff 100%); }
.chip--fortune-jogos   { --g: linear-gradient(135deg, #ffd700 0%, #e3122b 55%, #7a0010 100%); }   /* Chinese luck: gold + red */
.chip--bonus           { --g: linear-gradient(135deg, #e3122b 0%, #ffcc00 100%); }
.chip--promocoes       { --g: linear-gradient(135deg, #ff2d95 0%, #ff8a00 100%); }
.chip--pragmatic-play  { --g: linear-gradient(135deg, #ff7a00 0%, #ffb347 55%, #c84b00 100%); } /* provider orange */
.chip--pgsoft          { --g: linear-gradient(135deg, #111111 0%, #3a2f12 50%, #d4a017 100%); } /* black + gold */
.chip--cassino-ao-vivo { --g: linear-gradient(135deg, #e3122b 0%, #4a0072 100%); }                /* "live" red → studio purple */
.chip--baccarat        { --g: linear-gradient(135deg, #0b6b3a 0%, #d4af37 100%); }                /* table felt + gold */
.chip--blackjack       { --g: linear-gradient(135deg, #111111 0%, #0f7b3e 100%); }                /* black + felt */
.chip--roleta          { --g: linear-gradient(135deg, #e3122b 0%, #111111 55%, #0f7b3e 100%); }   /* red / black / zero */
.chip--jogos-crash     { --g: linear-gradient(135deg, #00b4ff 0%, #e3122b 100%); }                /* sky + Aviator red */
.chip--jogos-fast      { --g: linear-gradient(135deg, #8ccf00 0%, #00bcd4 100%); }                /* speed / energy */
.chip--bingo           { --g: linear-gradient(135deg, #ff4fd8 0%, #7b2ff7 55%, #2196f3 100%); }   /* coloured balls */
.chip--jogos-de-tv     { --g: linear-gradient(135deg, #6a00f4 0%, #00c2ff 100%); }                /* TV studio */

/* Scroll arrows */
.arrow {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--bg-3); color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, .5);
}
.arrow:hover { background: #444; }
/* arrows (menu + game rows) only show when there are more items off-screen — JS adds .is-overflow */
.arrow { display: none; }
.is-overflow > .arrow { display: block; }
.is-overflow > [data-scroll] { padding-right: 48px; }

/* Brazil-flag style — shared by the big CTA and every .btn--flag button (header + game cards) */
.cta, .btn--flag {
  /* green → yellow (center) → white → blue (white avoids a muddy grey between yellow and blue) */
  background: linear-gradient(90deg, var(--br-green) 0%, var(--br-green) 6%, var(--br-yellow) 50%, #ffffff 76%, var(--br-blue) 94%);
  color: #fff;
  text-shadow: 0 2px 0 var(--br-blue), 0 0 10px rgba(0, 39, 118, .7);
  position: relative; overflow: hidden;
}
.cta::after, .btn--flag::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-100%); animation: cta-shine 3.2s ease-in-out infinite;
}
.cta:hover, .btn--flag:hover { filter: brightness(1.06); }
/* Small buttons: green → yellow with a white outline (same shine as the CTA) */
.btn--flag {
  background: linear-gradient(90deg, var(--br-green) 0%, var(--br-yellow) 100%);
  border: 2px solid #fff;
  color: #04260f;
  text-shadow: none;
}

/* Big full-width call to action */
.cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 96px; padding: 16px 20px; margin: 6px 0 0; text-align: center;
  animation: cta-glow 1.4s ease-in-out infinite;     /* pulsing yellow glow so it reads as a button */
}
/* text pulses in sync with the glow */
.cta__label, .cta__sub { animation: cta-pulse 1.4s ease-in-out infinite; }
.cta:hover .cta__label, .cta:hover .cta__sub { animation-play-state: paused; }
@keyframes cta-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 223, 0, 0), inset 0 0 0 0 rgba(255, 255, 255, 0); }
  50%      { box-shadow: 0 0 26px 6px rgba(255, 223, 0, .55), inset 0 0 0 3px rgba(255, 255, 255, .75); }
}
.cta__label { font-size: clamp(24px, 4vw, 44px); font-weight: 900; letter-spacing: .04em; line-height: 1.1; }
.cta__sub { font-size: clamp(13px, 1.6vw, 17px); font-weight: 600; margin-top: 6px; }
@keyframes cta-shine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .cta, .cta__label, .cta__sub, .cta::after, .btn--flag::after { animation: none; } }

/* Rotating banner — never wider than the image itself (1062px), so it stays sharp */
/* Fireworks stage: from under the menu to below the banner.
   Layers: CTA button (0) < salute canvas (1) < banner (2). The canvas never catches clicks. */
.fx-stage { position: relative; }
.fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-zone { position: relative; padding: 20px 0; }
.hero {
  position: relative; z-index: 2; width: calc(100% - 48px); max-width: 1062px; margin: 0 auto;
  overflow: hidden; border-radius: var(--radius); touch-action: pan-y;
}
.hero__track { display: flex; transition: transform .6s ease; }
.hero__slide { flex: 0 0 100%; display: block; }
.hero__slide img { width: 100%; height: auto; aspect-ratio: 1062 / 336; }
.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.hero__nav:hover { background: rgba(0,0,0,.8); }
.hero__nav--prev { left: 16px; }
.hero__nav--next { right: 16px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.hero__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s, background .3s; }
.hero__dot.is-active { width: 28px; background: var(--br-yellow); }

/* Breadcrumbs + title */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 4px 0 4px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a:hover { color: #fff; }
.page-title { font-size: clamp(22px, 3vw, 30px); line-height: 1.25; margin: 4px 0 8px; }

/* Rows */
.row { margin: 26px 0; }
.row__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.row__title { font-size: 22px; font-weight: 700; margin: 0; }
.row__all { color: var(--lime); font-weight: 600; font-size: 14px; }
.row__body { position: relative; }
.row__track { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.row__track::-webkit-scrollbar { display: none; }

.game { flex: 1 1 0; min-width: 150px; }
.game__img { display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 300 / 375; }
.game__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.game:hover .game__img img { transform: scale(1.05); }
.game__name { display: block; margin-top: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hot { flex: 0 0 calc((100% - 42px) / 4); min-width: 260px; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--red); }
.hot img { width: 100%; height: auto; }
.hot .btn { position: absolute; right: 12px; bottom: 12px; height: 32px; }

.promo { flex: 1 1 0; min-width: 220px; height: 120px; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.promo img { width: 100%; height: 100%; object-fit: cover; }
.promo__title { position: absolute; top: 12px; left: 14px; font-weight: 700; font-size: 16px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.promo--text { background: linear-gradient(135deg, var(--red), #8c0a1a); }
.promo__big { position: absolute; right: 14px; bottom: 6px; font-size: 34px; font-weight: 900; opacity: .25; }

/* SEO text */
.seo { max-width: 920px; margin: 40px auto 10px; color: #dcdcdc; }
.seo h2 { color: #fff; font-size: 22px; line-height: 1.3; margin: 32px 0 10px; }
.seo h3 { color: #fff; font-size: 18px; margin: 22px 0 8px; }
.seo p { margin: 0 0 14px; }
.seo ul, .seo ol { padding-left: 22px; margin: 0 0 14px; }
.seo li { margin-bottom: 6px; }
.seo strong { color: #fff; }
.seo a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.seo table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; display: block; overflow-x: auto; }
.seo th, .seo td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.seo th { background: var(--bg-2); color: #fff; }

/* FAQ */
.faq { max-width: 920px; margin: 30px auto 50px; }
.faq h2 { font-size: 22px; margin: 0 0 12px; }
.faq details { background: var(--bg-2); border-radius: 10px; margin-bottom: 8px; padding: 0 16px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; position: relative; padding-right: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 20px; color: var(--lime); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: #cfcfcf; }

/* Footer */
.footer { background: rgba(0, 0, 0, .35); border-top: 1px solid var(--line); padding: 36px 0 28px; font-size: 13px; color: var(--muted); }
.footer__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__col a:hover { color: #fff; }
.footer__title { color: #fff; font-weight: 700; margin: 0 0 4px; font-size: 14px; }
.footer__text { margin: 0; }
.footer__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__app { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.footer__app-ico { width: 32px; height: 32px; border-radius: 8px; background: var(--red); display: inline-flex; align-items: center; justify-content: center; }
.footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.badge { border: 1px solid #444; border-radius: 6px; padding: 4px 10px; font-weight: 700; color: #fff; }
.badge--pix { color: #32bcad; border-color: #32bcad; }
.badge--age { color: var(--red); border-color: var(--red); }
.footer__resp a { color: var(--lime); text-decoration: underline; }
.footer__copy { margin: 16px 0 0; font-size: 12px; }

/* Tablet */
@media (max-width: 1024px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .header__hint { display: none; }
}
/* Phone */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar__note { display: none; }
  .header__in { height: 56px; }
  .header__left { gap: 12px; }
  .header__promo, .header__search { display: none; }
  .logo img { width: 92px; }
  .btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .chip { flex: 0 0 auto; width: 72px; min-height: 62px; font-size: 11px; }
  .cta { min-height: 84px; }
  .hero-zone { padding: 16px 0; }
  .hero { width: calc(100% - 32px); }
  .hero__nav { display: none; }
  .hero__dots { bottom: 6px; }
  .hero__dot { width: 8px; height: 8px; }
  .hero__dot.is-active { width: 20px; }
  .is-overflow > .arrow { display: none; }        /* phone: swipe instead of arrows */
  .is-overflow > [data-scroll] { padding-right: 0; }
  .row__track { gap: 10px; }
  .game { flex: 0 0 132px; min-width: 0; }
  .hot, .promo { flex: 0 0 260px; min-width: 0; }
  .hot .btn { height: 30px; }
  .row__title { font-size: 18px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
