.ref-home{min-height:100vh;background:linear-gradient(180deg,#1c0701 0%,#431407 42%,#2a0b03 100%);color:#fff;font-family:'Poppins',sans-serif;position:relative;overflow:hidden;padding-bottom:24px}.ref-home *{box-sizing:border-box}.ref-home a{text-decoration:none;color:inherit}.ref-home .halloween-bg{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}.ref-home .hw{position:absolute;opacity:.19;filter:drop-shadow(0 4px 10px rgba(0,0,0,.55))}.ref-home .hw.web{opacity:.11}.ref-home .hw.bat{opacity:.25;animation:refFloat 6s ease-in-out infinite}.ref-home .hw.pump{opacity:.32;filter:drop-shadow(0 0 18px rgba(251,146,60,.48));animation:refPulse 2.8s ease-in-out infinite}.ref-home>header,.ref-home>.carousel-container,.ref-home>.games-section,.ref-home>.cta-roleta-wrap,.ref-home>footer{position:relative;z-index:1}@keyframes refFloat{50%{transform:translateY(-14px) translateX(8px)}}@keyframes refPulse{50%{filter:drop-shadow(0 0 28px rgba(251,146,60,.72))}}
.ref-home header{max-width:1040px;margin:0 auto;padding:18px 18px 12px;display:flex;align-items:center;justify-content:space-between;gap:16px}.ref-home .logo{display:flex;align-items:center;gap:10px}.ref-home .logo img{width:62px;height:62px;object-fit:contain;filter:drop-shadow(0 5px 14px rgba(249,115,22,.35))}.ref-home .brand-name{font-weight:900;letter-spacing:.2px;font-size:18px}.ref-home .auth-buttons{display:flex;gap:10px}.ref-home .btn{border-radius:12px;padding:11px 16px;font-size:13px;font-weight:800;border:1px solid rgba(255,255,255,.15);display:inline-flex;align-items:center;justify-content:center;transition:.2s}.ref-home .btn-login{background:#2c0a01}.ref-home .btn-register{background:linear-gradient(135deg,#f97316,#fb923c);color:#230800;box-shadow:0 9px 24px rgba(249,115,22,.28)}.ref-home .btn:hover{transform:translateY(-2px)}
.ref-home .carousel-container{max-width:1000px;margin:4px auto 26px;padding:0 15px}.ref-home .carousel-slide{border-radius:22px;overflow:hidden;border:1px solid rgba(251,146,60,.28);box-shadow:0 22px 45px rgba(0,0,0,.42),0 0 30px rgba(249,115,22,.1)}.ref-home .carousel-slide img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}.ref-home .banner-actions{display:flex;justify-content:center;margin-top:-23px;position:relative;z-index:2}.ref-home .banner-cta{border:0;border-radius:999px;padding:13px 24px;background:linear-gradient(180deg,#ffd93d,#f59e0b);color:#3a1500;font-weight:900;box-shadow:0 10px 24px rgba(245,158,11,.34);cursor:pointer}
.ref-home .games-section{padding:0 15px;max-width:1000px;margin:0 auto 28px}.ref-home .section-title{font-size:16px;font-weight:900;margin:0 0 13px;display:flex;align-items:center;justify-content:space-between}.ref-home .section-title .accent{color:#fbbf24}.ref-home .recent-winners-carousel{display:flex;gap:12px;overflow-x:auto;padding-bottom:10px;scrollbar-width:none}.ref-home .recent-winner-card{min-width:194px;background:linear-gradient(145deg,rgba(68,23,7,.95),rgba(34,8,2,.92));border:1px solid rgba(251,146,60,.2);border-radius:16px;padding:11px;display:flex;align-items:center;gap:10px;box-shadow:0 9px 24px rgba(0,0,0,.22)}.ref-home .recent-winner-card img{width:48px;height:48px;border-radius:11px;object-fit:cover}.ref-home .recent-winner-info{display:flex;flex-direction:column;min-width:0}.ref-home .recent-winner-name{font-size:12px;font-weight:800;white-space:nowrap}.ref-home .recent-winner-desc{font-size:10px;color:#fdba74}.ref-home .recent-winner-amount{font-size:14px;color:#4ade80;font-weight:900}
.ref-home .game-card-horizontal{display:flex;align-items:stretch;min-height:270px;overflow:hidden;border-radius:22px;background:linear-gradient(135deg,#421409,#190702);border:1px solid rgba(251,146,60,.24);box-shadow:0 18px 42px rgba(0,0,0,.36)}.ref-home .game-art{width:58%;min-height:270px;position:relative;overflow:hidden;background:#210904}.ref-home .game-art img{width:100%;height:100%;object-fit:cover;display:block}.ref-home .game-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 62%,#421409 100%)}.ref-home .game-card-content{flex:1;padding:30px 26px;display:flex;flex-direction:column;justify-content:center}.ref-home .game-kicker{font-size:11px;color:#fb923c;font-weight:900;letter-spacing:1.2px}.ref-home .game-title-large{font-size:38px;line-height:.95;font-weight:900;margin:8px 0 12px;text-transform:uppercase}.ref-home .game-copy{font-size:13px;line-height:1.55;color:#fed7aa;margin-bottom:18px}.ref-home .btn-play-large{display:inline-flex;align-items:center;justify-content:center;border-radius:13px;padding:14px 20px;background:linear-gradient(180deg,#fb923c,#ea580c);font-size:14px;font-weight:900;box-shadow:0 10px 22px rgba(234,88,12,.3)}
.ref-home .legal-footer{max-width:1000px;margin:15px auto 0;padding:26px 18px 4px;text-align:center;border-top:1px solid rgba(251,146,60,.14)}.ref-home .legal-brand{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:900;margin-bottom:10px}.ref-home .legal-brand img{width:35px;height:35px;object-fit:contain}.ref-home .legal-text{max-width:740px;margin:0 auto;color:#d6a17d;font-size:11px;line-height:1.6}.ref-home .footer-icons{margin-top:18px;display:flex;justify-content:center;gap:12px}.ref-home .footer-pill{border:1px solid rgba(251,146,60,.22);border-radius:999px;padding:7px 11px;font-size:11px;color:#fdba74}.ref-home .copyright{margin-top:14px;font-size:10px;color:#9a6747}
@media(max-width:720px){.ref-home header{padding:12px}.ref-home .logo img{width:48px;height:48px}.ref-home .brand-name{display:none}.ref-home .btn{padding:9px 11px;font-size:11px}.ref-home .carousel-container{padding:0 10px;margin-bottom:24px}.ref-home .carousel-slide{border-radius:16px}.ref-home .carousel-slide img{aspect-ratio:1.18/1;object-position:center}.ref-home .games-section,.ref-home .cta-roleta-wrap{padding:0 10px}.ref-home .cta-roleta-card{align-items:flex-start;flex-direction:column}.ref-home .cta-roleta-btn{width:100%}.ref-home .game-card-horizontal{display:block}.ref-home .game-art{width:100%;height:230px;min-height:0}.ref-home .game-art:after{background:linear-gradient(180deg,transparent 65%,#421409 100%)}.ref-home .game-card-content{padding:22px}.ref-home .game-title-large{font-size:32px}.ref-home .recent-winner-card{min-width:175px}.ref-home .hw.pump{max-width:90px!important}.ref-home .hw.web{max-width:170px!important}}

/* Ajuste v2: header mais legível, título de ganhadores e somente card do jogo */
.ref-home .btn-login{
  background:rgba(18,5,2,.78)!important;
  color:#fff!important;
  border:1px solid rgba(255,153,64,.72)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 7px 20px rgba(0,0,0,.28)!important;
  min-height:44px;
  gap:7px;
}
.ref-home .btn-login:hover{background:#3b1005!important;border-color:#ff9d45!important;box-shadow:0 8px 24px rgba(249,115,22,.24)!important}
.ref-home .btn-login .login-icon{font-size:16px;color:#ff9d45;line-height:1}
.ref-home .btn-register{min-height:44px;gap:7px;border:1px solid rgba(255,190,100,.48)!important}
.ref-home .play-triangle{font-size:.88em;line-height:1}
.ref-home .winners-section{margin-top:2px;margin-bottom:24px}
.ref-home .winners-title{display:flex!important;align-items:center;gap:9px;color:#fff!important;font-size:17px!important;letter-spacing:.25px;text-shadow:0 2px 9px rgba(0,0,0,.85);margin-bottom:14px!important}
.ref-home .winners-title .trophy-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:linear-gradient(145deg,#ffb31a,#ff7a00);font-size:16px;box-shadow:0 7px 18px rgba(255,119,0,.23)}
.ref-home .winners-title i{display:block;flex:1;height:1px;background:linear-gradient(90deg,rgba(255,146,60,.56),rgba(255,146,60,0));margin-left:3px}
.ref-home .game-only-section{margin-top:2px}
.ref-home .btn-play-large{border:0;color:#fff;cursor:pointer;gap:8px;width:max-content;min-width:170px}
.ref-home .btn-play-large:disabled,.ref-home .banner-cta:disabled,.ref-home .btn-register:disabled{opacity:.7;cursor:wait}
.ref-home .banner-cta{display:inline-flex;align-items:center;gap:8px}
@media(max-width:720px){
  .ref-home .auth-buttons{gap:7px}
  .ref-home .btn-login,.ref-home .btn-register{min-height:40px;padding:9px 12px!important;font-size:10.5px!important;border-radius:11px!important}
  .ref-home .winners-title{font-size:15px!important}
  .ref-home .winners-title .trophy-icon{width:28px;height:28px;font-size:14px}
  .ref-home .btn-play-large{width:100%}
}

/* Banner rotativo administrável — Configurações > Banners */
.ref-home .carousel-container{margin-top:6px;margin-bottom:28px}
.ref-home .home-banner-stage{
  position:relative;
  width:100%;
  aspect-ratio:2/1;
  min-height:0;
  background:#1c0701;
  display:flex;
  isolation:isolate;
  align-items:center;
  justify-content:center;
}
.ref-home .home-banner-stage:before{
  content:"";
  position:absolute;
  inset:-18px;
  z-index:-1;
  background-image:var(--banner-bg);
  background-position:center;
  background-size:cover;
  filter:blur(18px) brightness(.52);
  transform:scale(1.08);
}
.ref-home .home-banner-stage img{
  position:relative;
  z-index:1;
  width:100%!important;
  height:100%!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
  object-position:center center;
  transition:transform .35s ease;
}
.ref-home .home-banner-stage img.is-changing{opacity:1!important;transform:none!important}
.ref-home .home-banner-stage.is-clickable{cursor:pointer}
.ref-home .home-banner-stage.is-clickable:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow:inset 0 -70px 80px -85px rgba(0,0,0,.85);
}
.ref-home .home-banner-dots{
  min-height:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin-top:11px;
}
.ref-home .home-banner-dot{
  appearance:none;
  border:0;
  width:7px;
  height:7px;
  border-radius:999px;
  padding:0;
  background:rgba(255,255,255,.30);
  cursor:pointer;
  transition:width .22s ease,background .22s ease,transform .22s ease;
}
.ref-home .home-banner-dot.active{width:25px;background:#fb923c;box-shadow:0 0 14px rgba(251,146,60,.42)}
.ref-home .home-banner-dot:hover{transform:scale(1.12)}
/* O CTA abaixo/sobre o banner foi removido; regra defensiva para versões em cache. */
.ref-home .banner-actions{display:none!important}

@media(max-width:720px){
  .ref-home .carousel-container{padding:0 9px;margin-top:2px;margin-bottom:22px}
  .ref-home .home-banner-stage{
    aspect-ratio:2/1;
    min-height:0;
    max-height:none;
    border-radius:16px;
  }
  .ref-home .home-banner-stage img{
    object-fit:cover!important;
    object-position:center center!important;
  }
  .ref-home .home-banner-dots{margin-top:9px;min-height:16px}
}
@media(min-width:721px) and (max-width:1100px){
  .ref-home .home-banner-stage{aspect-ratio:2/1;min-height:0}
}

/* FIX V4 — banner sempre inteiro, sem corte nem distorção */
.ref-home .home-banner-stage{
  aspect-ratio:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  display:block!important;
  overflow:hidden;
}
.ref-home .home-banner-stage img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
}
@media(max-width:720px){
  .ref-home .home-banner-stage{
    aspect-ratio:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
  .ref-home .home-banner-stage img{
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
}
@media(min-width:721px){
  .ref-home .home-banner-stage img{
    width:100%!important;
    height:auto!important;
    object-fit:contain!important;
  }
}
