@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  max-width: 100dvw;
  color: white;
}

button{ cursor: pointer; }

body{
  min-height: 100dvh;
  max-height: 200dvh;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

main{
  flex: 1;
}

html{ scroll-behavior: smooth; }

/* ======================== HEADER ======================== */
header{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 15px 10% 5px 10%;
  display: flex;
  align-items: center;
  z-index: 2000;                 /* acima do conteúdo, abaixo dos modais */
  gap: 14px;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.3);
}

/* Blur do header via pseudo-elemento — evita que o header
   vire containing-block para o .navbar position:fixed */
header::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background: rgba(54, 25, 54, 0);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

header a img{ width: 120px; }


/* ======================== NAVBAR ======================== */

/* Mobile: sidebar drawer (desliza da esquerda) */
.navbar{
  position: fixed;
  top: 0; left: 0;
  width: 200px;
  height: 100vh;
  background: #0d0d1e;
  border-right: 1px solid rgba(157,123,255,.12);
  padding: 0 0 2rem;
  display: flex;
  flex-direction: column;
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 6px 0 40px rgba(0,0,0,.65);
  overflow-y: auto;
  overflow-x: hidden;
}

header.menu-open .navbar{
  transform: translateX(0);
}

/* Cabeçalho interno do sidebar */
.navbar-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1rem 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(157,123,255,.1);
  margin-bottom: .5rem;
  flex-shrink: 0;
}
.navbar-header-logo{
  width: 88px; height: auto; display: block;
}
.nav-close-btn{
  background: none; border: none;
  color: #9d9bc8; font-size: 1rem;
  cursor: pointer; padding: 7px 9px;
  border-radius: 8px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.nav-close-btn:hover{ background: rgba(255,255,255,.08); color: #e8e8ff; }

.navbar a{
  font-size: .9rem;
  margin: 2px 10px;
  text-decoration: none;
  font-weight: 600;
  color: #9d9bc8;
  padding: 10px 14px;
  cursor: pointer;
  transition: color .18s, background .18s;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.navbar a i{
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  color: inherit;
}

.navbar a::after{ content:''; position:absolute; left:0; bottom:0; width:0%; height:2px; background:#fab906; transition: width .3s ease; }

.navbar a:hover{
  color: #e8e8ff;
  background: rgba(255,255,255,.06);
}

.navbar a[aria-current="page"]{
  color: #fab906;
  background: rgba(250,185,6,.1);
}
.navbar a[aria-current="page"]::before{
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  background: #fab906;
  border-radius: 0 2px 2px 0;
}

/* ===== Toggle (hambúrguer) ===== */
.nav-toggle{
  display: inline-flex;
  flex-shrink: 0;
  width:40px; height:40px;
  background:none; border:none; padding:0;
  cursor:pointer; position:relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after{
  content:"";
  position:absolute; left:6px; right:6px; height:3px;
  background:#fff; border-radius:2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle::before{ top:12px; }
.nav-toggle span   { top:19px; }
.nav-toggle::after { top:26px; }

header.menu-open .nav-toggle::before{ transform: translateY(7px) rotate(45deg); }
header.menu-open .nav-toggle span   { opacity:0; }
header.menu-open .nav-toggle::after { transform: translateY(-7px) rotate(-45deg); }

/* ===== Botão toggle dentro do rail ===== */
/* Mobile: oculto (hambúrguer do header assume o papel) */
.navbar-rail-toggle{ display: none; }

/* Ícones do botão: open/close */
.navbar-icon-close{ display: none; }
header.menu-open .navbar-icon-open { display: none; }
header.menu-open .navbar-icon-close{ display: inline-block; }

/* ===== Desktop (≥861px): rail de ícones persistente ===== */
@media (min-width: 861px){
  /* Oculta o hambúrguer do header — o botão fica dentro do rail */
  .nav-toggle{ display: none; }

  /* Brand section oculta no desktop (logo já está no header) */
  .navbar-header{ display: none; }

  /* Botão toggle dentro do rail */
  .navbar-rail-toggle{
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 18px 0 14px;
    background: none; border: none; border-bottom: 1px solid rgba(157,123,255,.1);
    color: #9d9bc8; font-size: 1.3rem;
    cursor: pointer; flex-shrink: 0;
    transition: color .15s, background .15s;
  }
  .navbar-rail-toggle:hover{ color: #e8e8ff; background: rgba(255,255,255,.05); }

  /* Sidebar sempre visível como rail de ícones (64px) */
  .navbar{
    transform: translateX(0);
    width: 64px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 0 2rem;
    transition: width .3s cubic-bezier(.4,0,.2,1);
  }

  /* Expandido */
  header.menu-open .navbar{ width: 200px; }

  /* Collapsed: ícones centralizados, texto oculto */
  .navbar a{
    justify-content: center;
    padding: 11px 0 !important;
    margin: 2px 6px;
    gap: 0;
    border-left: none !important;
  }
  .navbar a[aria-current="page"]::before{ display: none; }
  .navbar a i{ font-size: 1.1rem; width: auto; }
  .navbar a span{
    display: inline-block;
    opacity: 0; max-width: 0; overflow: hidden; white-space: nowrap;
    transition: opacity .15s ease, max-width .3s cubic-bezier(.4,0,.2,1);
  }

  /* Expanded: ícones + texto */
  header.menu-open .navbar a{
    justify-content: flex-start;
    padding: 10px 14px;
    margin: 2px 10px;
    gap: 12px;
  }
  header.menu-open .navbar a span{ opacity: 1; max-width: 200px; }
  header.menu-open .navbar a[aria-current="page"]{
    border-left: 3px solid #fab906 !important;
    padding-left: 11px !important;
  }

  /* Header desloca para começar após o rail */
  header{
    left: 64px;
    width: calc(100% - 64px);
    transition: left .3s cubic-bezier(.4,0,.2,1), width .3s cubic-bezier(.4,0,.2,1);
  }
  header.menu-open{
    left: 200px;
    width: calc(100% - 200px);
  }

  /* Conteúdo: margem igual à largura do rail */
  main, footer{
    margin-left: 64px;
    transition: margin-left .3s cubic-bezier(.4,0,.2,1);
  }
  header.menu-open ~ main,
  header.menu-open ~ footer{ margin-left: 200px; }

}

/* ===== Mobile (<861px): username some para não encher header ===== */
@media (max-width: 860px){
  .header-username{ display: none; }
}

/* ======================== HERO ======================== */
.home{
  height:auto;
  display:flex; align-items:center; justify-content:center;
  padding:110px 2rem 3rem;
  text-align:center;
}

.home-content{
  max-width:1500px; width:100%; margin:0 auto;
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.55)), url('/img/fundo_roleta.png') center/cover no-repeat;
  border:1px solid #232347;
  border-radius:16px;
  padding:2.5rem 3rem;
  text-align:left;
}
.home-text{ max-width:48%; }
.home-content h1{ font-size:2.4rem; font-weight:700; color:#e8e8ff; line-height:1.2; }
.home-content p{ margin-top:1rem; font-size:.97rem; font-weight:400; color:#b7b7d6; line-height:1.7; }

@media(max-width:768px){ .home-text{ max-width:100%; } }

/* ======================== ÍCONES ======================== */
.icones-container{
  display:flex; gap:30px; justify-content:flex-start; align-items:center;
  margin-top:2rem;
}
.icones img.icone-svg{
  width:50px; height:50px;
  filter: brightness(0) invert(1);
  transition: transform .3s ease, filter .3s ease;
}
.icones img.icone-svg:hover{ transform: translateY(-5px) scale(1.1); }

@media (max-width:560px){
  .home-content h1{ font-size:2rem; }
}
@media (max-width:500px){
  .icones-container{ flex-direction: wrap; align-items:flex-start; gap:15px; margin-top:20px; }
  .icones img.icone-svg{ width:36px; height:36px; }
}

/* ======================== PAINÉIS (LEGADO) ======================== */
div.informacao{
  position:fixed; top:50%; left:50%;
  transform: translate(-50%, -50%);
  background-color:#131313;
  max-width:685px; min-width:250px;
  width:calc(100% - 10%); height:calc(100% - 20%);
  border-radius:20px; box-shadow:1px 1px 20px #0000003b;
  padding:0 30px 30px 30px;
  overflow-x:hidden; z-index: 999;
}
.informacao::-webkit-scrollbar{ width:8px; background-color:#292929; }
.informacao::-webkit-scrollbar-thumb{ background-color:#361936; border-radius:10px; }

.informacao button{
  background:transparent; color:white; border:none;
  display:flex; width:100%; font-weight:1000; cursor:pointer;
  position:fixed; left:97%; top:30px;
}
.informacao button:hover{ color:#fab906; }
.informacao p{ color:white; padding:0 30px; }
.informacao h3{ color:white; margin:0 30px; }
.informacao p strong{ color:#fab906; }
.informacao p a{ color:#fab906; }
.informacao p:not(.informacao_cassino p){ font-size:14px; border-bottom:4px solid #361936; }
.informacao a:not(.informacao p a){ margin:40px 30px; text-decoration:none; color:white; font-weight:600; }

.informacao_cassino{
  display:grid; grid-template-columns: repeat(2, 1fr);
  column-gap:25px; row-gap:20px; font-size:14px;
}
.informacao_cassino p{ background-color:#1a1a1a; padding:10px 15px; border-radius:10px; }

.informacao h1{ display:flex; justify-content:center; margin-bottom:20px; }
.info_if{ margin:30px; }

img.razzed{ width:200px; object-fit:cover; padding-top:40px; }
img.roobet{ width:300px; padding-top:40px; }
img.shuffle{ width:300px; padding-top:40px; padding-bottom:10px; }

/* ======================== LIVES ======================== */
.lives{
  display:flex; flex-direction:column; align-items:center;
  padding: 6rem 1.5rem 5rem;
}
.lives > p#live { font-size:30px; font-weight:600; margin:0 0 2rem; color:#e8e8ff; }

.live-cta{
  display:flex; flex-direction:column; align-items:center; gap:1.25rem;
}
.btn-watch-live{
  display:inline-flex; align-items:center; gap:.6rem;
  background: linear-gradient(90deg,#fab906,#ff7b00);
  color:#0b0b14; font-size:1.1rem; font-weight:700;
  padding:.85rem 2.25rem; border-radius:999px; text-decoration:none;
  transition: filter .2s, transform .15s;
}
.btn-watch-live:hover  { filter:brightness(1.1); transform:translateY(-2px); }
.btn-watch-live:active { transform:translateY(0); }
.live-hint{
  font-size:.88rem; color:#b7b7d6; margin:0; text-align:center;
}

/* ======================== MINI PLAYER ======================== */
.mini-player{
  position:fixed; bottom:1.5rem; right:1.5rem; z-index:9000;
  width:320px; border-radius:12px; overflow:hidden;
  background:#0b0b14; border:1px solid #232347;
  box-shadow:0 8px 32px rgba(0,0,0,.55);
  /* escondido por padrão */
  opacity:0; visibility:hidden; transform:translateY(16px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}
.mini-player.is-visible{
  opacity:1; visibility:visible; transform:translateY(0);
}
.mini-player-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:.45rem .75rem;
  background: linear-gradient(90deg,#fab906,#ff7b00);
}
.mini-player-title{
  font-size:.78rem; font-weight:700; color:#0b0b14;
}
.mini-player-actions{
  display:flex; align-items:center; gap:.25rem;
}
.mini-player-btn{
  background:none; border:none; padding:.15rem .35rem;
  color:#0b0b14; font-size:1rem; line-height:1;
  cursor:pointer; opacity:.7; transition:opacity .15s;
  text-decoration:none;
}
.mini-player-btn:hover { opacity:1; }
.mini-player-body{
  position:relative; width:320px; height:180px;
}
.mini-player-body iframe{
  position:absolute; inset:0; width:100%; height:100%; border:none;
}
@media (max-width:400px){
  .mini-player{ width:calc(100vw - 2rem); right:1rem; bottom:1rem; }
  .mini-player-body{ width:100%; height:calc((100vw - 2rem) * 9 / 16); }
}
.platform-button{
  border-radius:8px; border:4px #361919 solid;
  color:#361936; padding:15px; width:100%;
  font-size:20px; font-weight:800; background:transparent;
}
.live-btn .active{ background:#361936; color:#fab906; }

/* ======================== CARDS DE BÔNUS ======================== */
.container_main{
  height:auto; width:100%;
  display:flex; flex-direction:column; align-items:center;
  padding:1.5rem 2rem 5rem;
}
.container_main h1, .container_main h2{ font-size:2rem; font-weight:700; text-align:center; margin-bottom:2.5rem; }

section button.info{
  position:absolute; top:10px; right:10px;
  width:30px; height:30px; border-radius:50%;
  border:7px solid #361936; background:#fff; box-shadow:0 0 10px black;
  font-weight:600;
}

/* ======================== SORTEIO ======================== */
.sorteio{
  background:#fab906; height:100vh; width:100%;
  display:flex; justify-content:center; align-items:center;
}
.sorteio p{ color:#361936; font-size:34px; font-weight:600; }

/* ======================== FOOTER ======================== */
footer{
  background: rgba(54,25,54, 0);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding:30px 0 15px; position:relative;
}
.legal{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  width:100%; max-width:1200px; margin:0 auto; padding:0 20px;
}
.legal a.begamble{ justify-self:start; margin-right:auto; }
.legal a.logo{ justify-self:center; padding:0 20px; }
.legal a.mais-dezoito{ justify-self:end; margin-left:auto; }

.legal a.begamble img{ width:170px; height:auto; }
.legal a.logo img{ width:120px; height:auto; display:block; }
.legal a.mais-dezoito img{ width:25px; height:25px; }

.autenticidade{ width:100%; text-align:center; padding:15px 0 0; }
.autenticidade p{ color:#fff; font-size:12px; margin:0; }

@media (max-width:700px){
  .legal{ grid-template-columns:1fr 1fr; grid-template-rows:auto auto; gap:15px; }
  .legal a.begamble{ grid-column:1; grid-row:1; }
  .legal a.logo{ grid-column:1 / span 2; grid-row:2; justify-self:center; padding:0; }
  .legal a.mais-dezoito{ grid-column:2; grid-row:1; justify-self:end; }
  .legal a.logo img{ width:100px; }
  .legal a.begamble img{ width:130px; }
  .legal a.mais-dezoito img{ width:20px; height:20px; }
  .autenticidade p{ font-size:10px; }
}

/* ======================== AUTH HEADER ======================== */
.header-login-btn{
  display:inline-block; padding:6px 18px;
  background: linear-gradient(90deg, #fab906, #ff7b00);
  color:#0b0b14; font-size:.85rem; font-weight:700;
  border-radius:999px; text-decoration:none;
  transition: filter .2s, transform .15s;
  white-space:nowrap;
}
.header-login-btn:hover{ filter: brightness(1.1); transform: translateY(-1px); }

.header-user{
  display:flex; align-items:center; gap:10px;
  white-space:nowrap;
}
.header-username{
  font-size:.85rem; font-weight:600; color:#e8e8ff;
}
.header-admin-link{
  font-size:.8rem; font-weight:700; color:#9d7bff;
  text-decoration:none; padding:3px 10px;
  border:1px solid #9d7bff; border-radius:999px;
  transition: background .2s, color .2s;
}
.header-admin-link:hover{ background:#9d7bff; color:#0b0b14; }

.header-logout{
  background:transparent; border:1px solid #444;
  color:#b7b7d6; font-size:.8rem; font-weight:600;
  border-radius:999px; padding:3px 12px; cursor:pointer;
  transition: border-color .2s, color .2s;
}
.header-logout:hover{ border-color:#ff6b6b; color:#ff6b6b; }

.affiliate-badge{
  display:inline-flex; align-items:center; justify-content:center;
  width:16px; height:16px; border-radius:50%;
  background: linear-gradient(135deg,#fab906,#ff7b00);
  color:#0b0b14; font-size:.65rem; font-weight:900;
  cursor:default; flex-shrink:0; margin-left:4px;
  position:relative; top:-1px;
  box-shadow: 0 0 6px rgba(250,185,6,.5);
}

/* Header: hamburger | logo (auto margin) | live-status | auth | lang */
header .logo{ margin-right: auto; }

/* ======================== LÍNGUA ======================== */
.language-selector{ position:relative; display:inline-block; }
.lang-toggle{
  background:transparent; border:1px solid #ccc; border-radius:8px; cursor:pointer;
  display:flex; align-items:center; gap:8px; padding:6px 12px; font-size:14px;
  transition: background-color .3s ease; box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.lang-toggle:hover{ background:transparent; }
.lang-toggle .arrow{ font-size:20px; color:white; }

.lang-options{
  opacity:0; visibility:hidden; position:absolute; top:100%; left:0; margin-top:5px;
  background:white; border:1px solid #ccc; border-radius:8px; list-style:none; padding:0; margin:0;
  z-index:3000; min-width:150px; box-shadow:0 4px 8px rgba(0,0,0,.1);
  transform: translateY(-10px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.language-selector:hover .lang-options{
  opacity:1; visibility:visible; transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear;
}
.lang-options li a{
  display:flex; align-items:center; padding:8px 12px; text-decoration:none; color:#333;
  font-size:14px; gap:8px; transition: background-color .2s ease;
}
.lang-options li a:hover{ background:#f0f0f0; }
.lang-options li a.active{ background:#007bff; color:white; font-weight:bold; }
.lang-options li a.active img{ filter: brightness(0) invert(1); }
.language-selector img{ width:30px; height:auto; vertical-align:middle; }
.lang-options li:first-child a{ border-top-left-radius:8px; border-top-right-radius:8px; }
.lang-options li:last-child  a{ border-bottom-left-radius:8px; border-bottom-right-radius:8px; }

/* ======================== MOBILE NAV AUTH ======================== */

/* No mobile: esconde auth e lang do header (ficam dentro do .navbar) */
@media (max-width: 860px) {
  #header-auth,
  header > .language-selector { display: none; }
}

/* No desktop: o bloco mobile não aparece no rail */
@media (min-width: 861px) {
  #nav-mobile-auth { display: none; }
}

/* Contêiner empurrado para o final do .navbar */
#nav-mobile-auth {
  margin-top: auto;
  padding-bottom: .5rem;
}

.nav-mobile-divider {
  height: 1px;
  background: rgba(157,123,255,.1);
  margin: .6rem .75rem;
}

.nav-mobile-user-info {
  padding: .6rem 1rem .4rem;
}

.nav-mobile-username {
  font-size: .88rem; font-weight: 700; color: #e8e8ff;
  display: flex; align-items: center; gap: .3rem; flex-wrap: wrap;
  margin-bottom: .2rem;
}

.nav-mobile-since {
  font-size: .7rem; color: #6b6b9a; margin-bottom: .5rem;
}

.nav-mobile-stat-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .28rem 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  gap: .5rem;
}

.nav-mobile-stat-lbl {
  font-size: .68rem; font-weight: 700; color: #9d7bff;
  text-transform: uppercase; letter-spacing: .04em; flex-shrink: 0;
}

.nav-mobile-stat-val {
  font-size: .8rem; font-weight: 600; color: #e8e8ff;
  display: flex; align-items: center; gap: .25rem; flex-wrap: wrap;
  text-align: right;
}

.nav-mobile-kick-ok { font-size: .65rem; color: #22c55e; font-weight: 700; }
.nav-mobile-muted   { color: #4e4e78; font-size: .8rem; }

.nav-mobile-login {
  display: block; margin: .4rem .75rem;
  padding: .6rem 1rem;
  background: linear-gradient(90deg, #fab906, #ff7b00);
  color: #0b0b14; font-size: .88rem; font-weight: 700;
  border-radius: 999px; text-decoration: none; text-align: center;
  transition: filter .2s;
}
.nav-mobile-login:hover { filter: brightness(1.1); }

.nav-mobile-logout {
  display: block; width: calc(100% - 1.5rem);
  margin: .3rem .75rem;
  padding: .5rem 1rem;
  background: transparent; border: 1px solid #444;
  color: #b7b7d6; font-size: .8rem; font-weight: 600;
  border-radius: 999px; cursor: pointer; text-align: center;
  transition: border-color .2s, color .2s;
}
.nav-mobile-logout:hover { border-color: #ff6b6b; color: #ff6b6b; }

.nav-mobile-admin-link {
  display: block; width: calc(100% - 1.5rem);
  margin: .3rem .75rem;
  padding: .5rem 1rem;
  background: transparent; border: 1px solid #9d7bff;
  color: #9d7bff; font-size: .8rem; font-weight: 700;
  border-radius: 999px; text-decoration: none; text-align: center;
  transition: background .2s, color .2s;
}
.nav-mobile-admin-link:hover { background: #9d7bff; color: #0b0b14; }

.nav-mobile-kick-btn {
  display: block; width: calc(100% - 1.5rem);
  margin: .3rem .75rem;
  padding: .5rem 1rem;
  background: #22c55e; border: none;
  color: #fff; font-size: .8rem; font-weight: 700;
  border-radius: 999px; cursor: pointer; text-align: center;
  transition: background .2s;
}
.nav-mobile-kick-btn:hover { background: #16a34a; }

.nav-mobile-lang {
  display: flex; gap: .4rem;
  padding: .4rem .75rem .5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-mobile-lang::-webkit-scrollbar { display: none; }

.nav-mobile-lang-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .38rem .75rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px; font-size: .8rem; color: #b7b7d6;
  text-decoration: none; flex-shrink: 0;
  transition: background .15s, border-color .15s, color .15s;
}
.nav-mobile-lang-btn:hover { background: rgba(255,255,255,.1); color: #e8e8ff; }
.nav-mobile-lang-btn.active {
  border-color: #fab906; color: #fab906;
  background: rgba(250,185,6,.1);
}
.nav-mobile-lang-btn img { width: 18px; height: auto; }

/* ======================== Cards (sistema novo SB) ======================== */
.sb *{ box-sizing:border-box; }
.sb{
  --bg:#0b0b14; --card:#121225; --text:#e8e8ff; --muted:#b7b7d6;
  --accent:#9d7bff; --accent-2:#6ee7ff; --border:#232347;
  color:var(--text);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,'Helvetica Neue',Arial,'Noto Sans','Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji';
}
.sb-container{ max-width:1100px; margin:0 auto; padding:0 1rem; }
.sb-grid{
  display:grid; gap:2rem; grid-template-columns: repeat(3, 1fr);
  justify-content:center; justify-items:center;
}

/* Carrossel deslizável no mobile */
@media (max-width:768px){
  .sb-container{ padding:0; }
  .sb-grid{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    gap:1rem;
    padding:.5rem 1.5rem 1.5rem;
    scrollbar-width:none;
    justify-content:flex-start;
    justify-items:unset;
  }
  .sb-grid::-webkit-scrollbar{ display:none; }
  .sb-card{
    flex:0 0 78vw;
    max-width:300px;
    scroll-snap-align:start;
  }
}
.sb-card{
  background: linear-gradient(180deg, rgba(157,123,255,.08), rgba(110,231,255,.06)), var(--card);
  border:1px solid var(--border); border-radius:16px;
  padding:2rem 1.5rem; display:flex; flex-direction:column; align-items:center; text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  max-width:500px; min-height:280px; width:100%; font-size:1rem;
}
.sb-card-logo{ width:180px; height:auto; object-fit:contain; filter: drop-shadow(0 6px 16px rgba(157,123,255,.25)); }
.sb-card-name{ margin:.75rem 0 .25rem; font-size:1.125rem; }
.sb-card-desc{ margin:0 0 .75rem; color:var(--muted); font-size:.95rem; }
.sb-btn{
  cursor:pointer; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color:#0b0b14; border:0; border-radius:999px; padding:.6rem 1rem; font-weight:700;
  transition: transform .15s ease, filter .2s ease; margin-top:auto;
}
.sb-btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.sb-btn:active{ transform: translateY(0); }

/* ===== Card único de patrocinador oficial (Stake) — ocupa a largura dos três ===== */
.sb-featured{
  max-width:100%; width:100%;
  flex-direction:row; align-items:center; text-align:left;
  gap:2.5rem; padding:2.5rem 3rem;
}
.sb-featured-logo{ flex:0 0 auto; display:flex; align-items:center; justify-content:center; }
.sb-featured-logo img{
  width:260px; max-width:38vw; height:auto; object-fit:contain;
  filter: drop-shadow(0 6px 16px rgba(157,123,255,.25));
}
.sb-featured-content{ flex:1 1 auto; display:flex; flex-direction:column; align-items:flex-start; min-width:0; }
.sb-featured .sb-card-name{ font-size:1.6rem; margin:0 0 .5rem; }
.sb-featured-desc{ font-size:1.05rem; margin:0 0 1.25rem; max-width:62ch; }
.sb-btn--lg{ padding:.9rem 2.2rem; font-size:1.05rem; }

@media (max-width:768px){
  .sb-featured{
    flex:1 1 auto; max-width:100%;
    flex-direction:column; align-items:center; text-align:center;
    gap:1.25rem; padding:2rem 1.5rem;
  }
  .sb-featured-content{ align-items:center; }
  .sb-featured-logo img{ width:200px; max-width:70vw; }
  .sb-featured-desc{ font-size:.98rem; }
}

/* ===== Modais SB ===== */
.sb-modal{ position:fixed; inset:0; display:none; z-index:10000; }
.sb-modal[aria-hidden="false"]{ display:block; }
.sb-modal-backdrop{ position:absolute; inset:0; background: rgba(5,8,15,.7); backdrop-filter: blur(3px); }
.sb-modal-dialog{
  position:relative; z-index:1; background:var(--bg); color:var(--text);
  width:min(920px, 92vw); max-height:90vh; margin:5vh auto;
  border:1px solid var(--border); border-radius:20px; overflow:clip;
  box-shadow:0 30px 70px rgba(0,0,0,.45); outline:none; animation: sb-pop .18s ease-out;
}
@keyframes sb-pop{ from{ transform: translateY(6px) scale(.98); opacity:.6 } to{ transform:none; opacity:1 } }
.sb-modal-header{ display:none; }
.sb-modal-body{ padding:1rem 1.25rem 1.25rem; overflow:auto; max-height: calc(90vh - 20px); }
.sb-modal-body--with-logo{ padding-top:1rem; }
.sb-modal-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:1.2rem; }
.sb-modal-top .sb-brand{ max-height:50px; width:auto; }
.sb-modal-top .sb-close{
  background:transparent; border:0; color:var(--text); font-size:1.6rem; font-weight:bold; cursor:pointer; line-height:1;
  transition: color .2s;
}
.sb-modal-top .sb-close:hover{ color:var(--accent-2); }
.sb-lead{ margin:.5rem 0 1rem; color:var(--muted); }
.sb-h{ margin:1.25rem 0 .5rem; font-size:1.05rem; letter-spacing:.4px; text-transform:uppercase; color:#d7d4ff; }
.sb-info{
  display:grid; gap:.75rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: linear-gradient(180deg, rgba(110,231,255,.05), rgba(157,123,255,.04));
  border:1px dashed var(--border); padding:.9rem; border-radius:14px;
}
.sb-info p{ margin:0; }
.sb-video{ position:relative; width:100%; aspect-ratio:16/9; border-radius:14px; overflow:hidden; border:1px solid var(--border); box-shadow:0 8px 26px rgba(0,0,0,.25); }
.sb-iframe{ position:absolute; inset:0; width:100%; height:100%; }
.sb-modal-body::-webkit-scrollbar{ width:10px; }
.sb-modal-body::-webkit-scrollbar-thumb{ background:#2a2a4a; border-radius:10px; }
.sb-modal-body::-webkit-scrollbar-track{ background:#141428; }
@media (max-width:520px){ .sb-card-logo{ width:120px; } }

/* ===== Fundo decorativo global ===== */
html,body{ height:100%; }
body::before{
  content:""; position:fixed; inset:0; z-index:-1;
  background:
    radial-gradient(1200px 600px at 8% 10%, rgba(157,123,255,.25), transparent 60%),
    radial-gradient(900px 600px at 82% 78%, rgba(110,231,255,.18), transparent 60%),
    linear-gradient(135deg, rgba(0,0,0,.35), rgba(0,0,0,.75)),
    url('/img/banner_yt_corrigido.png') center/cover no-repeat;
}
.home, .container_main, .lives{ background: transparent !important; }
.container_main h1, .container_main h2, .container_main i{ color:#e8e8ff; }

/* ===== Loader (Pulse Glow) ===== */
#sb-loader{
  position:fixed; inset:0; z-index:10000; display:grid; place-items:center;
  background:
    radial-gradient(1200px 600px at 8% 10%, rgba(157,123,255,.25), transparent 60%),
    radial-gradient(900px 600px at 82% 78%, rgba(110,231,255,.18), transparent 60%),
    linear-gradient(135deg, rgba(0,0,0,.35), rgba(0,0,0,.75)),
    #0b0b14;
  transition: opacity .35s ease, visibility .35s ease;
}
#sb-loader.hidden{ opacity:0; visibility:hidden; }
.sb-loader-box{
  display:grid; justify-items:center; padding:28px 32px; border-radius:16px;
  background: rgba(10,10,22,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.sb-loader-logo{ width:260px; height:auto; display:block; animation: pulseGlow 4s infinite; }
@keyframes pulseGlow{
  0%,100%{ transform:scale(1); filter: drop-shadow(0 0 10px #9d7bff); }
  50%    { transform:scale(1.05); filter: drop-shadow(0 0 25px #ffffff); }
}

/* ===== CTA dentro dos modais ===== */
 /* ESTILIZAÇÃO BOTÃO CRIE CONTA DENTRO DOS PAINÉIS */
.sb-cta-btn{
  display:inline-block; padding:14px 28px;
  background: linear-gradient(90deg, #fab906, #ff7b00);
  color:#0b0b14; font-size:1.1rem; font-weight:700; border-radius:999px; text-decoration:none;
  box-shadow:0 6px 20px rgba(0,0,0,.4);
  transition: transform .2s ease, filter .2s ease;
}
.sb-cta-btn:hover{ transform: translateY(-3px); filter: brightness(1.1); }
.sb-cta-btn:active{ transform: translateY(0); }

/* ===== Estado "Em breve" ===== */
.sb-card.sb-card--disabled{
  position:relative; overflow:hidden; pointer-events:none;
}
.sb-card.sb-card--disabled::before{
  content:""; position:absolute; inset:0; z-index:2; border-radius:inherit;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.sb-card.sb-card--disabled::after{
  content:""; position:absolute; inset:-8% -10%; z-index:3;
  background: url("/img/em_breve.png") center/100% auto no-repeat;
  transform: rotate(-6deg); pointer-events:none;
}
.sb-card.sb-card--disabled .sb-btn{ opacity:.6; cursor:not-allowed; }
@supports not ((backdrop-filter: blur(4px))){
  .sb-card.sb-card--disabled::before{ background: rgba(0,0,0,.55); }
}

/* ===== Estado "Coming Soon" EN ===== */
.sb-card-en--disabled{ position:relative; overflow:hidden; pointer-events:none; }
.sb-card-en--disabled::before{
  content:""; position:absolute; inset:0; z-index:2; border-radius:inherit;
  background: rgba(0,0,0,.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.sb-card-en--disabled::after{
  content:""; position:absolute; inset:-8% -10%; z-index:3;
  background: url("/img/soon.png") center/100% auto no-repeat;
  transform: rotate(-6deg); pointer-events:none;
}
.sb-card-en--disabled .sb-btn{ opacity:.6; cursor:not-allowed; }
@supports not ((backdrop-filter: blur(4px))){
  .sb-card-en--disabled::before{ background: rgba(0,0,0,.55); }
}

/* ===== Live badge ===== */
.live-badge{
  margin-left:0; padding:6px 10px; border-radius:8px;
  font-size:13px; font-weight:800; letter-spacing:.4px; line-height:1;
  display:inline-block; user-select:none;
}
.live-badge.is-live{
  color:#fff; background:#e53935; cursor:pointer;
  box-shadow:0 0 0 0 rgba(229,57,53,.6); animation: livePulse 1.6s ease-out infinite;
}
.live-badge.is-offline{
  color:#d0d0e6; background:#2a2a48; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  animation:none;
}
@keyframes livePulse{
  0%{ box-shadow:0 0 0 0 rgba(229,57,53,.6); }
  70%{ box-shadow:0 0 0 10px rgba(229,57,53,0); }
  100%{ box-shadow:0 0 0 0 rgba(229,57,53,0); }
}