/* ==========================================================================
   TIGRE DA SORTE - AUTHENTIC CASINO CANVAS & PREMIUM 3D DOCK
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #080304;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #ffffff;
}

/* Ambient Backdrop for Desktop Presentation */
.desktop-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(66, 8, 18, 0.72) 0%, rgba(21, 2, 5, 0.88) 60%, #030001 100%),
              url('assets/casino_screen.jpg') center center / cover no-repeat;
  filter: blur(28px);
  transform: scale(1.1);
  z-index: 0;
  pointer-events: none;
}

/* Stage Wrapper */
.stage-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 0;
}

/* The Main Casino Canvas */
.casino-canvas {
  position: relative;
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  aspect-ratio: 576 / 1024;
  width: auto;
  max-width: 100vw;
  overflow: hidden;
  background-color: #120306;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.95), 0 0 80px rgba(220, 38, 38, 0.25);
}

@media (min-width: 481px) {
  .casino-canvas {
    max-height: 96vh;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.25);
  }
}

/* Master Artwork */
.master-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   DYNAMIC BOTTOM NAVIGATION DOCK (TabBar)
   ========================================================================== */
.bottom-dock-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 14.5%; /* Exact dock height in reference artwork */
  background: linear-gradient(180deg, rgba(16, 9, 11, 0.98) 0%, rgba(6, 3, 5, 1) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dock-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

/* Tab Item Button (Exactly 25% of dock width) */
.tab-item {
  flex: 1 1 0;
  max-width: 25%;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.12s ease;
}

.tab-item:active {
  transform: scale(0.94);
}

/* Thin vertical dividers between tabs */
.tab-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 32%;
  height: 36%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

/* Inactive Tab Pill */
.tab-pill {
  width: 78px;
  height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 2px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: transparent;
  position: relative;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  transition: transform 0.2s ease;
}

/* Authentic 3D PNG Icons */
.tab-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.tab-item:not(.active) .icon-active {
  display: none;
}

.tab-item:not(.active) .icon-inactive {
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.7));
}

.tab-item.active .icon-inactive {
  display: none;
}

.tab-item.active .icon-active {
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 6px rgba(245, 158, 11, 0.65));
}

.tab-label {
  font-size: 11px;
  font-weight: 500;
  color: #d1d5db;
  letter-spacing: -0.1px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  display: block;
  width: 100%;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

/* ==========================================================================
   ACTIVE TAB STATE (Exact Authentic Laser-Line Red Capsule & Glow)
   ========================================================================== */
.tab-item.active {
  z-index: 2;
}

/* Hide adjacent divider when active */
.tab-item.active::after,
.tab-item.active + .tab-item::after {
  opacity: 0;
}

.tab-item.active .tab-pill {
  width: 86px;
  height: 74px;
  background: radial-gradient(circle at 50% 20%, #990a18 0%, #52030b 65%, #2a0106 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.85);
  border-top: 1.5px solid #ff8888;
  border-radius: 18px;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.75), inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

/* Specular White Flare on the top laser line */
.tab-item.active .tab-pill::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  box-shadow: 0 0 6px #ffffff, 0 0 10px #ff4444;
  pointer-events: none;
}

/* Ambient Red Light Spill upwards over the floor */
.tab-item.active .tab-pill::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 14px;
  background: radial-gradient(ellipse, rgba(239, 68, 68, 0.5) 0%, transparent 75%);
  filter: blur(4px);
  pointer-events: none;
}

.tab-item.active .tab-icon-box {
  transform: scale(1.08);
}

.tab-item.active .tab-label {
  color: #ffd700;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(245, 158, 11, 0.4);
}

/* ==========================================================================
   INTERACTIVE USER ACCOUNT PILL (Top-Left Header - Luxury Casino Graphic)
   ========================================================================== */
.user-account-card {
  position: absolute;
  top: 3.12%; /* 32px on 1024px canvas */
  left: 1.56%; /* 9px on 576px canvas */
  width: 44.34%; /* 255.4px on 576px canvas (aspect ratio 1000 / 278 = 3.597) */
  height: 6.93%; /* 71px on 1024px canvas */
  cursor: pointer;
  z-index: 35;
  user-select: none;
  box-sizing: border-box;
  padding: 0;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.75));
}

.user-account-card:hover {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 14px rgba(255, 215, 0, 0.55));
}

.user-account-card:active {
  transform: scale(0.98);
}

.user-pill-graphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
  display: block;
}

/* Greeting text centered in upper red patterned area */
.user-pill-greeting-wrap {
  position: absolute;
  top: 19%;
  left: 26%;
  right: 2%;
  height: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.user-greeting {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.85);
  transition: color 0.15s ease;
}

.user-account-card:hover .user-greeting {
  color: #fff2a1;
}

.user-account-card.is-visitor {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 12px rgba(245, 158, 11, 0.5));
}

.user-account-card.is-visitor .user-greeting {
  color: #fff4bd;
  font-size: 13.5px;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 10px rgba(245, 158, 11, 0.85);
}

.user-account-card.is-visitor .user-tier-name {
  color: #6ee7b7;
  font-size: 8px;
  letter-spacing: 0.6px;
}

/* Inner Black Capsule Area (Centered between the two ruby gems: midpoint 62%) */
.user-pill-slot-wrap {
  position: absolute;
  top: 59%;
  left: 36%;
  right: 12%;
  height: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.user-tier-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.tier-crown-svg {
  width: 9.5px;
  height: 8.5px;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.9));
}

.user-tier-name {
  font-family: 'Outfit', sans-serif;
  font-size: 8.5px;
  font-weight: 800;
  color: #ffe082;
  letter-spacing: 0.8px;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
  text-transform: uppercase;
}

/* ==========================================================================
   INTERACTIVE PLAYER PROFILE MODAL (Luxury Glassmorphism Dialog)
   ========================================================================== */
.profile-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 4, 6, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  box-sizing: border-box;
}

.profile-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.profile-modal-card {
  width: 100%;
  max-width: 350px;
  background: #0d0c10;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-top: 1px solid rgba(255, 230, 150, 0.45);
  border-radius: 18px;
  box-shadow: 
    0 24px 70px rgba(0, 0, 0, 0.95),
    0 0 1px 1px rgba(255, 255, 255, 0.03);
  padding: 18px 20px 20px 20px;
  position: relative;
  transform: translateY(18px) scale(0.96);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.profile-modal-overlay.open .profile-modal-card {
  transform: translateY(0) scale(1);
}

/* Modal Top Bar (Brand Header & Minimal Dismiss) */
.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.club-brand {
  display: flex;
  align-items: center;
  gap: 7px;
}

.club-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.8);
}

.club-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #d4af37;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.modal-close-btn {
  position: static;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8b8796;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.modal-close-btn:active {
  transform: scale(0.92);
}

/* Member Identification Row */
.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.profile-avatar-box {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.profile-avatar-large {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
}

.profile-vip-chip {
  position: absolute;
  bottom: -3px;
  right: -2px;
  background: #120e15;
  color: #f5d77f;
  font-size: 8.5px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.6px;
  font-family: 'Outfit', sans-serif;
}

.profile-title-box {
  flex: 1;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-username {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.2px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #ffd700;
  border-radius: 50%;
  flex-shrink: 0;
}

.profile-id-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}

.profile-id-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #645f6e;
}

.profile-id {
  font-size: 11px;
  font-weight: 600;
  color: #aba6b5;
  font-variant-numeric: tabular-nums;
}

.copy-id-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #9c97a5;
  font-size: 9px;
  font-weight: 600;
  padding: 1.5px 6px;
  cursor: pointer;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: all 0.15s ease;
}

.copy-id-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.5);
  color: #f3e5ab;
}

/* VIP Membership Card Section */
.profile-vip-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.vip-level-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vip-tier-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #f5e6c8;
  text-transform: uppercase;
}

.tier-indicator-diamond {
  font-size: 8px;
  color: #d4af37;
}

.vip-next-tier {
  font-size: 9.5px;
  color: #6b6775;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.vip-next-tier strong {
  color: #b5afc0;
}

.vip-progress-bar-wrap {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin: 9px 0 7px 0;
}

.vip-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #aa8014 0%, #ffd700 70%, #ffffff 100%);
  border-radius: 9999px;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
}

.vip-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  color: #6e6a78;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}

.vip-meta-remaining {
  color: #8b8796;
}

/* Benefits Grid (Minimalist Hairline Vector Badges) */
.profile-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 9px 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 175, 55, 0.25);
}

.benefit-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.benefit-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #716d7a;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.benefit-val {
  font-size: 11px;
  font-weight: 700;
  color: #f3f3f5;
  line-height: 1.2;
  letter-spacing: -0.1px;
}

/* Modal Action Buttons (Las Vegas Cashier Suite) */
.profile-actions {
  display: flex;
  gap: 8px;
}

.btn-profile-action {
  flex: 1;
  height: 40px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
}

.btn-profile-action.primary {
  background: linear-gradient(135deg, #d4af37 0%, #aa8014 100%);
  color: #0b0805;
  border: 1px solid #ffe58f;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.22);
}

.btn-profile-action.primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

.btn-profile-action.primary:active {
  transform: translateY(0);
}

.btn-profile-action.secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #a49fae;
}

.btn-profile-action.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.btn-profile-action.secondary:active {
  transform: scale(0.98);
}

/* Sair da Conta (Logout Action Button) */
.btn-profile-action.logout-action {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #fca5a5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-profile-action.logout-action:hover {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(239, 68, 68, 0.55);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.25);
  transform: translateY(-1px);
}

.btn-profile-action.logout-action:active {
  transform: scale(0.98);
}

.btn-profile-action.logout-action svg {
  stroke: currentColor;
  transition: transform 0.18s ease;
}

.btn-profile-action.logout-action:hover svg {
  transform: translateX(2px);
}

/* ==========================================================================
   HEADER BRAND LOGO (Top-Right, Directly Above Balance Pill)
   ========================================================================== */
