/* =====================================================
   BANANANS — style3.css (Enhanced)
   Mantém toda a estrutura original + melhorias
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

/* =====================================================
   CSS VARIABLES — tema dark (default) + light
   ===================================================== */
:root {
  --bg-grad-1: rgba(140, 40, 255, 0.55);
  --bg-grad-2: rgba(80, 120, 255, 0.45);
  --bg-base-1: #6a2cff;
  --bg-base-2: #5b4fe0;
  --bg-base-3: #4a63d8;

  --card-bg: linear-gradient(180deg, rgba(2,26,68,.95), rgba(2,16,48,.92));
  --card-border: rgba(255,255,255,0.18);
  --card-shadow: 0 14px 40px rgba(0,0,0,0.38);

  --glass-bg: rgba(0,0,0,0.28);
  --glass-border: rgba(255,255,255,0.12);

  --sidebar-bg: rgba(10, 18, 35, 0.35);
  --sidebar-border: rgba(255,255,255,0.10);

  --text-primary: #fff;
  --text-secondary: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.65);

  --accent-gold: rgb(243,169,33);
  --accent-teal: #1fd1a5;
  --accent-blue: #12b8ff;
  --accent-red: #ff3b3b;

  --stat-bg: rgba(255,255,255,0.06);
  --stat-border: rgba(255,255,255,0.10);

  --transition-fast: .15s ease;
  --transition-med: .25s ease;
  --transition-slow: .35s ease;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 800px at 10% 20%, var(--bg-grad-1), transparent 60%),
    radial-gradient(1000px 700px at 90% 30%, var(--bg-grad-2), transparent 60%),
    linear-gradient(135deg, var(--bg-base-1) 0%, var(--bg-base-2) 45%, var(--bg-base-3) 100%);
  background-attachment: fixed;
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-primary);
  transition: background .4s ease, color .3s ease;
}

/* Parallax background layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,200,50,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(50,200,255,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
  transition: transform .1s linear;
  will-change: transform;
}

/* =====================================================
   LOADING SCREEN
   ===================================================== */
#loadingScreen {
  position: fixed;
  inset: 0;
  background: #021a44;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999999;
  transition: opacity .5s ease, visibility .5s ease;
}

#loadingScreen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loadingInner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loadingLogo {
  width: 80px;
  animation: loadingPulse 1s ease-in-out infinite;
}

@keyframes loadingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

.loadingBar {
  width: 180px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.loadingFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-blue));
  border-radius: var(--radius-pill);
  animation: loadingProgress 1.2s ease forwards;
}

@keyframes loadingProgress {
  0% { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
#toastContainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: rgba(2,26,68,.95);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  pointer-events: all;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.22,.9,.3,1), opacity .35s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 280px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success { border-color: rgba(31,209,165,0.4); }
.toast.info    { border-color: rgba(18,184,255,0.4); }
.toast.hot     { border-color: rgba(255,204,51,0.4); }

/* =====================================================
   BRAND TITLE
   ===================================================== */
.brandTitle {
  font-family: 'Permanent Marker', cursive;
  font-size: 2.1rem;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  text-shadow: 0 2px 0 rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.35);
}

/* =====================================================
   SITE LAYOUT
   ===================================================== */
.siteLayout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  align-items: start;
}

section {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 32px 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  min-height: 100vh;
}

/* =====================================================
   SIDEBAR
   ===================================================== */
.sideNav {
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
  width: 270px;
  margin-left: 20px;
  padding: 18px 14px 14px;
  border-radius: 26px;

  /* Fundo sólido e escuro — muito mais presença */
  background: rgba(5, 14, 40, 0.88);
  border: 1px solid rgba(255,255,255,0.14);
  border-top-color: rgba(255,255,255,0.22);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  /* Sombra pronunciada para "sair" do fundo */
  box-shadow:
    0 24px 70px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(255,255,255,0.14) inset;

  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background var(--transition-slow), border-color var(--transition-slow);

  /* Linha de luz superior */
  position: sticky;
  overflow: hidden;
}

/* Brilho decorativo no topo da sidebar */
.sideNav::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  pointer-events: none;
}

