/* Brasawin em brasa — coal + fire theme, side menu layout */
:root {
  --coal: #140c08;
  --coal-2: #1f130d;
  --card: #2a1a12;
  --line: #3d2619;
  --orange: #ff6a00;
  --red: #e3122b;
  --gold: #ffb703;
  --yellow: #ffd23f;
  --text: #f6ece4;
  --muted: #b89c8a;
  --fire: linear-gradient(135deg, #ffd23f 0%, #ffb703 25%, #ff6a00 60%, #e3122b 100%);
  --glow: 0 0 18px rgba(255, 106, 0, .45);
  --side-w: 230px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--coal); color: var(--text);
  font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
body.menu-open { overflow: hidden; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 18px; border-radius: 10px; border: 0;
  font-weight: 800; font-size: 14px; letter-spacing: .02em; white-space: nowrap; cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn--fire { background: var(--fire); color: #2a1206; box-shadow: var(--glow); }
.btn--ghost { background: transparent; color: var(--yellow); box-shadow: inset 0 0 0 2px var(--orange); }
.btn--ghost:hover { background: rgba(255, 106, 0, .12); }

/* Top strip */
.topbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 6px 18px; font-size: 12px; background: #0c0704; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.topbar__support { color: var(--gold); font-weight: 700; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px; padding: 10px 18px;
  background: rgba(20, 12, 8, .94); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(255, 106, 0, .25);
}
.header__menu {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; padding: 0 9px; border: 0; border-radius: 10px;
  background: var(--card); cursor: pointer;
}
.header__menu span { display: block; height: 3px; border-radius: 2px; background: var(--gold); transition: transform .2s, opacity .2s; }
.header__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.logo img { height: 27px; width: auto; filter: drop-shadow(0 0 8px rgba(255, 106, 0, .55)); }
.header__promo { font-weight: 700; color: var(--muted); }
.header__promo:hover { color: var(--yellow); }
.header__right { margin-left: auto; display: flex; gap: 8px; }

/* Layout: side menu + content */
.layout { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); align-items: start; }
.side {
  position: sticky; top: 61px; height: calc(100vh - 61px); overflow-y: auto;
  padding: 16px 10px 24px; background: var(--coal-2); border-right: 1px solid var(--line);
}
.side__title { margin: 0 10px 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); }
.side__nav { display: flex; flex-direction: column; gap: 2px; }
.side__link {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px;
  font-weight: 600; font-size: 15px; color: #e8d8cc; border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
.side__link img { width: 24px; height: 24px; flex: 0 0 24px; }
.side__link:hover { background: var(--card); color: #fff; }
.side__link.is-active { background: linear-gradient(90deg, rgba(255, 106, 0, .25), rgba(255, 106, 0, 0)); border-left-color: var(--orange); color: var(--yellow); }
.side__badges { display: flex; gap: 8px; margin: 18px 10px 0; }
.side-overlay { display: none; }
.content { min-width: 0; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 12px; font-weight: 800; }
.badge--pix { background: #32bcad; color: #08302b; }
.badge--age { background: var(--red); color: #fff; }

/* Fire block with sparks and the big CTA */
.fire {
  position: relative; overflow: hidden; padding: clamp(34px, 6vw, 70px) 18px;
  display: flex; justify-content: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% 120%, rgba(255, 106, 0, .55), rgba(227, 18, 43, .25) 45%, transparent 75%),
    linear-gradient(180deg, #120a06, #1f0e07);
}
.fire__sparks { position: absolute; inset: 0; pointer-events: none; }
.fire__sparks i {
  position: absolute; bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle, #fff6c2 0%, #ffb703 45%, rgba(255, 106, 0, 0) 75%);
  box-shadow: 0 0 6px #ff8a00;
  animation: spark var(--d) linear infinite; animation-delay: var(--w);
  opacity: 0;
}
@keyframes spark {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: .8; }
  100% { transform: translate(var(--x), -340px) scale(.3); opacity: 0; }
}
.cta {
  position: relative; z-index: 1; width: min(100%, 860px);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: clamp(18px, 3vw, 28px) 20px; border-radius: 18px; text-align: center;
  background: var(--fire); color: #2a1206;
  box-shadow: 0 0 0 3px rgba(255, 210, 63, .7), 0 0 40px rgba(255, 106, 0, .7);
  animation: pulse 2.2s ease-in-out infinite;
}
.cta__label { font-size: clamp(26px, 5vw, 52px); font-weight: 900; line-height: 1; letter-spacing: .03em; text-shadow: 0 2px 0 rgba(255, 255, 255, .35); }
.cta__sub { font-size: clamp(13px, 1.8vw, 18px); font-weight: 600; }
.cta__sub strong { font-weight: 900; }
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(255, 210, 63, .7), 0 0 30px rgba(255, 106, 0, .6); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 3px rgba(255, 210, 63, 1), 0 0 60px rgba(255, 106, 0, .9); }
}

/* Rotating banner */
.hero { position: relative; width: 100%; overflow: hidden; touch-action: pan-y; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__track { display: flex; transition: transform .6s ease; }
.hero__slide {
  flex: 0 0 100%; display: flex; align-items: center; justify-content: center; gap: 4vw;
  height: clamp(240px, 28vw, 400px); padding: 0 clamp(20px, 6vw, 100px); overflow: hidden; position: relative;
  background: var(--slide-bg);
}
.hero__slide--wheel   { --slide-bg: radial-gradient(circle at 72% 50%, #ff8a00 0%, #a3150f 45%, #1a0805 100%); }
.hero__slide--tiger   { --slide-bg: radial-gradient(circle at 72% 50%, #ffd23f 0%, #e3122b 50%, #2a0406 100%); }
.hero__slide--olympus { --slide-bg: radial-gradient(circle at 72% 50%, #ffb703 0%, #7a2a0c 50%, #160805 100%); }
.hero__slide--dragon  { --slide-bg: radial-gradient(circle at 72% 50%, #ff6a00 0%, #8c0d1d 50%, #1a0507 100%); }
.hero__slide--bass    { --slide-bg: radial-gradient(circle at 72% 50%, #ffc94a 0%, #b04a0a 50%, #1c0c04 100%); }
.hero__slide--aviator { --slide-bg: radial-gradient(circle at 72% 50%, #ff3d3d 0%, #7f0000 50%, #120000 100%); }
.slide__text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 520px; z-index: 1; }
.slide__kicker {
  font-size: clamp(11px, 1.2vw, 14px); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--yellow); background: rgba(0, 0, 0, .4); padding: 3px 10px; border-radius: 20px;
}
.slide__bonus {
  display: inline-block; padding: 4px 14px 6px; border-radius: 10px; transform: rotate(-2deg);
  font-size: clamp(22px, 3.6vw, 48px); font-weight: 900; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em;
  color: #fff6c2; background: linear-gradient(180deg, #e3122b, #a50b1d);
  box-shadow: 0 0 0 3px var(--yellow), 0 6px 0 #5c0610, 0 0 30px rgba(255, 106, 0, .7);
  text-shadow: 0 2px 0 #5c0610;
  animation: bonus-pop 1.6s ease-in-out infinite;
}
@keyframes bonus-pop { 0%, 100% { transform: rotate(-2deg) scale(1); } 50% { transform: rotate(-2deg) scale(1.05); } }
.slide__title { font-size: clamp(22px, 3.4vw, 44px); font-weight: 900; line-height: 1; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.slide__sub { font-size: clamp(13px, 1.6vw, 21px); font-weight: 600; line-height: 1.3; }
.slide__sub strong { color: var(--yellow); }
.slide__btn { height: clamp(34px, 3.4vw, 48px); padding: 0 clamp(14px, 2vw, 28px); font-size: clamp(13px, 1.3vw, 17px); margin-top: 6px; }
.slide__art { flex: 0 0 auto; height: 88%; display: flex; align-items: center; justify-content: center; }
.slide__art img {
  height: 100%; width: auto; border-radius: 16px; transform: rotate(-4deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .6), 0 0 0 3px var(--gold), 0 0 30px rgba(255, 106, 0, .6);
}
.slide__art img.is-wide { height: auto; width: clamp(180px, 32vw, 500px); }
.wheel { height: 100%; width: auto; filter: drop-shadow(0 0 26px rgba(255, 106, 0, .6)); }
.wheel text { font: 800 17px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.wheel .wheel__hub { font-size: 17px; font-weight: 900; }
.wheel__spin { animation: wheel-spin 14s linear infinite; transform-origin: 0 0; }
.wheel__bulb { fill: #fff6c2; animation: bulb 1s steps(1) infinite; }
.wheel__bulb--alt { animation-delay: .5s; }
@keyframes wheel-spin { to { transform: rotate(360deg); } }
@keyframes bulb { 0% { fill: #fff6c2; } 50% { fill: var(--orange); } }
.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0, 0, 0, .5); color: var(--yellow); font-size: 28px; line-height: 1;
}
.hero__nav:hover { background: rgba(0, 0, 0, .8); }
.hero__nav--prev { left: 14px; }
.hero__nav--next { right: 14px; }
.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, .45); cursor: pointer; transition: width .3s, background .3s; }
.hero__dot.is-active { width: 28px; background: var(--orange); }

/* Main column */
main { padding: 0 clamp(14px, 3vw, 34px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 16px 0 4px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--orange); }
.crumbs a:hover { color: #fff; }
.page-title {
  margin: 4px 0 18px; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.2; font-weight: 900;
  background: linear-gradient(90deg, #ffd23f, #ff6a00); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Game grids */
.row { margin: 0 0 30px; }
.row__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.row__title { margin: 0; font-size: 20px; font-weight: 800; }
.row__title::before { content: "🔥 "; }
.row__all { font-size: 14px; font-weight: 700; color: var(--orange); white-space: nowrap; }
.row__all:hover { color: var(--yellow); }
.row__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.row--hot .row__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row--promo .row__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.game { display: flex; flex-direction: column; gap: 6px; }
.game__img { display: block; border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.game__img img { width: 100%; height: auto; aspect-ratio: 300 / 375; object-fit: cover; }
.game:hover .game__img { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--orange), var(--glow); }
.game__name { font-size: 13px; font-weight: 600; color: #e8d8cc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hot { position: relative; display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.hot img { width: 100%; height: auto; aspect-ratio: 456 / 288; object-fit: cover; }
.hot .btn { position: absolute; left: 12px; bottom: 12px; }
.hot:hover { box-shadow: 0 0 0 2px var(--orange), var(--glow); }

.promo { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line); min-height: 120px; }
.promo img { width: 100%; height: auto; aspect-ratio: 612 / 228; object-fit: cover; }
.promo__title { position: absolute; left: 12px; bottom: 10px; right: 12px; font-weight: 800; text-shadow: 0 2px 6px rgba(0, 0, 0, .9); }
.promo--text { display: flex; flex-direction: column; justify-content: center; padding: 18px; background: radial-gradient(circle at 80% 20%, rgba(255, 106, 0, .45), transparent 60%), var(--card); }
.promo--text .promo__title { position: static; text-shadow: none; color: var(--muted); }
.promo__big { font-size: 26px; font-weight: 900; color: var(--yellow); line-height: 1.1; }
.promo:hover { box-shadow: 0 0 0 2px var(--orange), var(--glow); }

/* SEO text */
.seo {
  max-width: 940px; margin: 36px 0 10px; padding: clamp(18px, 3vw, 34px);
  background: var(--coal-2); border: 1px solid var(--line); border-radius: 16px; color: #e0d0c4;
}
.seo h2 { color: var(--yellow); font-size: 22px; line-height: 1.3; margin: 30px 0 10px; }
.seo 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 li::marker { color: var(--orange); }
.seo strong { color: #fff; }
.seo a { color: var(--gold); 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(--card); color: var(--yellow); }

/* FAQ */
.faq { max-width: 940px; margin: 30px 0 50px; }
.faq h2 { font-size: 22px; margin: 0 0 12px; color: var(--yellow); }
.faq details { background: var(--card); border-radius: 12px; margin-bottom: 8px; padding: 0 16px; border-left: 3px solid var(--orange); }
.faq summary { cursor: pointer; padding: 14px 24px 14px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 11px; font-size: 22px; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: #dccbbe; }

/* Footer */
.footer { background: #0c0704; border-top: 2px solid var(--orange); padding: 34px clamp(16px, 4vw, 40px) 24px; font-size: 14px; color: var(--muted); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__col a:not(.btn):hover { color: var(--yellow); }
.footer__title { margin: 0 0 4px; font-weight: 800; color: var(--gold); text-transform: uppercase; font-size: 13px; letter-spacing: .06em; }
.footer__text { margin: 0; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer__resp a { color: var(--gold); text-decoration: underline; }
.footer__copy { width: 100%; margin: 6px 0 0; font-size: 13px; }

/* 404 */
.page-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 110%, rgba(255, 106, 0, .45), transparent 60%), var(--coal); }
.notfound { max-width: 560px; padding: 30px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.notfound .logo img { height: 41px; }
.notfound h1 { margin: 16px 0 0; font-size: clamp(24px, 5vw, 34px); color: var(--yellow); }
.notfound__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Tablet */
@media (max-width: 1200px) {
  .row__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Phone/tablet: side menu becomes a drawer */
@media (max-width: 900px) {
  .header { gap: 10px; padding: 8px 12px; }
  .header__menu { display: flex; }
  .header__promo { display: none; }
  .layout { display: block; }
  .side {
    position: fixed; z-index: 50; top: 0; left: 0; bottom: 0; height: auto; width: 270px; max-width: 85vw;
    transform: translateX(-105%); visibility: hidden;
    transition: transform .25s ease, visibility .25s; box-shadow: 0 0 40px rgba(0, 0, 0, .7);
  }
  .side.is-open { transform: none; visibility: visible; }
  .side-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .6); }
  .side-overlay.is-open { display: block; }
  .row--hot .row__grid, .row--promo .row__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .topbar__note { display: none; }
  .logo img { height: 22px; }
  .header__right .btn { height: 34px; padding: 0 10px; font-size: 13px; }
  .row__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .row--hot .row__grid, .row--promo .row__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__slide { height: 220px; padding: 0 16px 18px; gap: 10px; justify-content: space-between; }
  .slide__text { gap: 6px; max-width: 60%; }
  .slide__bonus { font-size: 18px; padding: 3px 8px 4px; box-shadow: 0 0 0 2px var(--yellow), 0 4px 0 #5c0610; }
  .slide__title { font-size: 20px; }
  .slide__sub, .slide__kicker { display: none; }
  .slide__btn { height: 32px; padding: 0 10px; font-size: 12px; }
  .slide__art { height: 80%; max-width: 42%; }
  .slide__art img.is-wide { width: 100%; }
  .wheel { width: 100%; height: auto; }
  .hero__nav { display: none; }
  .hero__dots { bottom: 6px; }
  .hero__dot { width: 8px; height: 8px; }
  .hero__dot.is-active { width: 20px; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .header__right .btn--ghost { display: none; }
}

/* Less motion: no sparks, no pulse, no spinning wheel */
@media (prefers-reduced-motion: reduce) {
  .fire__sparks { display: none; }
  .cta, .wheel__spin, .wheel__bulb, .slide__bonus { animation: none; }
  .hero__track, .side { transition: none; }
}