.header-brand-logo {
  position: absolute;
  top: 0.2%; /* 2px on 1024px */
  right: 2.6%;
  left: auto;
  width: 31%; /* ~178px on 576px canvas */
  height: 4.2%; /* ~43px on 1024px */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 36;
  cursor: pointer;
  user-select: none;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
}

.header-brand-logo:hover {
  transform: translateY(-1px) scale(1.03);
}

.header-brand-logo:active {
  transform: scale(0.97);
}

.header-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(245, 158, 11, 0.45));
  pointer-events: none;
}

/* ==========================================================================
   INTERACTIVE TOP-RIGHT HEADER (Professional Real Balance Pill & Notifications)
   ========================================================================== */
.header-top-right {
  position: absolute;
  top: 4.49%;
  left: 50.87%;
  width: 47.05%;
  height: 4.49%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  z-index: 35;
  box-sizing: border-box;
}

/* 1. Real Balance Pill Container (The Bronze Glass Outer Capsule) */
.balance-pill {
  flex: 0 0 calc(218 / 271 * 100%);
  width: calc(218 / 271 * 100%);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, #3d2315 0%, #26140b 100%);
  border: 1px solid rgba(190, 130, 85, 0.45);
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
  position: relative;
  transition: transform 0.14s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.balance-pill:hover {
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.85), 0 0 10px rgba(245, 158, 11, 0.2);
}

.balance-pill:active {
  transform: scale(0.98);
}

/* Inner Black Pill (holding Gold Coins + Amount) */
.balance-left {
  flex: 0 0 calc(170 / 218 * 100%);
  width: calc(170 / 218 * 100%);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 6px 0 10px;
  background: #0f0a0d;
  border-radius: 9999px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  transition: background 0.15s ease;
}

.balance-left:hover {
  background: #181115;
}

.balance-coins-icon {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.balance-left:hover .balance-coins-icon {
  transform: scale(1.1) rotate(-4deg);
}

.balance-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  transition: opacity 0.18s ease, filter 0.18s ease;
}

/* Eye Toggle Button (Right bronze glass chamber) */
.balance-eye-btn {
  flex: 0 0 calc(48 / 218 * 100%);
  width: calc(48 / 218 * 100%);
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease, transform 0.1s ease;
}

.balance-eye-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.balance-eye-btn:active {
  transform: scale(0.9);
}

.eye-svg {
  width: 19px;
  height: 14px;
  display: block;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

.balance-eye-btn .eye-closed {
  display: none;
}

/* When balance is toggled hidden */
.balance-pill.hidden-balance .eye-open {
  display: none;
}

.balance-pill.hidden-balance .eye-closed {
  display: block;
}

.balance-pill.hidden-balance .balance-amount {
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

/* 2. Notification Button Container */
.notification-container {
  position: relative;
  flex: 0 0 calc(49 / 271 * 100%);
  width: calc(49 / 271 * 100%);
  height: 100%;
  box-sizing: border-box;
}

.notification-btn {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #181114 0%, #0d080a 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  position: relative;
  box-sizing: border-box;
  padding: 0;
  transition: transform 0.12s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.notification-btn:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.85), 0 0 10px rgba(245, 158, 11, 0.15);
}

.notification-btn:active {
  transform: scale(0.92);
}

.bell-svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

.notification-btn.ringing .bell-svg {
  animation: bell-ring 0.6s ease;
}

@keyframes bell-ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(14deg); }
  40% { transform: rotate(-14deg); }
  60% { transform: rotate(8deg); }
  80% { transform: rotate(-6deg); }
}

.notification-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background-color: #ef3838;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef3838, inset 0 1px 1px rgba(255, 255, 255, 0.6);
  border: 1.5px solid #0e090b;
  animation: badge-pulse 2s infinite ease-in-out;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 6px #ef3838; }
  50% { transform: scale(1.15); box-shadow: 0 0 12px #ff4444; }
}

/* Notification Dropdown Popover */
.notification-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: rgba(18, 9, 13, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 25px rgba(220, 38, 38, 0.15);
  padding: 14px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.notification-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
}

.notif-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.notif-count-pill {
  font-size: 10px;
  font-weight: 700;
  background: #ef4444;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.2px;
}

.notif-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.15s ease;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.notif-icon-circle {
  font-size: 18px;
  line-height: 1;
  padding-top: 2px;
}

.notif-content {
  flex: 1;
}

.notif-heading {
  font-size: 12px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 2px;
}

.notif-desc {
  font-size: 11px;
  color: #d1d5db;
  line-height: 1.35;
  margin-bottom: 4px;
}

.notif-time {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* Floating Balance / Action Toast */
.balance-toast {
  position: absolute;
  top: 4.2%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(14, 8, 11, 0.98);
  border: 1.5px solid #f59e0b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95), 0 0 24px rgba(245, 158, 11, 0.45);
  backdrop-filter: blur(16px);
  padding: 10px 22px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffd700;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transition: all 0.22s ease;
  pointer-events: none;
  white-space: nowrap;
  max-width: 90%;
}

.balance-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   LIVING ARTWORK & ATMOSPHERIC EFFECTS
   ========================================================================== */

/* 1. Ambient Floating Golden Embers / Dust Particles */
.ambient-dust-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 4;
}

.dust-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: radial-gradient(circle, #fff5c0 0%, #ffc107 55%, transparent 100%);
  border-radius: 50%;
  filter: drop-shadow(0 0 5px #ffd700);
  opacity: 0;
  animation: dust-float 6.5s infinite ease-in-out;
}

.dust-particle.p1 { left: 18%; bottom: 26%; animation-duration: 5.8s; animation-delay: 0s; width: 3.5px; height: 3.5px; }
.dust-particle.p2 { left: 34%; bottom: 22%; animation-duration: 7.2s; animation-delay: 1.4s; width: 2.5px; height: 2.5px; }
.dust-particle.p3 { left: 66%; bottom: 28%; animation-duration: 6.4s; animation-delay: 0.6s; width: 4px; height: 4px; }
.dust-particle.p4 { left: 82%; bottom: 20%; animation-duration: 5.9s; animation-delay: 2.1s; width: 3px; height: 3px; }
.dust-particle.p5 { left: 48%; bottom: 30%; animation-duration: 6.8s; animation-delay: 3.2s; width: 3px; height: 3px; }
.dust-particle.p6 { left: 90%; bottom: 36%; animation-duration: 7.5s; animation-delay: 1.1s; width: 3.5px; height: 3.5px; }

@keyframes dust-float {
  0% {
    transform: translateY(0) translateX(0) scale(0.6);
    opacity: 0;
  }
  20% {
    opacity: 0.75;
  }
  70% {
    opacity: 0.45;
    transform: translateY(-95px) translateX(14px) scale(1.1);
  }
  100% {
    transform: translateY(-170px) translateX(-10px) scale(0.3);
    opacity: 0;
  }
}

/* 2. Fortune Tiger Mascot Gold Coin Sparkle Glint */
.tiger-coin-glint {
  position: absolute;
  top: 11.52%;
  left: 29.17%;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 6;
  transform: translate(-50%, -50%);
}

.tiger-coin-glint .sparkle-star {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glint-twinkle 4.5s infinite ease-in-out;
}

@keyframes glint-twinkle {
  0%, 72%, 100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  80% {
    opacity: 1;
    transform: scale(1.25) rotate(45deg);
    filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 14px #ffd700);
  }
  88% {
    opacity: 0.85;
    transform: scale(0.9) rotate(90deg);
  }
  95% {
    opacity: 0;
    transform: scale(0.2) rotate(135deg);
  }
}

/* 3. Floating Promotional Benefits Banner (Imagem 1 - Bônus Diários, Torneios Exclusivos, Prêmios Reais) */
.floating-banner-left {
  position: absolute;
  top: 11.72%; /* 120px on 1024px canvas */
  left: -1.74%; /* -10px on 576px canvas */
  width: 30.03%; /* 173px on 576px canvas */
  height: 29.49%; /* 302px on 1024px canvas */
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  transform-origin: 20% 50%;
  animation: bannerCardPulse 3s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

@keyframes bannerCardPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 6px rgba(245, 158, 11, 0.2));
  }
  50% {
    transform: translateY(-3px) scale(1.026);
    filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 14px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 22px rgba(245, 158, 11, 0.3));
  }
}

.floating-banner-left:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.045);
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 20px rgba(255, 215, 0, 0.85));
}

.floating-banner-left:active {
  transform: scale(0.98);
}

.floating-banner-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
}

/* 4. Grand Jackpot Living Banner (Transparent Golden Light Aura & Sparkles) */
.jackpot-living-banner {
  position: absolute;
  top: 8.5%;
  left: 73.8%;
  width: 23.5%;
  height: 22.8%;
  border-radius: 14px;
  z-index: 7;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition: transform 0.15s ease;
}

.jackpot-living-banner:hover {
  transform: scale(1.02);
}

.jackpot-living-banner:active {
  transform: scale(0.96);
}

/* Transparent Golden Light Aura (breathing bloom over banner) */
.jackpot-golden-aura {
  position: absolute;
  inset: -14px -10px -8px -10px;
  background: radial-gradient(ellipse at 50% 46%, rgba(255, 220, 80, 0.58) 0%, rgba(245, 158, 11, 0.36) 42%, rgba(217, 119, 6, 0.12) 68%, transparent 88%);
  mix-blend-mode: screen;
  pointer-events: none;
  border-radius: 22px;
  animation: jackpot-aura-breathe 2.8s infinite ease-in-out;
}

/* Core Golden Warmth */
.jackpot-golden-core {
  position: absolute;
  top: 12%;
  left: 6%;
  right: 6%;
  height: 62%;
  background: radial-gradient(ellipse at 50% 36%, rgba(255, 245, 180, 0.45) 0%, rgba(255, 195, 50, 0.22) 48%, transparent 78%);
  mix-blend-mode: color-dodge;
  pointer-events: none;
  animation: jackpot-core-pulse 2.4s infinite ease-in-out;
}

