/* Brasawin mirror — estilo baseado no layout original (tema escuro) */
:root {
  --bg: #1b1b1b;
  --bg-2: #141414;
  --surface: #262626;
  --surface-2: #303030;
  --text: #ffffff;
  --muted: #a3a3a3;
  --lime: #c8f542;
  --lime-dark: #b3e02c;
  --red: #e3122b;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1340px; margin: 0 auto; padding: 0 16px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--bg-2); font-size: 12px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 30px; }
.topbar__support { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar__note { color: var(--muted); }

/* ---------- Header ---------- */
.header { background: var(--bg); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #222; }
.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: 22px; }
.header__right { gap: 10px; }
.logo img { width: 96px; height: auto; }
.header__promo { font-size: 14px; font-weight: 600; position: relative; }
.header__promo .dot { position: absolute; top: -2px; right: -7px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.header__search { display: inline-flex; }
.header__hint { font-size: 11px; line-height: 1.2; text-align: right; color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 16px; border-radius: 8px;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: filter .15s, background .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn--grey { background: #3d3d3d; }
.btn--lime { background: var(--lime); color: #111; }
.btn--dark { background: var(--surface-2); height: 32px; font-size: 12px; padding: 0 12px; }

/* ---------- Category chips ---------- */
.chips { padding: 14px 0 4px; }
.chips__wrap { position: relative; }
.chips__track {
  display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; padding-right: 44px;
}
.chips__track::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; width: 92px; height: 78px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: 10px; background: transparent; color: var(--muted);
  font-size: 12px; font-weight: 600; text-align: center; line-height: 1.15; padding: 6px;
  transition: background .15s, color .15s;
}
.chip img { width: 24px; height: 24px; opacity: .75; }
.chip:hover { background: var(--surface); color: var(--text); }
.chip:hover img { opacity: 1; }
.chip.is-active { background: var(--surface-2); color: var(--text); }
.chip.is-active img { opacity: 1; }
.chip--random { background: var(--red); color: #fff; }
.chip--random img { opacity: 1; }
.chip--random:hover, .chip--random.is-active { background: #ff2640; }

.arrow {
  position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(38,38,38,.92); color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.arrow:hover { background: var(--surface-2); }
.chips__arrow { right: 16px; }

/* ---------- Big CTA ---------- */
.cta-play {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; margin: 14px 0 22px; padding: 18px 16px;
  border-radius: 14px; background: var(--lime); color: #111;
  box-shadow: 0 8px 30px rgba(200,245,66,.25);
  transition: transform .15s, background .15s;
  animation: pulse 1.6s ease-in-out infinite;
}
.cta-play:hover { background: var(--lime-dark); animation-play-state: paused; }
.cta-play__label { font-size: clamp(24px, 4vw, 38px); font-weight: 900; letter-spacing: .04em; line-height: 1.1; }
.cta-play__bonus {
  margin-top: 6px; padding: 4px 14px; border-radius: 999px;
  background: #111; color: var(--lime);
  font-size: clamp(14px, 1.8vw, 18px); font-weight: 800; text-align: center; line-height: 1.3;
}
.cta-play__sub { font-size: 14px; font-weight: 600; margin-top: 6px; text-align: center; }
/* Pulsação: o botão "respira" e solta um anel lima, para parecer clicável */
@keyframes pulse {
  0%   { transform: scale(1);     box-shadow: 0 8px 30px rgba(200,245,66,.25), 0 0 0 0 rgba(200,245,66,.7); }
  50%  { transform: scale(1.025); box-shadow: 0 8px 40px rgba(200,245,66,.5),  0 0 0 12px rgba(200,245,66,0); }
  100% { transform: scale(1);     box-shadow: 0 8px 30px rgba(200,245,66,.25), 0 0 0 0 rgba(200,245,66,0); }
}
@media (prefers-reduced-motion: reduce) { .cta-play { animation: none; } }

/* ---------- Banners ---------- */
.banners { position: relative; margin-bottom: 18px; }
.banners__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 6px); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.banners__track::-webkit-scrollbar { display: none; }
.banner { position: relative; display: block; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; }
.banner img { width: 100%; aspect-ratio: 1062 / 336; object-fit: cover; }
.banner__btn { position: absolute; right: 14px; bottom: 12px; }
.banners__arrow { right: -6px; }

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

/* ---------- Game rows ---------- */
.row { margin-bottom: 28px; }
.row__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.row__title { font-size: 20px; font-weight: 700; margin: 0; }
.row__all { color: var(--lime); font-size: 13px; font-weight: 700; }
.row__body { position: relative; }
.row__track {
  display: grid; grid-auto-flow: column; gap: 12px;
  grid-auto-columns: calc((100% - 5 * 12px) / 6);
  overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
}
.row__track::-webkit-scrollbar { display: none; }
.row .arrow { right: -6px; top: 42%; }

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

/* Hot cards (big red) */
.row--hot .row__track { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
.hot { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.hot img { width: 100%; aspect-ratio: 456 / 288; object-fit: cover; }
.hot .btn { position: absolute; right: 12px; bottom: 12px; height: 30px; font-size: 12px; padding: 0 12px; }

/* Promo tiles */
.row--promo .row__track { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
.promo { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--red); aspect-ratio: 612 / 228; }
.promo img { width: 100%; height: 100%; object-fit: cover; }
.promo__title { position: absolute; left: 14px; top: 10px; font-weight: 700; font-size: 15px; text-shadow: 0 1px 4px rgba(0,0,0,.3); }
.promo--text { display: flex; align-items: flex-end; padding: 14px; background: linear-gradient(135deg, var(--red) 55%, #b10d20); }
.promo--text .promo__big { font-size: clamp(20px, 2.4vw, 30px); font-weight: 900; text-transform: uppercase; line-height: 1; transform: rotate(-4deg); margin-left: auto; }

/* ---------- SEO article ---------- */
.seo, .faq {
  background: var(--surface); border-radius: var(--radius);
  padding: 28px clamp(16px, 4vw, 40px); margin: 10px 0 22px;
  color: #e6e6e6;
}
.seo h2, .faq h2 { color: #fff; font-size: 22px; line-height: 1.25; margin: 28px 0 12px; }
.seo h2:first-child, .faq h2:first-child { margin-top: 0; }
.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 a, .faq a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.seo strong { color: #fff; }
.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 #3a3a3a; padding: 8px 10px; text-align: left; vertical-align: top; }
.seo th { background: var(--surface-2); color: #fff; }

.faq details { border-top: 1px solid #383838; }
.faq details:last-child { border-bottom: 1px solid #383838; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; font-weight: 700; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; color: var(--lime); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid #2a2a2a; padding: 32px 0 26px; 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; }
.footer__col a:hover { color: #fff; }
.footer__title { color: #fff; font-weight: 700; margin: 0 0 4px; }
.footer__text { margin: 0; line-height: 1.4; }
.footer__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.footer__btns .btn { color: #fff; }
.footer__app { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.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 #2a2a2a; }
.badge { border: 1px solid #3d3d3d; border-radius: 6px; padding: 4px 10px; font-weight: 700; color: #ddd; }
.badge--pix { color: #32bcad; border-color: #32bcad; }
.badge--age { color: var(--red); border-color: var(--red); }
.footer__resp { flex: 1 1 260px; }
.footer__copy { margin: 16px 0 0; font-size: 12px; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .row__track { grid-auto-columns: calc((100% - 3 * 12px) / 4.3); }
  .row--hot .row__track, .row--promo .row__track { grid-auto-columns: calc((100% - 12px) / 2.3); }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .header__in { height: 56px; }
  .header__left { gap: 14px; }
  .header__hint, .header__promo, .topbar__note { display: none; }
  .logo img { width: 84px; }
  .btn { height: 32px; padding: 0 10px; font-size: 13px; }
  .banners__track { grid-auto-columns: 88%; }
  .arrow { display: none; }
  .chip { width: 80px; height: 70px; font-size: 11px; }
  .row__track { grid-auto-columns: calc((100% - 2 * 10px) / 2.6); gap: 10px; }
  .row--hot .row__track, .row--promo .row__track { grid-auto-columns: 78%; }
  .row__title { font-size: 18px; }
  .game__name { font-size: 13px; }
  .cta-play { margin: 10px 0 16px; padding: 16px 12px; }
  .seo, .faq { padding: 20px 16px; }
  .seo h2, .faq h2 { font-size: 20px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .btn--grey { display: none; }
}
