/* ==========================================================================
   APOSTABET / PG SOFT MODERN DARK MODE THEME
   ========================================================================== */

:root {
  --bg-main: #070b14;
  --bg-surface: #0f172a;
  --bg-card: #131d31;
  --bg-card-hover: #1c2a45;
  --bg-elevated: #1e293b;
  --bg-glass: rgba(19, 29, 49, 0.75);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(59, 130, 246, 0.5);
  --border-gold: rgba(245, 158, 11, 0.4);

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.35);

  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-gold-glow: rgba(245, 158, 11, 0.4);

  --success: #10b981;
  --success-glow: rgba(16, 185, 129, 0.3);
  --danger: #ef4444;
  --purple: #8b5cf6;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 45%),
    radial-gradient(circle at 100% 20%, rgba(245, 158, 11, 0.04), transparent 40%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #202b3f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* ==========================================================================
   TOP NAVBAR / HEADER
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 17, 30, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.65rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.nav-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.menu-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.menu-toggle-btn:hover {
  color: var(--accent-cyan);
  background: var(--border-subtle);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  cursor: pointer;
}
.brand-logo .logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.8));
}
.brand-logo .logo-text {
  background: linear-gradient(135deg, #38bdf8, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}
.brand-logo .logo-highlight {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}
.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: var(--bg-card);
}
.nav-link.active {
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.nav-center {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.search-box input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}
.search-box input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 12px var(--primary-glow);
  background: var(--bg-surface);
}
.search-box .search-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  pointer-events: none;
}
.search-box .search-clear {
  position: absolute;
  right: 0.8rem;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.85rem;
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Balance Box */
.balance-pill {
  background: rgba(19, 29, 49, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.1);
  cursor: pointer;
  transition: var(--transition-fast);
}
.balance-pill:hover {
  border-color: var(--success);
  transform: translateY(-1px);
}
.balance-pill .coin-icon {
  font-size: 1.1rem;
}
.balance-pill .balance-info {
  display: flex;
  flex-direction: column;
}
.balance-pill .balance-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.balance-pill .balance-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--success);
}
.balance-eye-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.85rem;
}
.balance-eye-btn:hover {
  color: #fff;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-deposit {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #0b0f19;
  font-weight: 800;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}
.btn-deposit:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-icon-only {
  padding: 0.55rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}
.btn-icon-only:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* User Avatar Dropdown */
.user-menu-wrapper {
  position: relative;
}
/* Mobile 3-Dots Menu Button */
.mobile-dots-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
  padding: 0;
  line-height: 1;
}
.mobile-dots-btn:hover, .mobile-dots-btn:active {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.user-avatar-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.user-avatar-btn:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 260px;
  background: #0f172a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  display: none;
  flex-direction: column;
  z-index: 110;
  animation: fadeInDown 0.2s ease;
}
.user-dropdown.show {
  display: flex;
}

.dropdown-header {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.4rem;
}
.dropdown-header .user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.dropdown-header .user-badge {
  font-size: 0.72rem;
  color: var(--accent-gold);
  display: inline-block;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-top: 0.25rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}
.dropdown-item:hover {
  background: var(--bg-card);
  color: #fff;
}
.dropdown-item.danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}
.dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.4rem 0;
}

/* ==========================================================================
   CATEGORY SUB-HEADER / SCROLLER (EXPANDED SPACIOUS ORBS)
   ========================================================================== */

.category-bar-wrapper {
  background: rgba(11, 17, 30, 0.4);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
  position: relative;
  transition: var(--transition-base);
}

.category-bar {
  display: flex;
  gap: 1.6rem;
  overflow-x: auto;
  scrollbar-width: none;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 0.25rem;
}
.category-bar::-webkit-scrollbar {
  display: none;
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
  transition: var(--transition-fast);
  padding: 0.25rem 0.5rem;
}
.cat-icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #131c2e;
  border: 2px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  transition: var(--transition-smooth);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.cat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
  letter-spacing: 0.3px;
}

.cat-item:hover .cat-icon-circle {
  transform: translateY(-4px) scale(1.08);
  border-color: rgba(56, 189, 248, 0.6);
  background: #1a253c;
  box-shadow: 0 10px 22px rgba(6, 182, 212, 0.3);
}
.cat-item:hover .cat-label {
  color: #fff;
}

.cat-item.active .cat-icon-circle {
  border-color: var(--accent-cyan);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(37, 99, 235, 0.35));
  box-shadow: 0 0 22px rgba(6, 182, 212, 0.6), inset 0 0 12px rgba(6, 182, 212, 0.3);
  transform: translateY(-3px) scale(1.05);
}
.cat-item.active .cat-label {
  color: var(--accent-cyan);
  font-weight: 800;
}