@keyframes jackpot-aura-breathe {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.97);
    filter: blur(4px) brightness(1.0);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
    filter: blur(7px) brightness(1.4);
  }
}

@keyframes jackpot-core-pulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

/* Specular Sheen across R$ 250.000,00 black pill */
.jackpot-sheen-sweep {
  position: absolute;
  top: 53.5%;
  left: 3%;
  width: 94%;
  height: 21%;
  border-radius: 9999px;
  overflow: hidden;
  pointer-events: none;
}

.jackpot-sheen-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 235, 150, 0.6) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: jackpot-sheen-glide 3.8s infinite ease-in-out;
}

@keyframes jackpot-sheen-glide {
  0%, 45% { left: -100%; opacity: 0; }
  55% { opacity: 0.95; }
  75% { left: 160%; opacity: 0; }
  100% { left: 160%; opacity: 0; }
}

/* Sparkle Stars on Crown & Frame */
.jackpot-sparkle {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 2;
}

.jackpot-sparkle.crown-sparkle {
  top: 18.5%;
  left: 49%;
  transform: translate(-50%, -50%);
  animation: star-flash 3.8s infinite ease-in-out 0.5s;
}

.jackpot-sparkle.frame-sparkle {
  top: 63.5%;
  left: 88.5%;
  transform: translate(-50%, -50%);
  animation: star-flash 3.8s infinite ease-in-out 2.4s;
}

.sparkle-svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes star-flash {
  0%, 65%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
  }
  75% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2) rotate(90deg);
    filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 10px #ffd700);
  }
  85% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(180deg);
  }
}

/* 5. Living CTA Button ("JOGAR AGORA" - Breathing Pulse, Specular Shimmer & Play Ping) */
.cta-living-button {
  position: absolute;
  top: 65.4%;
  left: 12.85%;
  width: 74.3%;
  height: 9.55%;
  border-radius: 48px;
  z-index: 10;
  cursor: pointer;
  outline: none;
  user-select: none;
  overflow: visible;
  animation: cta-button-heartbeat 2.2s infinite ease-in-out;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.15s ease;
}

@keyframes cta-button-heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.022);
  }
}

/* Pulsing Ambient Ruby & Gold Breathing Aura */
.cta-pulse-aura {
  position: absolute;
  inset: 0;
  border-radius: 48px;
  pointer-events: none;
  animation: cta-breathe 2.2s infinite ease-in-out;
}

@keyframes cta-breathe {
  0%, 100% {
    box-shadow: 
      0 0 18px rgba(239, 68, 68, 0.5), 
      0 0 36px rgba(245, 158, 11, 0.3),
      inset 0 0 16px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 
      0 0 42px rgba(239, 68, 68, 0.95), 
      0 0 75px rgba(245, 158, 11, 0.75),
      0 0 110px rgba(239, 68, 68, 0.35),
      inset 0 0 30px rgba(255, 215, 0, 0.55);
  }
}

/* Diagonal Specular Glass Shimmer Beam */
.cta-shimmer-sweep {
  position: absolute;
  inset: 2px;
  border-radius: 46px;
  overflow: hidden;
  pointer-events: none;
}

.cta-shimmer-sweep::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -120%;
  width: 80%;
  height: 140%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.0) 35%,
    rgba(255, 255, 255, 0.42) 48%,
    rgba(255, 235, 180, 0.65) 52%,
    transparent 65%
  );
  mix-blend-mode: screen;
  transform: skewX(-15deg);
  animation: cta-shimmer-slide 3.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cta-shimmer-slide {
  0%, 40% { left: -120%; opacity: 0; }
  50% { opacity: 1; }
  75% { left: 160%; opacity: 0; }
  100% { left: 160%; opacity: 0; }
}

/* Tactile interaction on the Living Button */
.cta-living-button:hover .cta-pulse-aura {
  animation-duration: 1.3s;
  box-shadow: 
    0 0 45px rgba(239, 68, 68, 1), 
    0 0 85px rgba(245, 158, 11, 0.85),
    inset 0 0 35px rgba(255, 215, 0, 0.65);
}

.cta-living-button:active {
  transform: scale(0.965);
  filter: brightness(1.25);
}

.cta-living-button.flash-pressed .cta-pulse-aura {
  box-shadow: 
    0 0 60px rgba(255, 255, 255, 1), 
    0 0 90px rgba(245, 158, 11, 1),
    inset 0 0 40px rgba(255, 255, 255, 0.9);
  transition: box-shadow 0.1s ease;
}

/* ==========================================================================
   LIVE RECENT WINNERS TICKER CARD (Over the static security footer bar)
   ========================================================================== */
.recent-winners-card {
  position: absolute;
  top: 78.32%;
  left: 4.0%;
  width: 92.0%;
  height: 5.86%;
  background: #0d090d;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-top: 1px solid rgba(255, 230, 150, 0.45);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.96), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 15;
  display: flex;
  align-items: center;
  padding: 0 6px 0 12px;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.recent-winners-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
}

.winners-live-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 8px;
  flex-shrink: 0;
  gap: 1px;
}

.live-dot-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: live-dot-breathe 1.8s infinite ease-in-out;
  margin-bottom: 2px;
}

@keyframes live-dot-breathe {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 4px #10b981;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: 0 0 10px #34d399, 0 0 16px rgba(52, 211, 153, 0.7);
  }
}

.live-badge-title {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #10b981;
  text-transform: uppercase;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

.live-badge-sub {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #7b7785;
  text-transform: uppercase;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

.winners-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14) 30%, rgba(255, 255, 255, 0.14) 70%, transparent);
  margin-right: 8px;
  flex-shrink: 0;
}

.winners-viewport {
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
}

.winners-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  animation: winners-marquee 25s linear infinite;
  will-change: transform;
}

.recent-winners-card:hover .winners-track {
  animation-play-state: paused;
}

@keyframes winners-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.winner-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.winner-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
}

.winner-item.big-win {
  background: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.22);
}

.winner-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2030 0%, #15111a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.winner-avatar.gold {
  background: linear-gradient(135deg, #785311 0%, #3a2707 100%);
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.3);
}

.winner-initial {
  font-size: 9px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.winner-avatar.gold .winner-initial {
  color: #ffd700;
}

.winner-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.winner-user {
  font-size: 10px;
  font-weight: 600;
  color: #aba6b5;
  letter-spacing: -0.2px;
}

.winner-val {
  font-size: 10.5px;
  font-weight: 800;
  color: #10b981;
  letter-spacing: -0.2px;
  font-variant-numeric: tabular-nums;
}

.winner-val.gold {
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* ==========================================================================
   DEPOSIT SCREEN VIEW (Pixel-Perfect 576x1024 Canvas)
   ========================================================================== */
.deposit-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  user-select: none;
  overflow: hidden;
}

.deposit-view.active {
  display: block;
  opacity: 1;
}

body.deposit-active .user-account-card,
body.deposit-active .header-top-right,
body.deposit-active .header-brand-logo,
body.deposit-active .cta-living-button-wrap,
body.deposit-active .jackpot-living-banner-wrap,
body.deposit-active .recent-winners-card,
body.deposit-active .floating-banner-left,
body.deposit-active .multiplier-banner-wrap {
  display: none !important;
}

body.deposit-active .bottom-dock-nav {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.deposit-artwork {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  display: block;
}

/* 1. Back Button < (Top Left - Synchronized Pixel Perfect over Gold Circle) */
.deposit-back-btn {
  position: absolute;
  top: 3.61%;
  left: 9.03%;
  width: 9.72%;
  height: 5.47%;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.deposit-back-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
}

.deposit-back-btn:active {
  transform: scale(0.92);
}

/* 2. Lucky Bag Icon (Top Right) */
.deposit-lucky-bag-btn {
  position: absolute;
  top: 3.5%;
  right: 5.0%;
  width: 9.5%;
  height: 5.5%;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.18s ease;
}

.deposit-lucky-bag-btn:hover {
  transform: scale(1.08);
}

/* 3. Amount Input Box */
.deposit-amount-box {
  position: absolute;
  top: 34.67%;
  left: 8.16%;
  width: 83.68%;
  height: 4.79%;
  background: #110d14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  display: flex;
  align-items: center;
  z-index: 10;
  box-sizing: border-box;
  padding: 0 10px 0 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.deposit-amount-box:focus-within {
  border-color: rgba(245, 158, 11, 0.85);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
}

.deposit-amount-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.deposit-amount-clear-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4b4654;
  color: #ffffff;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease;
}

.deposit-amount-clear-btn:hover {
  background: #ef4444;
  transform: scale(1.08);
}

/* 4. Quick Amount Pills Row */
.deposit-pills-row {
  position: absolute;
  top: 40.23%;
  left: 8.16%;
  width: 83.68%;
  height: 3.52%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  z-index: 10;
}

.dep-pill {
  flex: 1;
  height: 100%;
  border-radius: 18px;
  background: #100c14;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.dep-pill:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: #17121d;
}

.dep-pill.active {
  background: linear-gradient(180deg, #ffd359 0%, #f59e0b 55%, #d97706 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #0b0708;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.7), 0 2px 8px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

/* 5. Payment Method Card (Ornate Golden Luxury Theme - PIX) */
.deposit-method-card-interactive {
  position: absolute;
  top: 44.92%;
  left: 8.16%;
  width: 83.68%;
  height: 6.45%;
  z-index: 10;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.deposit-method-card-interactive:hover {
  filter: brightness(1.08) drop-shadow(0 0 10px rgba(255, 170, 0, 0.4));
  transform: scale(1.008);
}

.deposit-method-card-interactive:active {
  transform: scale(0.985);
}

.pix-method-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.pix-method-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 235, 150, 0.28), transparent);
  transform: skewX(-25deg);
  animation: pix-card-sweep 5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes pix-card-sweep {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }
  25%, 100% {
    transform: translateX(450%) skewX(-25deg);
  }
}

/* 5.5 Interactive Bonus Card (Bônus de 500%) */
.deposit-bonus-card-interactive {
  position: absolute;
  top: 51.27%;
  left: 5.90%;
  width: 88.02%;
  height: 19.63%;
  border-radius: 18px;
  cursor: pointer;
  z-index: 10;
  overflow: hidden;
  transition: transform 0.18s ease;
}

.deposit-bonus-card-interactive:hover {
  transform: scale(1.008);
}

.deposit-bonus-card-interactive:active {
  transform: scale(0.985);
}

.bonus-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.bonus-sparkle-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 235, 150, 0.32), transparent);
  transform: skewX(-25deg);
  animation: bonus-card-sweep 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes bonus-card-sweep {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }
  30%, 100% {
    transform: translateX(450%) skewX(-25deg);
  }
}