/* Brilho dourado suave no fundo 
.sideNav::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -20px; right: -20px;
  height: 120px;
  background: radial-gradient(ellipse at 50% 100%, rgba(243,169,33,0.10), transparent 70%);
  pointer-events: none;
}*/

/* Cabeçalho da sidebar com logo + título */
.sideHeader {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 6px;
}

.sideHeaderLogo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 14px rgba(3,88,235,0.3);
  flex-shrink: 0;
}

.sideHeaderInfo {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sideHeaderName {
  font-family: 'Permanent Marker', cursive;
  font-size: 1rem;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.sideHeaderSub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  opacity: 0.85;
  margin-top: 1px;
}

/* Separador de secção */
.sideTitle {
  padding: 10px 10px 6px;
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 700;
  position: relative;
}

.sideTitle::after {
  content: "";
  position: absolute;
  bottom: 0; left: 10px; right: 10px;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* Botões da sidebar — muito mais impacto */
.sideItem {
  all: unset;
  cursor: pointer;
  padding: 11px 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  background: transparent;
  border: 1px solid transparent;
  transition:
    transform var(--transition-fast),
    background var(--transition-med),
    border-color var(--transition-med),
    box-shadow var(--transition-med),
    color var(--transition-fast);
  position: relative;
}

/* Ícone à esquerda via CSS pseudo */
.sideItem .sideItemInner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.sideItem i {
  font-size: 18px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.sideItem:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.90);
}

.sideItem:hover i {
  opacity: 1;
  transform: scale(1.1);
}

/* Estado activo — destaque total */
.sideItem.isActive {
  background: linear-gradient(135deg, rgba(18,184,255,0.18), rgba(31,209,165,0.10));
  border-color: rgba(18,184,255,0.30);
  color: #fff;
  box-shadow:
    0 8px 24px rgba(18,184,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.sideItem.isActive i {
  opacity: 1;
  color: var(--accent-blue);
  filter: drop-shadow(0 0 6px rgba(18,184,255,0.5));
}

/* Barra lateral colorida no item activo */
.sideItem.isActive::before {
  content: "";
  position: absolute;
  left: -1px; top: 25%; bottom: 25%;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-blue), var(--accent-teal));
  box-shadow: 0 0 10px rgba(18,184,255,0.6);
}

.sideBadge {
  font-size: .62rem;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}

.sideBadge.hot { color: #ffcc33; border-color: rgba(255,204,51,0.35); background: rgba(255,204,51,0.10); }
.sideBadge.new { color: #8ffcff; border-color: rgba(143,252,255,0.35); background: rgba(143,252,255,0.10); }

/* Theme toggle na sidebar */

.siteContent {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =====================================================
   TOP BAR
   ===================================================== */
.topPillWrap {
  position: sticky;
  top: 14px;
  z-index: 9999;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

section .topInfos {
  width: 500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);

  /* Mesmo fundo escuro/sólido da sidebar */
  background: rgba(5, 14, 40, 0.88);
  border: 1px solid rgba(255,255,255,0.14);
  border-top-color: rgba(255,255,255,0.22);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  box-shadow:
    0 24px 70px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(255,255,255,0.14) inset;

  transition: background var(--transition-slow);
  position: relative;
  overflow: hidden;
}

/* Linha de luz no topo — igual à sidebar */
section .topInfos::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  pointer-events: none;
  border-radius: 0;
}

section .topInfos .topLeft {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

section .topInfos .logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(3,88,235,0.25);
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform var(--transition-fast), box-shadow var(--transition-med);
}

section .topInfos .logo:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 32px rgba(3,88,235,0.5);
}

section .topInfos h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* LIVE badge na topbar */
.liveBadge {
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,59,59,0.18);
  border: 1px solid rgba(255,59,59,0.4);
  color: #ff5f5f;
  animation: pulseLiveBadge 1.4s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes pulseLiveBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); }
  50% { box-shadow: 0 0 0 4px rgba(255,59,59,0.15); }
}

/* REDES SOCIAIS */
section .topInfos .socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

section .topInfos .socials a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-med), color var(--transition-fast);
  position: relative;
}