/* ==========================================================================
   MAIN CONTAINER & HERO CAROUSEL
   ========================================================================== */

.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Carousel */
.hero-carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  background: #0f172a;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  height: 240px;
}

.carousel-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 2.5rem 3.5rem;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.35;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(90deg, #070b14 25%, rgba(7, 11, 20, 0.8) 50%, transparent 100%);
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
}
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.slide-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.slide-title .gradient-text {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.slide-title .gold-text {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.slide-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.carousel-btn:hover {
  background: var(--bg-card);
  border-color: #fff;
}
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}
.carousel-dot.active {
  width: 24px;
  background: var(--accent-cyan);
}

/* ==========================================================================
   JACKPOT BANNER CARD (PERFECT HORIZONTAL & VERTICAL ALIGNMENT)
   ========================================================================== */
.jackpot-banner-card {
  background: radial-gradient(circle at 50% 30%, #78350f 0%, #1e1b4b 65%, #0b0f19 100%);
  border: 2px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.25), inset 0 0 20px rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.jackpot-flair-left,
.jackpot-flair-right {
  font-size: 2.6rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.6));
  animation: flairFloat 3s infinite ease-in-out;
  user-select: none;
}
.jackpot-flair-right {
  animation-delay: 1.5s;
}

.jackpot-center-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 0.75rem;
}

.jackpot-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
  text-transform: uppercase;
}

.jackpot-amount-val {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #ffffff 30%, #fde047 70%, #ca8a04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
  margin: 0.25rem 0;
  font-family: inherit;
}

.jackpot-live-tag {
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.6);
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  animation: pulseLive 2s infinite ease-in-out;
}

@keyframes flairFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(4deg); }
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* ==========================================================================
   REAL-TIME WINS & WITHDRAWALS NOTICE TICKER (CLEAN SINGLE-LINE, NO OVERLAP)
   ========================================================================== */
.notice-ticker-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(19, 29, 49, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 0.65rem 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.notice-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notice-marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
}

#liveWinsTickerText {
  display: block;
  font-size: 0.88rem;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  line-height: 24px;
}

.notice-mail {
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.notice-mail:hover {
  transform: scale(1.15);
}

/* ==========================================================================
   POPULAR LEAGUES (SPORTS BAR)
   ========================================================================== */

.leagues-wrapper {
  margin-bottom: 2.2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.section-badge {
  font-size: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}
.section-see-all {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.section-see-all:hover {
  text-decoration: underline;
}

.leagues-scroll {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.leagues-scroll::-webkit-scrollbar {
  display: none;
}

.league-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.65rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
}
.league-pill:hover, .league-pill.active {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}
.league-pill.active {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* ==========================================================================
   GAME GRID & CARDS (APOSTABET / PG SOFT STYLE)
   ========================================================================== */

.game-section {
  margin-bottom: 2.8rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 1.4rem;
  }
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-glow);
}

.game-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #182235, #0d1424);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.game-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.game-card:hover .game-thumb-img {
  transform: scale(1.1);
}

.game-badge-rtp {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  z-index: 5;
}

.game-badge-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}
.game-badge-tag.hot {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}
.game-badge-tag.new {
  background: linear-gradient(135deg, #10b981, #059669);
}

.game-card-footer {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  background: #111a2c;
  border-top: 1px solid var(--border-subtle);
}

.game-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.15rem;
}

.game-provider {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.btn-play-now {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  padding: 0.45rem 0;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}
.game-card:hover .btn-play-now {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #0b0f19;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

/* ==========================================================================
   SPORTS MATCH CARDS
   ========================================================================== */

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: var(--transition-fast);
}
.match-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.match-live-tag {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: var(--danger);
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.match-teams {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.match-team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}
.team-score {
  color: var(--accent-gold);
  font-weight: 800;
}

.odds-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}
.odd-btn {
  background: #101828;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.odd-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
}
.odd-btn.selected {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(37, 99, 235, 0.3));
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
}
.odd-type {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.odd-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* ==========================================================================
   ADMIN PANEL VIEW
   ========================================================================== */

.admin-wrapper {
  display: none;
  min-height: 85vh;
}
.admin-wrapper.active {
  display: flex;
  gap: 1.5rem;
}

.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: fit-content;
  position: sticky;
  top: 80px;
}

.admin-sidebar-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  padding: 0 0.75rem 0.5rem;
  font-weight: 800;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.admin-nav-item:hover {
  background: var(--bg-card-hover);
  color: #fff;
}
.admin-nav-item.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.15));
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.admin-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-tab {
  display: none;
}
.admin-tab.active {
  display: block;
}