/* 6. CPF Input Card (Ornate Golden Luxury Theme - Imagem 1) */
.deposit-cpf-card-interactive {
  position: absolute;
  top: 70.90%;
  left: 8.16%;
  width: 83.68%;
  height: 7.32%;
  z-index: 10;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  cursor: text;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.deposit-cpf-card-interactive:hover {
  filter: brightness(1.06);
}

.deposit-cpf-card-interactive:focus-within {
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5));
}

.cpf-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.deposit-cpf-input-overlay {
  position: absolute;
  top: 29.5%;
  left: 13.5%;
  width: 83.5%;
  height: 56.0%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(14px, 3.8vw, 17px);
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0 14px;
  box-sizing: border-box;
  z-index: 2;
  cursor: text;
}

.deposit-cpf-input-overlay::placeholder {
  color: rgba(145, 140, 160, 0.6);
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* 7. Gerar PIX Metallic CTA Button */
.deposit-cta-btn {
  position: absolute;
  top: 78.52%;
  left: 4.34%;
  width: 91.32%;
  height: 7.42%;
  border-radius: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  overflow: hidden;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.deposit-cta-btn:hover {
  filter: brightness(1.08);
}

.deposit-cta-btn:active {
  transform: scale(0.985);
}

.cta-sheen-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  animation: cta-sheen 3s infinite ease-in-out;
  pointer-events: none;
  border-radius: 38px;
}

@keyframes cta-sheen {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }
  35%, 100% {
    transform: translateX(350%) skewX(-25deg);
  }
}

.cta-arrow-pulse {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.7);
  animation: red-arrow-breathe 2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes red-arrow-breathe {
  0%, 100% {
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.5);
    transform: translateY(-50%) scale(0.96);
  }
  50% {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.9), 0 0 30px rgba(220, 38, 38, 0.5);
    transform: translateY(-50%) scale(1.06);
  }
}

/* 8. Trust Badges Hitbox */
.deposit-trust-hitbox {
  position: absolute;
  top: 87.5%;
  left: 4.34%;
  width: 91.32%;
  height: 6.8%;
  display: flex;
  z-index: 10;
}

.dep-trust-col {
  flex: 1;
  height: 100%;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.dep-trust-col:hover {
  background: rgba(255, 215, 0, 0.08);
}

/* ==========================================================================
   SAQUE SCREEN VIEW (Pixel-Perfect 576x1024 Canvas)
   ========================================================================== */
.saque-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  user-select: none;
  overflow: hidden;
}

.saque-view.active {
  display: block;
  opacity: 1;
}

body.saque-active .user-account-card,
body.saque-active .header-top-right,
body.saque-active .header-brand-logo,
body.saque-active .cta-living-button-wrap,
body.saque-active .jackpot-living-banner-wrap,
body.saque-active .recent-winners-card,
body.saque-active .floating-banner-left,
body.saque-active .multiplier-banner-wrap {
  display: none !important;
}

body.saque-active .bottom-dock-nav {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.saque-artwork {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  display: block;
}

/* 1. Interactive Back Button Hitbox < (Top Left) */
.saque-back-btn {
  position: absolute;
  top: 2.0%;
  left: 3.0%;
  width: 15.0%;
  height: 8.0%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* 1. Breadcrumb */
.saque-breadcrumb {
  position: absolute;
  top: 19.34%;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 5;
  pointer-events: none;
  user-select: none;
}

.breadcrumb-gold {
  color: #ffd24d;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.breadcrumb-dot {
  color: #ef4444;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.breadcrumb-white {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* 2. Main Title */
.saque-main-title {
  position: absolute;
  top: 22.46%;
  left: 0;
  width: 100%;
  text-align: center;
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 4.8vw, 25px);
  font-weight: 900;
  background: linear-gradient(180deg, #ffffff 15%, #ffea9f 50%, #f59e0b 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.95));
  letter-spacing: -0.3px;
  z-index: 5;
  pointer-events: none;
}

/* 3. Subtitle */
.saque-subtitle {
  position: absolute;
  top: 26.56%;
  left: 6.0%;
  width: 88.0%;
  text-align: center;
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(10.5px, 2.7vw, 12px);
  font-weight: 600;
  color: #d6d3dc;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
  z-index: 5;
  pointer-events: none;
}

/* 4. Progress Steps */
.saque-steps-timeline {
  position: absolute;
  top: 29.88%;
  left: 8.5%;
  width: 83.0%;
  height: 10.74%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 5;
}

.steps-connector-line {
  position: absolute;
  left: 11.5px;
  top: 11px;
  bottom: 11px;
  width: 1.5px;
  background: linear-gradient(180deg, #f59e0b, #d97706);
  z-index: 1;
}

.saque-step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.step-num-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #14080e;
  border: 1.5px solid #f59e0b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.45), inset 0 0 4px rgba(245, 158, 11, 0.3);
  flex-shrink: 0;
}

.saque-step-item.active .step-num-badge {
  background: radial-gradient(circle at 35% 35%, #ffd359 0%, #f59e0b 60%, #b45309 100%);
  color: #0d060a;
  border-color: #ffd700;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
}

.step-label {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  letter-spacing: -0.2px;
}

/* 5. Notice / Warning Card (Placed below Action Buttons) */
.saque-warning-card {
  position: relative;
  width: 100%;
  min-height: 64px;
  background: rgba(14, 9, 13, 0.94);
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 235, 160, 0.2);
  display: flex;
  align-items: center;
  padding: 8px 14px;
  gap: 12px;
  box-sizing: border-box;
  margin-top: 4px;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.warning-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fde047 0%, #f59e0b 55%, #b45309 100%);
  color: #0b0609;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
  flex-shrink: 0;
  line-height: 1;
}

.warning-text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}

.warning-desc {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(10px, 2.5vw, 11.5px);
  line-height: 1.35;
  color: #e5e7eb;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.warning-highlight {
  color: #ffd700;
  font-weight: 800;
}

.warning-bold-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(10.5px, 2.6vw, 12px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* 6. Form Fields Layer (Lifted up directly beneath steps timeline) */
.saque-form-layer {
  position: absolute;
  top: 42.0%;
  left: 8.16%;
  width: 83.68%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
  box-sizing: border-box;
}

.saque-field-box {
  background: rgba(14, 9, 13, 0.95);
  border: 1.5px solid rgba(234, 179, 8, 0.65);
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.7), inset 0 1px 2px rgba(255, 235, 160, 0.2);
  display: flex;
  align-items: center;
  padding: 0 14px;
  position: relative;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.saque-field-box:focus-within {
  border-color: rgba(255, 215, 0, 0.95);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Campo 1: Banco (Dropdown) */
.saque-bank-box {
  height: 50px;
}

/* Campo Tipo de Chave PIX */
.saque-key-type-box {
  height: 50px;
}

/* Campo Chave PIX (Dinâmico) */
.saque-key-val-box {
  height: 50px;
  animation: saqueFieldSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes saqueFieldSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.field-key-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
  opacity: 0.9;
}

.saque-select-native {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 28px;
}

.saque-select-native option {
  background: #150f19;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

.select-chevron-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
}

/* Campos 2 e 3: Nomes Row */
.saque-name-row {
  display: flex;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.saque-half-box {
  flex: 1 1 0;
  min-width: 0;
  height: 50px;
  overflow: hidden;
}

.saque-input-field {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 0;
}

.saque-input-field::placeholder {
  color: #9ca3af;
  font-weight: 600;
}

.field-lock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
  opacity: 0.85;
}

/* Campo 4: Saldo Disponível */
.saque-balance-section {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  margin-top: 1px;
}

.saque-balance-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.saque-amount-box {
  height: 50px;
}

.saque-amount-val {
  font-size: 17px;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.45);
  letter-spacing: 0.5px;
}

.saque-max-pill-btn {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.6);
  border-radius: 8px;
  color: #ffd700;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.saque-max-pill-btn:hover {
  background: rgba(245, 158, 11, 0.4);
  transform: scale(1.05);
}

.saque-max-pill-btn:active {
  transform: scale(0.95);
}

/* Action Buttons (Voltar & SACAR) */
.saque-actions-row {
  display: flex;
  gap: 12px;
  width: 100%;
  height: 52px;
  margin-top: 4px;
}

.saque-action-btn {
  flex: 1;
  height: 100%;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: 'Outfit', sans-serif;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}

.btn-voltar {
  background: linear-gradient(180deg, #1b131c 0%, #0d080e 100%);
  border: 1.5px solid rgba(234, 179, 8, 0.7);
  color: #ffd700;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 235, 160, 0.2);
}

.btn-voltar:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
}

.btn-voltar:active {
  transform: scale(0.97);
}

.btn-sacar {
  background: linear-gradient(180deg, #f02d3e 0%, #dc2626 50%, #991b1b 100%);
  border: 1.5px solid rgba(255, 235, 160, 0.85);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.btn-sacar:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 28px rgba(239, 68, 68, 0.9), 0 0 15px rgba(255, 215, 0, 0.5);
}

.btn-sacar:active {
  transform: scale(0.97);
}

.sacar-btn-text {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.9);
  z-index: 2;
}

.sacar-sheen-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  animation: sacar-btn-sweep 3.5s infinite ease-in-out;
  pointer-events: none;
  z-index: 1;
}

@keyframes sacar-btn-sweep {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }
  35%, 100% {
    transform: translateX(350%) skewX(-25deg);
  }
}