section .topInfos .socials a:hover {
  transform: translateY(-3px) scale(1.08);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}

/* Glow por rede social */
section .topInfos .socials a.instagram:hover {
  box-shadow: 0 6px 20px rgba(225,48,108,0.4);
  border-color: rgba(225,48,108,0.4);
}
section .topInfos .socials a.twitch:hover,
section .topInfos .socials a.twitch.active {
  box-shadow: 0 6px 20px rgba(145,70,255,0.5);
  border-color: rgba(145,70,255,0.4);
}
section .topInfos .socials a.discord:hover {
  box-shadow: 0 6px 20px rgba(88,101,242,0.5);
  border-color: rgba(88,101,242,0.4);
}
section .topInfos .socials a.telegram:hover {
  box-shadow: 0 6px 20px rgba(38,163,220,0.5);
  border-color: rgba(38,163,220,0.4);
  
}



@media (max-width: 560px) {
  section .topInfos { width: 100%; padding: 10px 12px; }
  section .topInfos h1 { font-size: 0.95rem; }
  section .topInfos .socials a { width: 36px; height: 36px; font-size: 21px; }
}

/* =====================================================
   SIDEBAR SEPARADOR + TWITCH BUTTON
   ===================================================== */
.sideSep {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 4px 0;
}

.sideItemTwitch {
  color: rgba(145,71,255,0.8) !important;
  border-color: rgba(145,71,255,0.20) !important;
  background: rgba(145,71,255,0.06) !important;
}

.sideItemTwitch i { color: #9147ff !important; opacity: 1 !important; }

.sideItemTwitch:hover {
  background: rgba(145,71,255,0.14) !important;
  border-color: rgba(145,71,255,0.35) !important;
  color: #bf8fff !important;
}

.sideItemTwitch.isActive {
  background: rgba(145,71,255,0.18) !important;
  border-color: rgba(145,71,255,0.5) !important;
  color: #bf8fff !important;
  box-shadow: 0 8px 24px rgba(145,71,255,0.18) !important;
}

.sideItemTwitch.isActive::before {
  background: linear-gradient(180deg, #9147ff, #bf8fff) !important;
  box-shadow: 0 0 10px rgba(145,71,255,0.7) !important;
}

.sideItemTwitch.isActive i {
  filter: drop-shadow(0 0 6px rgba(145,71,255,0.7)) !important;
}

/* Live dot na sidebar */
.sideLiveDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 8px rgba(255,59,59,0.7);
  animation: pulseLive 1.1s ease-in-out infinite;
  flex-shrink: 0;
}

/* =====================================================
   TWITCH FULL VIEW
   ===================================================== */
.twitchView {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeIn .3s ease forwards;
}

.twitchViewHeader {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(5, 14, 40, 0.88);
  border: 1px solid rgba(145,71,255,0.25);
  border-top-color: rgba(145,71,255,0.40);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(145,71,255,0.15);
}

.twitchViewTitle {
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.twitchViewSub {
  font-size: 0.78rem;
  color: rgba(145,71,255,0.8);
  font-weight: 600;
  flex: 1;
}

/* Stream 16:9 full width */
.twitchView iframe{
  width: 100%;
  height: 720px;
  border-radius: 12px;
}

.twitchView .twitchOfflineThumb {
  border-radius: 18px;
  border: 1px solid rgba(145,71,255,0.2);
  background: rgba(0,0,0,0.3);
  padding: 60px 20px;
  text-align: center;
}

.twitchView .twitchViewHeader .twitchClose{
  position: absolute;
  top: 9px;
  right: 12px;

  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: rgba(20, 20, 40, 0.6);
  border: 1px solid rgba(255,255,255,0.1);

  cursor: pointer;
}

.twitchView .twitchViewHeader .twitchClose:hover{
  background: rgba(255, 50, 50, 0.2);
  box-shadow: 0 0 10px rgba(255, 50, 50, 0.6);
  transform: rotate(90deg) scale(1.2);
}

.twitchView .twitchViewHeader .twitchClose::before, .twitchView .twitchViewHeader .twitchClose::after{
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  background: white;
}

.twitchView .twitchViewHeader .twitchClose::before{
  transform: rotate(45deg);

}

.twitchView .twitchViewHeader .twitchClose::after{
  transform: rotate(-45deg);
}

/* =====================================================
   CASINO GRID
   ===================================================== */

section .casinos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: stretch;
  align-items: start;
  gap: 50px;
  width: 100%;
}

@media (max-width: 1200px) { section .casinos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { section .casinos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px)  { section .casinos { grid-template-columns: 1fr; } }

/* =====================================================
   FLIP CARD WRAPPER
   ===================================================== */
section .casinos .casino {
  perspective: 1000px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  height: 400px;
  opacity: 0;
  transform: translateZ(0);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,.8,.3,1);
}

section .casinos .casino.revealed {
  opacity: 1;
  transform: translateY(0);
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(.4,0,.2,1);
}

.casino.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
}