/* Metric Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}
.metric-card.gold::before { background: var(--accent-gold); }
.metric-card.green::before { background: var(--success); }
.metric-card.purple::before { background: var(--purple); }

.metric-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.metric-val {
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
}
.metric-sub {
  font-size: 0.75rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Admin Tables */
.table-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table-header-box {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.admin-table th {
  background: #0f1828;
  padding: 0.85rem 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
}
.admin-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Range sliders & switch toggles */
.rtp-slider-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rtp-slider {
  flex: 1;
  accent-color: var(--accent-gold);
  cursor: pointer;
}
.rtp-value-badge {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-md);
  min-width: 55px;
  text-align: center;
}

/* Modern iOS / Tailwind Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 32px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1a2438;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: #94a3b8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.toggle-switch input:checked + .toggle-slider {
  background-color: #10b981;
  border-color: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(26px);
  background-color: #ffffff;
}

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.show {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-box {
  background: #0f172a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 1.1rem 1.4rem;
  background: #111a2d;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}
.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 1.4rem;
}

/* GAME PLAYER MODAL (PORTRAIT / RESPONSIVE) */
.game-player-modal .modal-box {
  max-width: 480px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.3);
}
.game-player-modal.expanded .modal-box {
  max-width: 1000px;
}
.game-iframe-container {
  flex: 1;
  width: 100%;
  background: #000;
  position: relative;
}
.game-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Quick deposit buttons in modal */
.amount-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1rem 0;
}
.amount-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.amount-chip:hover, .amount-chip.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(234, 88, 12, 0.2));
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.pix-qr-box {
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto;
  width: 180px;
  height: 180px;
}

.copy-input-box {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.copy-input-box input {
  flex: 1;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.9rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: monospace;
}

/* Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}
.form-input {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}
.form-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.toast {
  background: #111a2d;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--success);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideInRight 0.3s ease;
}
.toast.danger {
  border-left-color: var(--danger);
}

/* ==========================================================================
   LOCKED CATEGORIES & BADGES
   ========================================================================== */
.cat-item.cat-locked {
  position: relative;
  opacity: 0.75;
}
.cat-item.cat-locked .lock-mini-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   JACKPOT BANNER & NEWS TICKER (ESTILO TERNO777)
   ========================================================================== */
.jackpot-banner-card {
  background: linear-gradient(135deg, #7c1a0e 0%, #d92414 40%, #8a0c02 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  box-shadow: 0 0 25px rgba(234, 88, 12, 0.4), inset 0 0 15px rgba(245, 158, 11, 0.3);
  position: relative;
  overflow: hidden;
}
.jackpot-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
  animation: jackpotShine 4s infinite linear;
}
@keyframes jackpotShine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.jackpot-flair-left, .jackpot-flair-right {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.8));
  animation: bouncePulse 2s infinite ease-in-out;
}
@keyframes bouncePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.jackpot-center-info {
  text-align: center;
  z-index: 2;
}
.jackpot-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: #fef08a;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.jackpot-amount-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 15px #fbbf24, 0 4px 10px rgba(0, 0, 0, 0.9);
  font-family: 'Plus Jakarta Sans', monospace, sans-serif;
  letter-spacing: 1px;
  margin: 0.2rem 0;
}
.jackpot-live-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fef08a;
  background: rgba(0, 0, 0, 0.4);
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.5);
}

/* Notice Ticker Bar */
.notice-ticker-bar {
  background: rgba(19, 29, 49, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  overflow: hidden;
}
.notice-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.notice-marquee {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  height: 24px;
  display: flex;
  align-items: center;
}
.notice-mail {
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.notice-mail:hover {
  transform: scale(1.2);
}

/* ==========================================================================
   FLOATING INSTAGRAM BUTTON
   ========================================================================== */
.floating-insta-btn {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(214, 36, 159, 0.5);
  z-index: 990;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: floatingPulse 3s infinite ease-in-out;
}
.floating-insta-btn:hover {
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 12px 30px rgba(214, 36, 159, 0.7);
}
.insta-svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
@keyframes floatingPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.04); }
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION (ESTILO TERNO777)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(13, 20, 36, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  flex: 1;
  height: 100%;
  transition: var(--transition-fast);
  position: relative;
}
.bottom-nav-item:hover, .bottom-nav-item.active {
  color: #fbbf24;
}
.bottom-nav-item.active .bottom-nav-label {
  color: #fbbf24;
  font-weight: 800;
}
.bottom-nav-icon {
  font-size: 1.35rem;
  line-height: 1;
}
.bottom-nav-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.bottom-nav-deposit {
  position: relative;
}
.deposit-orb-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.6);
  border: 2px solid #fef08a;
  margin-top: -14px;
  transition: var(--transition-fast);
}
.deposit-orb-btn .bottom-nav-icon {
  font-size: 1.4rem;
}
.deposit-orb-btn:hover {
  transform: scale(1.1);
}