/* ==========================================================================
   BONUS SCREEN VIEW (Pixel-Perfect 576x1024 Canvas)
   ========================================================================== */
.bonus-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  user-select: none;
  overflow: hidden;
}

.bonus-view.active {
  display: block;
  opacity: 1;
}

body.bonus-active .user-account-card,
body.bonus-active .header-top-right,
body.bonus-active .header-brand-logo,
body.bonus-active .cta-living-button-wrap,
body.bonus-active .jackpot-living-banner-wrap,
body.bonus-active .recent-winners-card,
body.bonus-active .floating-banner-left,
body.bonus-active .multiplier-banner-wrap {
  display: none !important;
}

body.bonus-active .bottom-dock-nav {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.bonus-artwork {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 1;
}

/* 1. Back Chevron Button (Top Left) */
.bonus-back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 42px;
  height: 42px;
  background: rgba(20, 3, 3, 0.65);
  border: 1px solid rgba(255, 215, 0, 0.45);
  border-radius: 50%;
  color: #ffd700;
  cursor: pointer;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(6px);
}

.bonus-back-btn:hover {
  background: rgba(180, 83, 9, 0.5);
  border-color: #facc15;
  transform: scale(1.06);
}

.bonus-back-btn:active {
  transform: scale(0.92);
}

/* 2. Central Ornate Chamber Content */
.bonus-chamber-content {
  position: absolute;
  top: 44.5%;
  left: 9.2%;
  width: 81.6%;
  height: 34.4%;
  z-index: 15;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 6px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.bonus-chamber-content::-webkit-scrollbar {
  display: none; /* Hide native scrollbar for pristine app aesthetic */
  width: 0;
  height: 0;
}

/* Individual Luxury Bonus Cards */
.bonus-card {
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(38, 7, 7, 0.92), rgba(18, 2, 2, 0.96));
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bonus-card:hover {
  border-color: rgba(250, 204, 21, 0.7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8), 0 0 12px rgba(245, 158, 11, 0.2);
}

.bonus-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bonus-chip {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 1.5px 6px;
  border-radius: 5px;
  text-transform: uppercase;
}

.chip-gold {
  background: rgba(245, 158, 11, 0.2);
  color: #fef08a;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

.chip-ruby {
  background: rgba(220, 38, 38, 0.25);
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.5);
}

.chip-purple {
  background: rgba(147, 51, 234, 0.25);
  color: #e9d5ff;
  border: 1px solid rgba(147, 51, 234, 0.5);
}

.chip-cyan {
  background: rgba(6, 182, 212, 0.2);
  color: #a5f3fc;
  border: 1px solid rgba(6, 182, 212, 0.5);
}

.bonus-status-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 1.5px 5px;
  border-radius: 4px;
}

.bonus-status-badge.available {
  background: #15803d;
  color: #dcfce7;
  animation: pulseBadge 2s infinite ease-in-out;
}

.bonus-status-badge.hot {
  background: #b91c1c;
  color: #fee2e2;
  animation: pulseBadge 1.5s infinite ease-in-out;
}

.bonus-status-badge.gold {
  background: #b45309;
  color: #fef3c7;
}

@keyframes pulseBadge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.96); }
}

.bonus-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.bonus-card-info {
  flex: 1;
}

.bonus-card-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1px 0;
  letter-spacing: 0.02em;
}

.bonus-card-desc {
  font-size: 9px;
  color: #d1d5db;
  margin: 0;
  line-height: 1.25;
}

.bonus-card-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.bonus-val-label {
  font-size: 8.5px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bonus-val-amount {
  font-size: 12.5px;
  font-weight: 900;
  background: linear-gradient(180deg, #fff0a8, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.spin-highlight {
  background: linear-gradient(180deg, #ffedd5, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Action Buttons */
.bonus-action-btn {
  width: 100%;
  height: 27px;
  min-height: 27px;
  flex-shrink: 0;
  border-radius: 7px;
  border: none;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.15s ease, filter 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.bonus-action-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.bonus-action-btn:active {
  transform: translateY(1px) scale(0.98);
}

.bonus-action-btn.btn-gold {
  background: linear-gradient(180deg, #fef08a 0%, #f59e0b 50%, #b45309 100%);
  color: #381500;
  border: 1px solid #fef08a;
}

.bonus-action-btn.btn-ruby {
  background: linear-gradient(180deg, #f87171 0%, #dc2626 50%, #7f1d1d 100%);
  color: #ffffff;
  border: 1px solid #fca5a5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.bonus-action-btn.disabled,
.bonus-action-btn:disabled {
  background: linear-gradient(180deg, #4b5563, #374151) !important;
  color: #9ca3af !important;
  border: 1px solid #6b7280 !important;
  cursor: not-allowed !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

.bonus-action-btn .btn-glow-bar {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: bonusBtnSheen 3.5s infinite;
}

@keyframes bonusBtnSheen {
  0%, 75% { left: -100%; }
  100% { left: 160%; }
}

/* Coupon Row */
.bonus-promo-row {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 2px;
}

.bonus-promo-input {
  flex: 1;
  height: 27px;
  background: rgba(10, 2, 2, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 7px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bonus-promo-input:focus {
  border-color: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.35);
}

.bonus-promo-input::placeholder {
  color: #6b7280;
  text-transform: none;
  font-weight: 500;
}

.bonus-promo-btn {
  height: 27px;
  padding: 0 12px;
  border-radius: 7px;
  border: 1px solid #fef08a;
  background: linear-gradient(180deg, #fef08a 0%, #f59e0b 50%, #b45309 100%);
  color: #381500;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: transform 0.15s ease, filter 0.2s ease;
  white-space: nowrap;
}

.bonus-promo-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.bonus-promo-btn:active {
  transform: translateY(1px);
}

/* 3. VOLTAR Button Hitbox */
.bonus-voltar-btn {
  position: absolute;
  top: 83.2%;
  left: 10.5%;
  width: 79%;
  height: 8.8%;
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  z-index: 20;
  outline: none;
  overflow: hidden;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.bonus-voltar-btn:hover {
  filter: brightness(1.15) drop-shadow(0 0 14px rgba(255, 215, 0, 0.65));
}

.bonus-voltar-btn:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}

.bonus-voltar-sheen {
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: voltarSheenMove 4s infinite ease-in-out;
}

@keyframes voltarSheenMove {
  0%, 70% { left: -70%; }
  100% { left: 140%; }
}

/* ==========================================================================
   4. ATMOSPHERIC LIVING COIN SPARKLES & GLINTS (Bonus Screen)
   ========================================================================== */
.bonus-living-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
  overflow: hidden;
}

.bonus-glint {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bonusCoinTwinkle 3.6s infinite ease-in-out;
}

.bonus-glint.glint-1 {
  width: 28px;
  height: 28px;
}

.bonus-glint.glint-5 {
  width: 24px;
  height: 24px;
}

.bonus-glint.glint-6 {
  width: 26px;
  height: 26px;
}

.bonus-glint.glint-10 {
  width: 26px;
  height: 26px;
}

.bonus-sparkle-svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes bonusCoinTwinkle {
  0%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    filter: drop-shadow(0 0 4px #ffffff) drop-shadow(0 0 10px #ffd700);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.4) rotate(45deg);
    filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 16px #ffd700) drop-shadow(0 0 24px rgba(245, 158, 11, 0.85));
  }
  38% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(0.85) rotate(90deg);
    filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 12px #f59e0b);
  }
  50% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.2) rotate(135deg);
    filter: drop-shadow(0 0 7px #ffffff) drop-shadow(0 0 15px #ffd700);
  }
  65%, 90% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.1) rotate(180deg);
  }
}

/* Staggered organic light rhythm across gold coin piles */
.bonus-glint.glint-1  { animation-delay: 0.0s; animation-duration: 3.2s; }
.bonus-glint.glint-2  { animation-delay: 0.8s; animation-duration: 3.5s; }
.bonus-glint.glint-3  { animation-delay: 1.6s; animation-duration: 3.3s; }
.bonus-glint.glint-4  { animation-delay: 0.4s; animation-duration: 3.6s; }
.bonus-glint.glint-5  { animation-delay: 1.2s; animation-duration: 3.4s; }
.bonus-glint.glint-6  { animation-delay: 1.9s; animation-duration: 3.1s; }
.bonus-glint.glint-7  { animation-delay: 0.2s; animation-duration: 3.5s; }
.bonus-glint.glint-8  { animation-delay: 1.0s; animation-duration: 3.7s; }
.bonus-glint.glint-9  { animation-delay: 1.7s; animation-duration: 3.2s; }
.bonus-glint.glint-10 { animation-delay: 0.5s; animation-duration: 3.4s; }
.bonus-glint.glint-11 { animation-delay: 1.4s; animation-duration: 3.6s; }
.bonus-glint.glint-12 { animation-delay: 2.1s; animation-duration: 3.8s; }

/* ==========================================================================
   PIX CHECKOUT MODAL (Ornate Oriental Luxury Theme - Pixel Perfect)
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pix-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pix-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pix-modal-dialog.ornate {
  width: min(94vw, calc(94vh * (912 / 1024)));
  max-width: 440px;
  aspect-ratio: 912 / 1024;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(24px) scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.pix-modal-backdrop.open .pix-modal-dialog.ornate {
  transform: translateY(0) scale(1);
}

.pix-ornate-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 35px rgba(255, 180, 0, 0.28));
  user-select: none;
}

.pix-ornate-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* Close Button (x) positioned over the ornate red circular badge */
.pix-ornate-close-btn {
  position: absolute;
  top: 5.86%;
  left: 80.04%;
  width: 11.95%;
  height: 9.67%;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, filter 0.15s ease;
  z-index: 5;
}

.pix-ornate-close-btn:hover {
  filter: brightness(1.25) drop-shadow(0 0 10px rgba(239, 68, 68, 0.9));
  transform: scale(1.06);
}

.pix-ornate-close-btn:active {
  transform: scale(0.92);
}

/* Amount formatted in gold inside the dark horizontal bar */
.pix-ornate-amount-val {
  position: absolute;
  top: 18.36%;
  left: 42.0%;
  width: 45.5%;
  height: 6.2%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(14px, 4vw, 20px);
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.65), 0 2px 4px rgba(0, 0, 0, 0.95);
  letter-spacing: 0.5px;
  pointer-events: none;
  z-index: 4;
}

/* Authentic Sharp SVG QR Code positioned inside the central temple white card */
.pix-ornate-qr-box {
  position: absolute;
  top: 29.5%;
  left: 31.8%;
  width: 36.4%;
  height: 31.8%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px;
  box-sizing: border-box;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  z-index: 4;
}

.pix-qrcode-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Countdown Timer positioned directly next to "Código expira em:" */
.pix-ornate-timer-val {
  position: absolute;
  top: 63.6%;
  left: 60.2%;
  width: 18.0%;
  height: 3.8%;
  display: flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(12px, 3.2vw, 15px);
  font-weight: 800;
  color: #ffd700;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  z-index: 4;
}

/* Copy PIX Code Transparent Input */
.pix-ornate-copy-input {
  position: absolute;
  top: 70.51%;
  left: 8.77%;
  width: 64.14%;
  height: 6.54%;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'SF Mono', Consolas, Monaco, monospace;
  font-size: clamp(10px, 2.5vw, 12px);
  font-weight: 600;
  color: #e5ded5;
  padding: 0 14px;
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: text;
  z-index: 4;
}

/* "Copiar" Button positioned over blue 3D button */
.pix-ornate-copy-btn {
  position: absolute;
  top: 70.51%;
  left: 74.23%;
  width: 17.43%;
  height: 6.54%;
  border-radius: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(10px, 2.6vw, 13px);
  font-weight: 800;
  color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.2s ease, color 0.2s ease;
  z-index: 5;
}

.pix-ornate-copy-btn:hover {
  filter: brightness(1.2);
}

.pix-ornate-copy-btn:active {
  transform: scale(0.96);
}

.pix-ornate-copy-btn.copied {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.7);
}

/* "Confirmar Pagamento" Button positioned over large green 3D button */
.pix-ornate-confirm-btn {
  position: absolute;
  top: 79.79%;
  left: 10.64%;
  width: 79.17%;
  height: 8.50%;
  border-radius: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, filter 0.15s ease;
  z-index: 5;
}

.pix-ornate-confirm-btn:hover {
  filter: brightness(1.15);
}

.pix-ornate-confirm-btn:active {
  transform: scale(0.97);
}

.pix-confirm-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 100%
  );
  transform: translateX(-150%) skewX(-20deg);
  animation: ornateButtonSweep 3s infinite ease-in-out;
  pointer-events: none;
}

@keyframes ornateButtonSweep {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }
  35% {
    transform: translateX(250%) skewX(-20deg);
  }
  100% {
    transform: translateX(250%) skewX(-20deg);
  }
}

/* ==========================================================================
   10. SAQUE CONFIRMATION / ANÁLISE MODAL (Ornate Oriental Luxury Theme)
   ========================================================================== */
.saque-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
}

.saque-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.saque-modal-dialog {
  width: min(92vw, calc(92vh * (819 / 1024)));
  max-width: 480px;
  aspect-ratio: 819 / 1024;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(28px) scale(0.92);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.saque-modal-backdrop.open .saque-modal-dialog {
  transform: translateY(0) scale(1);
}

.saque-modal-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 40px rgba(255, 180, 0, 0.32));
  user-select: none;
}