.flip-back { transform: rotateY(180deg); }


/* ===== BANNER ===== */
.cardBanner {
  height: 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cardBanner--ezz { background: linear-gradient(135deg, #1a0535, #2d0a5e); }
.cardBanner--ezz::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(200,77,255,0.30), transparent 70%);
  pointer-events: none;
}

.cardBanner--grana { background: linear-gradient(135deg, #021a1a, #042e2e); }
.cardBanner--grana::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(31,209,165,0.25), transparent 70%);
  pointer-events: none;
}

.bannerLogo {
  max-width: 60%;
  max-height: 64px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}

.bannerDivider {
  height: 1px;
  flex-shrink: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

/* ===== FRENTE BODY ===== */
.cardBody {
  padding: 13px;
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.cardTop { display: flex; flex-direction: column; gap: 9px; }
.cardBottom { display: flex; flex-direction: column; gap: 7px; }

.payRow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.payRow img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: var(--stat-bg);
  border: 1px solid var(--stat-border);
  border-radius: 9px;
  padding: 5px 4px;
  transition: transform .15s ease;
}

.payRow img:hover { transform: scale(1.15); }

section .casinos .casino .cardGrid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

section .casinos .casino .stat {
  background: var(--stat-bg);
  border: 1px solid var(--stat-border);
  border-radius: 12px;
  padding: 9px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.22);
}

section .casinos .casino .stat-free {
  background: linear-gradient(135deg, rgba(31,209,165,0.18), rgba(255,255,255,0.06));
  border-color: rgba(31,209,165,0.22);
}

section .casinos .casino .stat-code {
  background: rgba(255,204,51,0.08);
  border: 1px dashed rgba(255,204,51,0.35);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

section .casinos .casino .stat-code:hover {
  background: rgba(255,204,51,0.14);
  border-color: rgba(255,204,51,0.55);
}

section .casinos .casino .stat-code::after {
  content: "📋 Copiar";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
  background: rgba(255,204,51,0.15);
  color: #ffcc33;
  opacity: 0;
  transition: opacity .2s ease;
  border-radius: 11px;
}

section .casinos .casino .stat-code:hover::after { opacity: 1; }

section .casinos .casino .statValue {
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--text-primary);
}

section .casinos .casino .stat-free .statValue { color: #eafff8; }
section .casinos .casino .stat-code .statValue { color: #ffcc33; }
.statMuted { color: rgba(255, 0, 0, 0.753) !important; font-size: 0.95rem ; }

section .casinos .casino .statLabel {
  font-size: 0.79rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  opacity: 1;
  margin-top: 2px;
}

section .casinos .casino .codeValue {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 1px;
}

section .casinos .casino .miniDisclaimer {
  text-align: center;
  font-size: 0.70rem;
  opacity: 0.55;
  letter-spacing: 0.06em;
}

section .casinos .casino .buttonsArea { width: 100%; }

section .casinos .casino .buttonsArea .getBonus {
  text-decoration: none;
  color: #00121f;
  padding: 12px 14px;
  border-radius: 13px;
  font-weight: 900;
  font-size: 0.86rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  width: 100%;
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  box-shadow: 0 10px 24px rgba(18,184,255,.22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  position: relative;
  overflow: hidden;
}

section .casinos .casino .buttonsArea .getBonus::before {
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left .4s ease;
}

section .casinos .casino .buttonsArea .getBonus:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(18,184,255,.35);
  filter: brightness(1.06);
}

section .casinos .casino .buttonsArea .getBonus:hover::before { left: 100%; }

.btnFlip {
  all: unset;
  cursor: pointer;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255,255,255,0.40);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  transition: color .15s, background .15s, border-color .15s;
  letter-spacing: .04em;
}

.btnFlip:hover {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}

/* ===== VERSO BODY ===== */
.backBody {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 100%;
}

.backHeader { display: flex; flex-direction: column; gap: 2px; }
.backTitle--ezz { font-size: 1.1rem; font-weight: 900; color: #c84dff; }
.backTitle--grana { font-size: 1.1rem; font-weight: 900; color: #1fd1a5; }
.backSub { font-size: 0.70rem; color: rgba(255,255,255,0.38); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.backDesc { font-size: 0.80rem; color: rgba(255,255,255,0.60); line-height: 1.55; }
.backDesc strong { color: rgba(255,255,255,0.92); }

.backFeatures {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.backFeatures li {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.68);
}

.backActions { display: flex; flex-direction: column; gap: 6px; }

.backActions .getBonus{
    text-decoration: none;
    color: #00121f;
    padding: 8px 10px;
    border-radius: 13px;
    font-weight: 900;
    font-size: 0.86rem;
    letter-spacing: .10em;
    text-transform: uppercase;
    width: 100%;
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
    box-shadow: 0 10px 24px rgba(18, 184, 255, .22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    position: relative;
    overflow: hidden;
}

.backActions .getBonus::before{
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left .4s ease;
}

.backActions .getBonus:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(18,184,255,.35);
  filter: brightness(1.06);
}

.backFeatures li:hover{
  transform: scale(1.05);
}

.btnVoltar {
  all: unset;
  cursor: pointer;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255,255,255,0.40);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  transition: color .15s, background .15s, border-color .15s;
  letter-spacing: .04em;
}

.btnVoltar:hover {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}

/* BADGES */
section .casinos .casino .badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: .08em;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

section .casinos .casino .badge-new { color: #bffcff; }
section .casinos .casino .badge-hot { color: #ffcc33; animation: hotPulse 1.5s ease-in-out infinite; }

@keyframes hotPulse {
  0%, 100% { text-shadow: 0 0 8px rgba(255,204,51,0.6); }
  50% { text-shadow: 0 0 18px rgba(255,204,51,1); }
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding-top: 500px;
  padding-bottom: 40px;
}

footer .footerCard {
  width: min(1200px, 92vw);
  text-align: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(30,32,80,0.85), rgba(10,15,40,0.9));
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05), 0 20px 60px rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(10px);
  animation: footerIn 0.6s ease forwards;
  animation-delay: 0.15s;
  transition: background var(--transition-slow);
}

footer .footerTitle {
  font-weight: 800;
  letter-spacing: 0.4px;
  font-size: 0.82rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

footer .footerText {
  font-size: 0.76rem;
  margin: 8px auto 0;
  line-height: 1.45;
  max-width: 900px;
  opacity: 0.9;
  color: var(--text-secondary);
}

footer .footerText a { color: #ffcc33; font-weight: 700; text-decoration: none; }
footer .footerText a:hover { text-decoration: underline; }

@keyframes footerIn {
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   BOTTOM NAV (mobile only)
   ===================================================== */
.bottomNav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(2,10,30,0.92);
  border-top: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 0 env(safe-area-inset-bottom, 8px);
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  gap: 0;
  transition: background var(--transition-slow);
}

.bottomNavItem {
  all: unset;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.bottomNavItem i { font-size: 22px; }

.bottomNavItem.isActive,
.bottomNavItem:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.bottomNavItem.isActive i {
  filter: drop-shadow(0 0 6px rgba(18,184,255,0.7));
  color: var(--accent-blue);
}

/* =====================================================
   AGE POPUP
   ===================================================== */
#agePopup {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0,0,0,.55) !important;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  z-index: 9999999 !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ageBox {
  background: #021a44;
  color: #DEEFE7;
  max-width: 460px;
  width: min(460px, 92vw);
  padding: 28px 26px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 0 60px rgba(3,88,235,.55);
  font-family: 'Poppins', sans-serif;
  position: relative;
  animation: popupEntry .5s cubic-bezier(.22,.9,.3,1) both;
}

@keyframes popupEntry {
  from { transform: scale(.85) translateY(20px); opacity: 0; }
  to   { transform: scale(1)   translateY(0);    opacity: 1; }
}

.ageLogo { width: 72px; margin-bottom: 10px; }

.slotTitle {
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

/* SLOT REELS */
.reels {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 14px;
  position: relative;
}

.reel {
  width: 84px;
  height: 92px;
  border-radius: 14px;
  background: #011634;
  border: 2px solid rgba(255,255,255,.10);
  box-shadow:
    inset 0 0 18px rgba(0,0,0,.65),
    0 0 18px rgba(3,88,235,.35);
  overflow: hidden;
  position: relative;
  transition: box-shadow .3s ease;
}

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.55));
  pointer-events: none;
  z-index: 2;
}

/* Highlight quando para */
.reel.stopped {
  box-shadow:
    inset 0 0 18px rgba(0,0,0,.65),
    0 0 28px rgba(243,169,33,.6);
  border-color: rgba(243,169,33,.4);
}

.strip { will-change: transform; }

.sym {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 14px rgba(243,169,33,.25);
  transition: transform .1s ease;
}

/* Spin CSS */
.slot.spin #reel1 .strip { animation: spin1 .35s linear infinite; }
.slot.spin #reel2 .strip { animation: spin2 .30s linear infinite; }
.slot.spin #reel3 .strip { animation: spin3 .33s linear infinite; }

@keyframes spin1 { from { transform: translateY(0); } to { transform: translateY(-920px); } }
@keyframes spin2 { from { transform: translateY(0); } to { transform: translateY(-920px); } }
@keyframes spin3 { from { transform: translateY(0); } to { transform: translateY(-920px); } }

/* Win overlay */
.winOverlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.6);
  background: radial-gradient(ellipse, rgba(243,169,33,0.95), rgba(255,100,0,0.9));
  border-radius: 14px;
  padding: 10px 24px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(.22,.9,.3,1);
  white-space: nowrap;
}

.winOverlay.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.winText {
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .08em;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* Vibração quando para */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-4px) rotate(-1deg); }
  40%       { transform: translateX(4px) rotate(1deg); }
  60%       { transform: translateX(-3px); }
  80%       { transform: translateX(3px); }
}