/* Promo Card in Modal */
.promo-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
}
.promo-card-item h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0.4rem 0;
}
.promo-card-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}
.promo-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
/* ==========================================================================
   FLOATING MULTI-WIDGET (INSTAGRAM, TELEGRAM, POTE DE OURO COM SLIDE)
   ========================================================================== */
.floating-multi-widget {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 56px;
  height: 56px;
  z-index: 990;
}
.floating-widget-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.6) translateY(20px);
  text-decoration: none;
}
.floating-widget-item.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}
.floating-widget-item:hover {
  transform: scale(1.12);
}
.floating-widget-item.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  box-shadow: 0 8px 24px rgba(214, 36, 159, 0.5);
}
.floating-widget-item.telegram {
  background: linear-gradient(135deg, #229ED9, #0088cc);
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.5);
}
.floating-widget-item.goldpot {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.6);
  border-color: #fef08a;
  animation: floatingPulse 2.5s infinite ease-in-out;
}
.floating-widget-icon {
  font-size: 1.65rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.status-pill.pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.status-pill.completed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.status-pill.rejected {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVENESS
   ========================================================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR (ESTILO TERNO777.COM)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 64px;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: space-around;
  z-index: 9999;
  padding: 0 0.5rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.6);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.bottom-nav-item .bottom-nav-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 2px;
  transition: transform 0.2s ease;
}

.bottom-nav-item .bottom-nav-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--accent-cyan);
}

.bottom-nav-item.active .bottom-nav-icon {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px var(--accent-cyan));
}

.bottom-nav-item.bottom-nav-deposit {
  position: relative;
  top: -14px;
}

.deposit-orb-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border: 3px solid #0f172a;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  animation: depositPulse 2.2s infinite ease-in-out;
}

.deposit-orb-btn:active {
  transform: scale(0.92);
}

.bottom-nav-deposit .bottom-nav-icon {
  font-size: 1.45rem;
  margin-bottom: 0;
}

.bottom-nav-deposit .bottom-nav-label {
  margin-top: 3px;
  color: var(--accent-gold);
  font-weight: 800;
}

@keyframes depositPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(245, 158, 11, 0.55); transform: translateY(0); }
  50% { box-shadow: 0 6px 24px rgba(245, 158, 11, 0.85); transform: translateY(-4px); }
}

@media (max-width: 900px) {
  .nav-center {
    display: none !important;
  }
  .navbar {
    padding: 0.55rem 0.85rem !important;
  }
  .hero-carousel {
    height: auto !important;
    min-height: 220px !important;
  }
  .carousel-slide {
    padding: 1.5rem 1.25rem 2.8rem 1.25rem !important;
  }
  .slide-title {
    font-size: 1.35rem !important;
    margin-bottom: 0.4rem !important;
  }
  .slide-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.85rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .carousel-dots {
    bottom: 0.65rem !important;
  }
  .admin-wrapper.active {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    position: static;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 80px !important;
  }
  
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 62px !important;
    background: rgba(11, 17, 30, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 99999 !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.75) !important;
    box-sizing: border-box !important;
  }
  
  /* Mobile Header Adjustments */
  .navbar {
    padding: 0.45rem 0.65rem !important;
    gap: 0.35rem !important;
  }
  .brand-logo {
    font-size: 1.1rem !important;
  }
  .nav-right {
    gap: 0.35rem !important;
  }
  
  /* Compact Balance & Header on Mobile */
  .balance-pill {
    padding: 0.3rem 0.55rem !important;
    gap: 0.25rem !important;
  }
  .balance-pill .coin-icon {
    display: none !important;
  }
  .balance-pill .balance-label {
    display: none !important;
  }
  .balance-pill .balance-val {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
  }
  .balance-eye-btn {
    display: none !important;
  }
  .btn-deposit {
    padding: 0.38rem 0.65rem !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
  }
  .user-avatar-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.95rem !important;
  }
  
  .floating-multi-widget {
    bottom: 76px !important;
    right: 12px !important;
    width: 48px !important;
    height: 48px !important;
  }
  .jackpot-amount-val {
    font-size: 1.45rem !important;
  }
  .jackpot-flair-left, .jackpot-flair-right {
    font-size: 1.8rem !important;
  }
}