.saque-modal-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* OK Button Hitbox & Interactive Sheen */
.saque-modal-ok-btn {
  position: absolute;
  top: 78.5%;
  left: 17.5%;
  width: 65%;
  height: 9.8%;
  border-radius: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  z-index: 5;
  transition: transform 0.12s ease, filter 0.2s ease;
}

.saque-modal-ok-btn:hover {
  filter: brightness(1.12) drop-shadow(0 0 16px rgba(255, 215, 0, 0.7));
  transform: scale(1.02);
}

.saque-modal-ok-btn:active {
  transform: scale(0.97);
}

.ok-sheen-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-150%) skewX(-20deg);
  animation: okSheenSweep 3.2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes okSheenSweep {
  0%, 25% {
    transform: translateX(-150%) skewX(-20deg);
  }
  50%, 100% {
    transform: translateX(450%) skewX(-20deg);
  }
}

/* ==========================================================================
   11. AUTHENTICATION MODAL (Login & Cadastro - Ornate Oriental Luxury Theme)
   ========================================================================== */
/* Site Background Blur when Auth Modal is Open */
.casino-canvas.auth-open {
  background-color: #1a0508;
}

.casino-canvas.auth-open .master-artwork {
  filter: blur(14px) brightness(0.95) saturate(1.2);
  transform: scale(1.08);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.casino-canvas.auth-open > :not(.auth-modal-backdrop):not(.master-artwork):not(.balance-toast) {
  filter: blur(12px) brightness(0.9);
  transition: filter 0.4s ease;
  pointer-events: none !important;
}

body.auth-open .desktop-backdrop {
  filter: blur(35px) brightness(0.85);
  transition: filter 0.4s ease;
}

.auth-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 2, 5, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
}

.auth-modal-backdrop.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.auth-modal-backdrop:not(.open) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.auth-modal-backdrop:not(.open) * {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.auth-modal-dialog {
  width: min(91vw, calc(91dvh * (576 / 1024)));
  max-width: 524px;
  aspect-ratio: 576 / 1024;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.auth-modal-backdrop.open .auth-modal-dialog {
  transform: translateY(0) scale(1);
}

@keyframes modalShake {
  0%, 100% { transform: translateY(0) scale(1) translateX(0); }
  20%, 60% { transform: translateY(0) scale(1) translateX(-7px); }
  40%, 80% { transform: translateY(0) scale(1) translateX(7px); }
}

.auth-modal-dialog.modal-shake {
  animation: modalShake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.auth-modal-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.92)) drop-shadow(0 0 35px rgba(255, 180, 0, 0.24));
  user-select: none;
}

/* Modal Background Artwork (Crossfade between Login and Register) */
.auth-modal-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.22s ease;
}

.auth-modal-canvas.mode-login .auth-bg-login {
  opacity: 1;
  z-index: 1;
}

.auth-modal-canvas.mode-login .auth-bg-register {
  opacity: 0;
  z-index: 0;
}

.auth-modal-canvas.mode-register .auth-bg-register {
  opacity: 1;
  z-index: 1;
}

.auth-modal-canvas.mode-register .auth-bg-login {
  opacity: 0;
  z-index: 0;
}

/* Universal Close Button (Top right circle) */
.auth-modal-close-btn {
  position: absolute;
  top: 5.5%;
  left: 80.5%;
  width: 13.5%;
  height: 7.5%;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  z-index: 60;
  pointer-events: auto;
  transition: transform 0.12s ease, filter 0.2s ease;
}

.auth-modal-close-btn:hover {
  filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 60, 60, 0.8));
  transform: scale(1.08);
}

.auth-modal-close-btn:active {
  transform: scale(0.94);
}

/* Top Tabs (Cadastro / Login) */
.auth-tab-btn {
  position: absolute;
  top: 29.8%;
  height: 6.8%;
  border-radius: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  z-index: 50;
  pointer-events: auto;
  transition: transform 0.12s ease, filter 0.2s ease;
}

.auth-tab-cadastro {
  left: 11.2%;
  width: 38.6%;
}

.auth-tab-login {
  left: 50.2%;
  width: 38.6%;
}

.auth-tab-btn:hover {
  filter: brightness(1.15);
  transform: scale(1.02);
}

.auth-tab-btn:active {
  transform: scale(0.98);
}