.ageBox.shaking { animation: shake .4s ease; }

/* Botões */
.ageButtons {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ageButtons button {
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.ageButtons button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.ageButtons button:active { transform: scale(.96); }

.ageYes {
  background: var(--accent-gold);
  color: #000;
  box-shadow: 0 8px 20px rgba(243,169,33,0.3);
}
.ageYes:hover { box-shadow: 0 12px 28px rgba(243,169,33,0.45) !important; }

.ageNo { background: #2f2f2f; color: #fff; }

/* Saída */
#agePopup.fadeOut { opacity: 0; pointer-events: none; transition: opacity .45s ease; }
#agePopup.fadeOut .ageBox { animation: slotClose .55s ease forwards; }

@keyframes slotClose {
  0%   { transform: translateY(0) rotate(0); opacity: 1; }
  35%  { transform: translateY(-18px) rotate(-10deg); }
  100% { transform: translateY(900px) rotate(540deg); opacity: 0; }
}

/* =====================================================
   RESPONSIVIDADE
   ===================================================== */
@media (max-width: 900px) {
  .siteLayout {
    grid-template-columns: 1fr;
  }
  .sideNav {
    display: none;
  }
  .bottomNav {
    display: grid;
  }
  footer {
    padding-bottom: 90px;
  }
}

@media (max-width: 768px) {
  section {
    width: min(1200px, 92vw);
    padding: 20px 0 40px;
  }
  footer .footerCard {
    padding: 22px 18px;
    border-radius: 16px;
  }
  footer .footerText {
    font-size: 0.82rem;
  }
}

/* Light mode overrides para cards */