/* Forms Container - pointer-events: none so it NEVER swallows clicks */
.auth-form-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.auth-modal-canvas.mode-login .auth-view-login {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.auth-modal-canvas.mode-login .auth-view-register {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.auth-modal-canvas.mode-register .auth-view-register {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.auth-modal-canvas.mode-register .auth-view-login {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Enable pointer events ONLY on the actual inputs and buttons inside the form */
.auth-form-view .auth-field-box,
.auth-form-view .auth-text-input,
.auth-form-view .auth-action-btn,
.auth-form-view .auth-footer-link,
.auth-form-view .auth-eye-btn,
.auth-form-view .auth-input-action-btn {
  pointer-events: auto !important;
}

/* Field Boxes & Inputs */
.auth-field-box {
  position: absolute;
  left: 13.19%;
  width: 73.61%;
  box-sizing: border-box;
}

.auth-text-input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 14px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 0 16px;
  outline: none;
  box-sizing: border-box;
  caret-color: #ffd700;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-text-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
  font-weight: 400;
  font-size: 14px;
}

.auth-text-input:focus {
  border-color: rgba(255, 215, 0, 0.75);
  box-shadow: inset 0 0 12px rgba(245, 158, 11, 0.2), 0 0 14px rgba(245, 158, 11, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.auth-text-input.has-eye,
.auth-text-input.has-icon {
  padding-right: 52px;
}

/* Eye Toggle & Icon Buttons inside inputs */
.auth-eye-btn,
.auth-input-action-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 52px;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: transform 0.12s ease, opacity 0.2s ease;
}

.auth-eye-btn:hover,
.auth-input-action-btn:hover {
  opacity: 0.8;
  transform: scale(1.08);
}

.auth-eye-btn:active,
.auth-input-action-btn:active {
  transform: scale(0.92);
}

/* LOGIN INPUT COORDINATES */
.auth-login-email-box {
  top: 42.19%;
  height: 5.66%;
  z-index: 25;
}

.auth-login-password-box {
  top: 52.83%;
  height: 5.66%;
  z-index: 25;
}

.auth-login-submit-btn {
  position: absolute;
  top: 61.23%;
  left: 12.15%;
  width: 76.39%;
  height: 6.93%;
  border-radius: 16px;
  z-index: 35;
}

.auth-login-to-register {
  position: absolute;
  top: 71.5%;
  left: 56.0%;
  width: 25.0%;
  height: 4.0%;
  z-index: 35;
}

/* REGISTER INPUT COORDINATES (4-Slot Luxury Offshore Layout) */
.auth-reg-nome-box {
  top: 40.33%;
  height: 4.88%;
  z-index: 25;
}

.auth-reg-nasc-box {
  top: 49.02%;
  height: 4.88%;
  z-index: 25;
}

.auth-reg-password-box {
  top: 57.52%;
  height: 4.88%;
  z-index: 25;
}

.auth-reg-email-box {
  top: 65.82%;
  height: 4.88%;
  z-index: 25;
}

.auth-reg-submit-btn {
  position: absolute;
  top: 79.88%;
  left: 12.15%;
  width: 76.39%;
  height: 6.05%;
  border-radius: 16px;
  z-index: 35;
}

.auth-reg-to-login {
  position: absolute;
  top: 87.5%;
  left: 52.0%;
  width: 24.0%;
  height: 4.0%;
  z-index: 35;
}

/* Action Buttons (Entrar / Cadastrar) */
.auth-action-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  z-index: 35;
  transition: transform 0.12s ease, filter 0.2s ease;
}

.auth-action-btn:hover {
  filter: brightness(1.12) drop-shadow(0 0 18px rgba(255, 215, 0, 0.75));
  transform: scale(1.02);
}

.auth-action-btn:active {
  transform: scale(0.97);
}

.auth-btn-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-150%) skewX(-20deg);
  animation: authBtnSheen 3.2s infinite ease-in-out;
  pointer-events: none;
}

@keyframes authBtnSheen {
  0%, 25% {
    transform: translateX(-150%) skewX(-20deg);
  }
  50%, 100% {
    transform: translateX(450%) skewX(-20deg);
  }
}

/* Footer Link Buttons */
.auth-footer-link {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  border-radius: 6px;
  transition: background 0.15s ease, transform 0.1s ease;
}

.auth-footer-link:hover {
  background: rgba(255, 215, 0, 0.12);
  transform: scale(1.04);
}

.auth-footer-link:active {
  transform: scale(0.96);
}

/* ==========================================================================
   AUTHENTIC IN-APP FORTUNE TIGER GAME VIEW (Port 3033 Real Slot Machine)
   ========================================================================== */
.game-view {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: #040508;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.99);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.game-view.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

body.game-active {
  overflow: hidden;
}

/* Master Header Console Bar */
.game-view-header {
  height: 52px;
  width: 100%;
  background: linear-gradient(180deg, #161017 0%, #0d0a11 60%, #06070a 100%);
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 235, 160, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 50;
  flex-shrink: 0;
  user-select: none;
}

/* Laser-Aligned Inner Container: 3-column symmetric grid guaranteeing true horizontal center */
.game-header-inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
  box-sizing: border-box;
}

/* Three Columns: Left (Back), Center (Dead-Center Title), Right (Balance + Icons) */
.game-header-col {
  display: flex;
  align-items: center;
}

.game-header-col.col-left {
  justify-self: start;
  flex: 0 0 auto;
  z-index: 3;
}

.game-header-col.col-center {
  justify-self: center;
  position: static;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  white-space: nowrap;
  pointer-events: auto;
}

.game-header-col.col-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

/* 1. Sleek Voltar Button */
.game-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(38, 28, 38, 0.95) 0%, rgba(18, 14, 20, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 999px;
  color: #fff1a0;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 235, 160, 0.18);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-back-btn svg {
  flex-shrink: 0;
  color: #fbbf24;
  transition: transform 0.18s ease;
}

.game-back-btn:hover {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.35) 0%, rgba(180, 83, 9, 0.35) 100%);
  border-color: #ffd700;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
}

.game-back-btn:hover svg {
  transform: translateX(-2px);
  color: #ffffff;
}

.game-back-btn:active {
  transform: scale(0.96);
}

/* 2. Brand Identity Pill (Dead-Centered) */
.game-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.game-live-indicator {
  position: relative;
  width: 8px;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.live-dot-core {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.live-dot-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.6);
  animation: liveRingPing 2s infinite cubic-bezier(0, 0, 0.2, 1);
}

@keyframes liveRingPing {
  0% { transform: scale(0.8); opacity: 0.9; }
  75%, 100% { transform: scale(1.9); opacity: 0; }
}

.game-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(180deg, #ffffff 0%, #ffeaa7 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
}

/* 3. Live Balance Capsule (Right) */
.game-balance-capsule {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 10px;
  background: linear-gradient(180deg, rgba(28, 19, 26, 0.98) 0%, rgba(13, 10, 16, 0.98) 100%);
  border: 1.2px solid rgba(245, 158, 11, 0.55);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 235, 160, 0.2);
  white-space: nowrap;
}

.capsule-coin-icon {
  font-size: 12px;
  line-height: 1;
}

.capsule-val {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Action Icon Buttons (Reload & Fullscreen) */
.game-actions-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.game-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.game-icon-btn:hover {
  background: rgba(245, 158, 11, 0.28);
  border-color: #ffd700;
  color: #ffffff;
  transform: scale(1.05);
}

.game-icon-btn:active {
  transform: scale(0.93);
}

/* Responsive collapse on tight viewports */
@media (max-width: 600px) {
  .game-header-inner {
    padding: 0 10px;
    gap: 8px;
  }
  #btnGameFullscreen {
    display: none;
  }
}

@media (max-width: 480px) {
  .capsule-coin-icon {
    display: none;
  }
  .game-balance-capsule {
    height: 30px;
    padding: 0 8px;
  }
  .capsule-val {
    font-size: 12px;
  }
  .game-brand-title {
    font-size: 13px;
  }
}

@media (max-width: 410px) {
  .game-back-btn .back-text {
    display: none;
  }
  .game-back-btn {
    padding: 0;
    width: 32px;
    height: 32px;
    justify-content: center;
  }
  .game-header-inner {
    padding: 0 8px;
    gap: 4px;
  }
}

/* Slot Canvas Container */
.game-frame-container {
  flex: 1;
  position: relative;
  width: 100%;
  height: calc(100% - 54px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, #2a1103 0%, #0d090d 50%, #030406 100%);
  overflow: hidden;
}

.game-iframe {
  width: 100%;
  height: 100%;
  max-width: 480px;
  max-height: 854px;
  aspect-ratio: 9/16;
  border: none;
  background: #000000;
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.18), 0 20px 80px rgba(0, 0, 0, 0.95);
  border-radius: 14px;
  display: block;
}

@media (max-width: 600px) {
  .game-iframe {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Loading Spinner Overlay */
.game-loader-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, #1b0c03 0%, #08090e 70%, #020305 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.game-loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.game-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
}

.game-loader-tiger-logo {
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.6));
  animation: tigerPulse 2s infinite ease-in-out;
}

@keyframes tigerPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.5)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8)); }
}

.game-loader-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-loader-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(245, 158, 11, 0.2);
  border-top-color: #ffd700;
  border-right-color: #f59e0b;
  border-radius: 50%;
  animation: gameSpin 0.8s linear infinite;
}

@keyframes gameSpin {
  to { transform: rotate(360deg); }
}

.game-loader-text {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.game-loader-sub {
  font-size: 12px;
  color: #fbbf24;
  opacity: 0.85;
}

/* ==========================================================================
   12. OFFSHORE LUXURY WELCOME BONUS POPUP MODAL & FLOATING WIDGET
   ========================================================================== */
.bonus-popup-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 2, 4, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 105;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.bonus-popup-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bonus-popup-dialog {
  width: 100%;
  max-width: 440px;
  position: relative;
  transform: translateY(24px) scale(0.95);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.bonus-popup-backdrop.open .bonus-popup-dialog {
  transform: translateY(0) scale(1);
}

.bonus-popup-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, #2b080e 0%, #150306 65%, #0d0103 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  border-radius: 24px;
  padding: 24px 20px 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.95), 0 0 40px rgba(220, 38, 38, 0.35), inset 0 1px 0 rgba(255, 215, 0, 0.5);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.bonus-popup-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.bonus-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  z-index: 10;
}

.bonus-popup-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ffffff;
  transform: scale(1.08);
}

.bonus-popup-header {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}

.bonus-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), rgba(220, 38, 38, 0.25), rgba(245, 158, 11, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffd700;
  text-transform: uppercase;
  margin-bottom: 8px;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}

.bonus-badge-star {
  color: #ffd700;
  font-size: 11px;
}

.bonus-popup-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(180deg, #ffffff 0%, #ffeaa7 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.4));
  margin: 0 0 4px;
}

.bonus-popup-subtitle {
  font-size: 12.5px;
  font-weight: 700;
  color: #ef4444;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
}

.bonus-popup-hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.bonus-hero-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
}

.bonus-reward-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(180, 83, 9, 0.25));
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 12px;
  color: #fef3c7;
}

.bonus-reward-pill strong {
  color: #fde047;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.bonus-features-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  margin-bottom: 18px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 12px 14px;
}

.bonus-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.feature-text strong {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.feature-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.25;
}

.bonus-popup-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bonus-claim-btn {
  position: relative;
  width: 100%;
  height: 48px;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  border: 1px solid #fef08a;
  border-radius: 14px;
  color: #1a0802;
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition: transform 0.12s ease, filter 0.15s ease;
}

.bonus-claim-btn:hover {
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.1);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.65);
}

.bonus-claim-btn:active {
  transform: scale(0.97);
}

.bonus-btn-sheen {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: bonusSheen 2.5s infinite;
}

@keyframes bonusSheen {
  0% { left: -100%; }
  35%, 100% { left: 200%; }
}

.bonus-explore-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px;
  transition: color 0.15s ease;
}

.bonus-explore-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

.bonus-popup-footer {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.38);
}

/* Floating Bonus Badge on Lobby */
.floating-bonus-widget {
  position: absolute;
  top: 13.5%;
  right: 12px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(180, 83, 9, 0.95) 100%);
  border: 1px solid #fef08a;
  border-radius: 20px;
  padding: 5px 10px 5px 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 14px rgba(245, 158, 11, 0.45);
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  animation: widgetFloat 3s ease-in-out infinite alternate;
}

@keyframes widgetFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.floating-bonus-widget:hover {
  filter: brightness(1.15);
  transform: scale(1.05);
}

.floating-bonus-widget:active {
  transform: scale(0.95);
}

.floating-bonus-icon {
  font-size: 16px;
  line-height: 1;
}

.floating-bonus-label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.f-bonus-top {
  font-size: 9.5px;
  font-weight: 900;
  color: #1a0802;
  letter-spacing: 0.3px;
}

.f-bonus-sub {
  font-size: 8.5px;
  font-weight: 800;
  color: #ffffff;
}

.floating-bonus-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  border: 1.5px solid rgba(254, 240, 138, 0.6);
  animation: widgetPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes widgetPulse {
  0% { transform: scale(0.96); opacity: 0.8; }
  100% { transform: scale(1.14); opacity: 0; }
}

/* =========================================================================
   WALLET BREAKDOWN LUXURY POPOVER (Real vs Bonus Separation)
   ========================================================================= */
.balance-bonus-tag {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 800;
  padding: 1.5px 5px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-left: 6px;
  display: inline-block;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
  animation: bonusBadgeGlow 2.2s infinite ease-in-out;
}

@keyframes bonusBadgeGlow {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); box-shadow: 0 0 12px rgba(245, 158, 11, 0.8); }
}

.wallet-breakdown-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 48px;
  width: 320px;
  background: rgba(18, 9, 13, 0.97);
  backdrop-filter: blur(25px);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: 20px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.95), 0 0 30px rgba(245, 158, 11, 0.15);
  padding: 18px;
  z-index: 65;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.wallet-breakdown-popover.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wallet-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-popover-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wallet-sparkle {
  color: #fbbf24;
}

.wallet-tier-tag {
  font-size: 10px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 7px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.wallet-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.wallet-card-item {
  border-radius: 14px;
  padding: 10px 12px;
  box-sizing: border-box;
}

.real-balance-card {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.3) 0%, rgba(6, 95, 70, 0.15) 100%);
  border: 1.2px solid rgba(16, 185, 129, 0.35);
}

.bonus-balance-card {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.3) 0%, rgba(146, 64, 14, 0.15) 100%);
  border: 1.2px solid rgba(245, 158, 11, 0.35);
}

.wcard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.wcard-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

.indicator-real {
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.indicator-bonus {
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.wcard-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  flex: 1;
}

.wcard-badge-sacar {
  font-size: 9px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 5px;
  border-radius: 4px;
}

.wcard-badge-rollover {
  font-size: 9px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 1px 5px;
  border-radius: 4px;
}

.wcard-value {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.real-balance-card .wcard-value {
  color: #ecfdf5;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.bonus-balance-card .wcard-value {
  color: #fffbeb;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.wcard-desc {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.wallet-rollover-section {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.rollover-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  margin-bottom: 5px;
}

.r-label {
  color: #fbbf24;
  font-weight: 600;
}

.r-progress {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-mono: true;
}

.rollover-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.rollover-bar {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 6px;
  transition: width 0.3s ease;
}

.wallet-total-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.w-tot-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.w-tot-val {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.wallet-popover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-wallet-action {
  padding: 9px 0;
  border-radius: 11px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  transition: transform 0.12s ease, opacity 0.2s ease;
}

.btn-wallet-action:active {
  transform: scale(0.96);
}

.btn-wallet-action.deposit-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-wallet-action.withdraw-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #1a0808;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

/* Profile Modal Wallet Strip */
.profile-wallet-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.p-wallet-box {
  border-radius: 12px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
}

.p-real-box {
  background: rgba(6, 78, 59, 0.25);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.p-bonus-box {
  background: rgba(120, 53, 15, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.p-wallet-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}

.p-wallet-val {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.p-wallet-status {
  font-size: 9px;
  font-weight: 600;
}

.text-emerald { color: #34d399; }
.text-amber { color: #fbbf24; }

/* Saque Real Balance Tag */
.saque-balance-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.saque-real-available-tag {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 800;
  color: #10b981;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}







/* =========================================================================
   HISTÓRICO DE SAQUES DO JOGADOR (painel sobreposto na tela de saque)
   ========================================================================= */
.saque-hist-btn {
  position: absolute;
  top: 3.2%;
  right: 4%;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(234, 179, 8, 0.7);
  background: rgba(14, 9, 13, 0.88);
  color: #ffe08a;
  font: 700 12px 'Outfit', sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
}
.saque-hist-btn:hover { background: rgba(40, 26, 10, 0.95); }
.saque-hist-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #f59e0b;
  color: #1a1206;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.saque-hist-badge[hidden] { display: none; }

.saque-hist-panel {
  position: absolute;
  inset: 9% 4% 4% 4%;
  z-index: 20;
  display: none;
  flex-direction: column;
  background: #0c080b;
  border: 1.5px solid rgba(234, 179, 8, 0.6);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.85);
  color: #f5f0e6;
  font-family: 'Outfit', sans-serif;
  overflow: hidden;
  user-select: text;
}
.saque-hist-panel.open { display: flex; }
.saque-hist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 8px;
  font-size: 17px;
  color: #ffe08a;
}
.saque-hist-head-actions { display: flex; gap: 6px; }
.saque-hist-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(234, 179, 8, 0.45);
  background: transparent;
  color: #ffe08a;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.saque-hist-icon:hover { background: rgba(234, 179, 8, 0.12); }
.saque-hist-filters { display: flex; gap: 6px; padding: 0 16px 8px; flex-wrap: wrap; }
.saque-hist-filters button {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #d6cfc2;
  font: 600 12px 'Outfit', sans-serif;
  cursor: pointer;
}
.saque-hist-filters button.active { border-color: #f59e0b; color: #ffe08a; background: rgba(245, 158, 11, 0.14); }
.saque-hist-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 16px 10px;
}
.saque-hist-summary div {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 6px 8px;
  font-size: 11px;
  color: #a8a094;
}
.saque-hist-summary b { display: block; font-size: 13px; color: #fff; margin-top: 2px; }
.saque-hist-list { flex: 1; overflow-y: auto; padding: 0 12px 14px; }
.saque-hist-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.saque-hist-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.saque-hist-amount { font-size: 16px; font-weight: 800; color: #fff; }
.saque-hist-meta { font-size: 11.5px; color: #a8a094; margin-top: 4px; word-break: break-all; }
.saque-hist-status {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.saque-hist-status.st-completed { background: rgba(16, 185, 129, 0.16); color: #34d399; }
.saque-hist-status.st-rejected { background: rgba(239, 68, 68, 0.16); color: #f87171; }
.saque-hist-status.st-held_risk { background: rgba(168, 85, 247, 0.16); color: #c084fc; }
.saque-hist-status.st-processing { background: rgba(59, 130, 246, 0.16); color: #93c5fd; }
.saque-hist-status.st-pending,
.saque-hist-status.st-pacing_queued { background: rgba(245, 158, 11, 0.16); color: #fbbf24; }
.saque-hist-reason {
  margin-top: 6px;
  font-size: 11.5px;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
  border-radius: 8px;
  padding: 5px 8px;
}
.saque-hist-tx { margin-top: 6px; font-size: 11.5px; }
.saque-hist-tx a { color: #60a5fa; text-decoration: underline; }
.saque-hist-tx code { color: #d6cfc2; font-size: 11px; }
.saque-hist-empty { text-align: center; color: #a8a094; font-size: 13px; padding: 30px 10px; }

/* ===== Promoção com banner (configurada no admin) ===== */
.welcome-banner-img { width: 100%; display: block; border-radius: 16px; margin: 4px 0 8px; box-shadow: 0 8px 24px rgba(0,0,0,.6); }
.welcome-banner-terms { display: none; font-size: 10.5px; line-height: 1.35; color: #fcd9a8; opacity: .85; margin: 0 4px 12px; }
.bonus-popup-card.has-banner { padding-top: 14px; }
.bonus-popup-card.has-banner .welcome-banner-terms { display: block; }
.bonus-popup-card.has-banner .bonus-popup-header,
.bonus-popup-card.has-banner .bonus-popup-hero,
.bonus-popup-card.has-banner .bonus-features-list { display: none; }
.bonus-card-bg.custom-banner { object-fit: cover; object-position: center 42%; }
.deposit-bonus-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 12px 26px;
  background: radial-gradient(circle at 50% 0%, #7a1414 0%, #3a0808 70%); color: #ffd36b; font-weight: 900; font-size: 15px; text-align: center; letter-spacing: .3px; }
.deposit-bonus-optin { position: absolute; left: 6px; right: 6px; bottom: 5px; display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 10px;
  background: rgba(0,0,0,.72); color: #fff; font-size: 10.5px; line-height: 1.2; cursor: pointer; z-index: 3; }
.deposit-bonus-optin input { width: 15px; height: 15px; accent-color: #f59e0b; flex-shrink: 0; }
