/**
 * CoinRush React Navbar Styles
 * Matches the existing navbar.html design
 */

/* ============================================
   NAVBAR CONTAINER
   ============================================ */
.jackpot-topnav {
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.98) 0%, rgba(13, 17, 23, 0.95) 100%);
  border-bottom: 1px solid #21262d;
  backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
}

/* ============================================
   LEFT SIDE
   ============================================ */
.topnav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.topnav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.topnav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4fffb0 0%, #2dd490 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #0d1117;
  letter-spacing: -0.5px;
}

.topnav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.topnav-logo-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #4fffb0;
}

.topnav-logo-subtitle {
  font-size: 10px;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Live Badge */
.topnav-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #8b949e;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.topnav-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f85149;
}

.topnav-live.connected .topnav-live-dot {
  background: #4fffb0;
  box-shadow: 0 0 8px #4fffb0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   GAMES DROPDOWN
   ============================================ */
.nav-dropdown {
  position: relative;
  margin-left: 0.5rem;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  font-family: inherit;
}

.nav-dropdown-trigger:hover {
  color: #4fffb0;
  background: rgba(79, 255, 176, 0.06);
}

.nav-dropdown-trigger.is-active {
  color: #4fffb0;
}

.dropdown-chevron {
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.15s ease;
}

.nav-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #0d1117;
  border: 1px solid #21262d;
  border-radius: 12px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  transform: translateY(-8px);
  z-index: 1000;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-separator {
  height: 1px;
  background: #21262d;
  margin: 6px 0;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #c9d1d9;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.12s ease, color 0.12s ease;
}

.nav-dropdown-item:hover {
  background: #161b22;
  color: #fff;
}

.nav-dropdown-item.is-active {
  background: rgba(79, 255, 176, 0.08);
  color: #4fffb0;
}

.nav-dropdown-item.premium.is-active {
  background: rgba(251, 191, 36, 0.08);
  color: #fbbf24;
}

/* Simple colored dot for games */
.dropdown-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Game Icons (legacy) */
.dropdown-item-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.dropdown-item-icon-wrap svg {
  width: 18px;
  height: 18px;
}

.nav-dropdown-item:hover .dropdown-item-icon-wrap {
  transform: scale(1.1);
}

.dropdown-item-name {
  flex: 1;
}

.dropdown-item-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

/* ============================================
   RIGHT SIDE
   ============================================ */
.topnav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

/* Help Buttons */
.topnav-help-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #8b949e;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.topnav-help-btn:hover {
  transform: translateY(-1px);
}

.topnav-help-btn svg {
  flex-shrink: 0;
}

/* Hall of Fame Button - Golden Trophy */
.hof-btn {
  color: #f59e0b !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(234, 179, 8, 0.08)) !important;
  transition: all 0.3s ease;
}

.hof-btn:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(234, 179, 8, 0.15)) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35), inset 0 0 20px rgba(245, 158, 11, 0.1);
}

/* Hall of Fame Active State - Shining & Larger */
.hof-btn.is-active {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(234, 179, 8, 0.25)) !important;
  border-color: rgba(245, 158, 11, 0.8) !important;
  box-shadow: 
    0 0 20px rgba(245, 158, 11, 0.5),
    0 0 40px rgba(245, 158, 11, 0.25),
    inset 0 0 15px rgba(245, 158, 11, 0.15);
  animation: hof-glow-pulse 2s ease-in-out infinite;
}

.hof-btn.is-active svg {
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
}

@keyframes hof-glow-pulse {
  0%, 100% { 
    box-shadow: 
      0 0 20px rgba(245, 158, 11, 0.5),
      0 0 40px rgba(245, 158, 11, 0.25),
      inset 0 0 15px rgba(245, 158, 11, 0.15);
  }
  50% { 
    box-shadow: 
      0 0 25px rgba(245, 158, 11, 0.65),
      0 0 50px rgba(245, 158, 11, 0.35),
      inset 0 0 20px rgba(245, 158, 11, 0.2);
  }
}

.hof-btn svg {
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.5));
}

/* Lottery Button - Green Ticket */
.lottery-btn {
  color: #22c55e !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08)) !important;
  transition: all 0.3s ease;
}

.lottery-btn:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.15)) !important;
  border-color: rgba(34, 197, 94, 0.6) !important;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.35), inset 0 0 20px rgba(34, 197, 94, 0.1);
}

/* Lottery Active State - Shining & Larger */
.lottery-btn.is-active {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.35), rgba(34, 197, 94, 0.25)) !important;
  border-color: rgba(34, 197, 94, 0.8) !important;
  box-shadow: 
    0 0 20px rgba(34, 197, 94, 0.5),
    0 0 40px rgba(34, 197, 94, 0.25),
    inset 0 0 15px rgba(34, 197, 94, 0.15);
  animation: lottery-glow-pulse 2s ease-in-out infinite;
}

.lottery-btn.is-active svg {
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.8));
}

@keyframes lottery-glow-pulse {
  0%, 100% { 
    box-shadow: 
      0 0 20px rgba(34, 197, 94, 0.5),
      0 0 40px rgba(34, 197, 94, 0.25),
      inset 0 0 15px rgba(34, 197, 94, 0.15);
  }
  50% { 
    box-shadow: 
      0 0 25px rgba(34, 197, 94, 0.65),
      0 0 50px rgba(34, 197, 94, 0.35),
      inset 0 0 20px rgba(34, 197, 94, 0.2);
  }
}

.lottery-btn svg {
  filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.5));
}

/* Missions Button - Purple Star */
.missions-btn {
  color: #a855f7 !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.08)) !important;
  transition: all 0.3s ease;
}

.missions-btn:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(168, 85, 247, 0.15)) !important;
  border-color: rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35), inset 0 0 20px rgba(168, 85, 247, 0.1);
}

/* Missions Active State - Shining & Larger */
.missions-btn.is-active {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(168, 85, 247, 0.25)) !important;
  border-color: rgba(168, 85, 247, 0.8) !important;
  box-shadow: 
    0 0 20px rgba(168, 85, 247, 0.5),
    0 0 40px rgba(168, 85, 247, 0.25),
    inset 0 0 15px rgba(168, 85, 247, 0.15);
  animation: missions-glow-pulse 2s ease-in-out infinite;
}

.missions-btn.is-active svg {
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.8));
}

@keyframes missions-glow-pulse {
  0%, 100% { 
    box-shadow: 
      0 0 20px rgba(168, 85, 247, 0.5),
      0 0 40px rgba(168, 85, 247, 0.25),
      inset 0 0 15px rgba(168, 85, 247, 0.15);
  }
  50% { 
    box-shadow: 
      0 0 25px rgba(168, 85, 247, 0.65),
      0 0 50px rgba(168, 85, 247, 0.35),
      inset 0 0 20px rgba(168, 85, 247, 0.2);
  }
}

.missions-btn svg {
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.5));
}

/* Mission Count Badge - Clean integrated design */
.mission-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #a855f7;
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.3px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  z-index: 5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Mission Badge Pulse Animation */
.mission-badge.pulse {
  animation: mission-badge-pulse 1.2s ease-in-out infinite;
}

@keyframes mission-badge-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.6);
  }
}

/* Make missions button position relative for badge */
.missions-btn {
  position: relative;
}

/* Mission button pulse glow effect */
.missions-btn.mission-pulse {
  animation: mission-btn-glow 2s ease-in-out infinite;
}

@keyframes mission-btn-glow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
  }
  50% {
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.5), 0 0 24px rgba(168, 85, 247, 0.2);
  }
}

/* Daily Rewards Button - Purple/Pink Gift */
.daily-btn {
  color: #a855f7 !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.08)) !important;
}

.daily-btn:hover {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.15)) !important;
  border-color: rgba(168, 85, 247, 0.6) !important;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35), inset 0 0 20px rgba(168, 85, 247, 0.1);
}

.daily-btn svg {
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.5));
}

/* Rules Button - Blue Book */
.rules-btn {
  color: #3b82f6 !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08)) !important;
}

.rules-btn:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.15)) !important;
  border-color: rgba(59, 130, 246, 0.6) !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.35), inset 0 0 20px rgba(59, 130, 246, 0.1);
}

.rules-btn svg {
  filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.5));
}

/* ============================================
   USER CARD
   ============================================ */
.topnav-auth {
  margin-left: 8px;
  display: flex;
  align-items: center;
  height: 100%;
}

.jackpot-player-card-container {
  position: relative;
  display: flex;
  align-items: center;
}

.jackpot-player-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 10px 3px 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 180px;
  height: 56px;
}

.jackpot-player-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.player-core {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

/* Avatar with PNG Border Frame */
.player-avatar-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-avatar-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: white;
  z-index: 1;
}

.player-avatar-border {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

/* Border glow effects by tier */
.player-avatar-wrapper.border-bronze .player-avatar-inner {
  box-shadow: 0 0 8px rgba(205, 127, 50, 0.4);
}

.player-avatar-wrapper.border-silver .player-avatar-inner {
  box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.player-avatar-wrapper.border-gold .player-avatar-inner {
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.player-avatar-wrapper.border-diamond .player-avatar-inner {
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.5);
}

.player-avatar-wrapper.border-ruby .player-avatar-inner {
  box-shadow: 0 0 16px rgba(255, 0, 100, 0.5);
}

.player-avatar-wrapper.border-challenger .player-avatar-inner {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
  animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.6); }
  50% { box-shadow: 0 0 30px rgba(168, 85, 247, 0.8); }
}

/* Legacy avatar styles (fallback) */
.player-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
  border: 2px solid transparent;
}

/* Avatar borders by level (legacy) */
.player-avatar.border-bronze { border-color: #cd7f32; }
.player-avatar.border-silver { border-color: #c0c0c0; }
.player-avatar.border-gold { border-color: #ffd700; }
.player-avatar.border-diamond { border-color: #00e5ff; }
.player-avatar.border-ruby { border-color: #ff0064; }
.player-avatar.border-challenger { 
  border-color: #a855f7;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.player-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.player-name {
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-balance {
  display: flex;
  align-items: center;
  gap: 4px;
}

.balance-value {
  font-size: 13px;
  font-weight: 700;
  color: #4fffb0;
}

.free-battles-chip {
  font-size: 8px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  text-transform: uppercase;
}

.coin-logo {
  height: 16px;
  width: auto;
  opacity: 0.7;
}

.level-progress-label {
  font-size: 9px;
  color: #8b949e;
}

.level-progress-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 1px;
}

.level-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4fffb0, #3dd9a0);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.player-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.level-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(107, 114, 128, 0.15);
  color: #6b7280;
}

.level-badge.level-bronze { 
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(184, 134, 11, 0.15)); 
  color: #cd7f32; 
}
.level-badge.level-silver { 
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(169, 169, 169, 0.15)); 
  color: #c0c0c0; 
}
.level-badge.level-gold { 
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(218, 165, 32, 0.15)); 
  color: #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}
.level-badge.level-diamond { 
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(103, 232, 249, 0.15)); 
  color: #00e5ff;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}
.level-badge.level-ruby { 
  background: linear-gradient(135deg, rgba(255, 0, 100, 0.2), rgba(255, 0, 80, 0.15)); 
  color: #ff0064;
  box-shadow: 0 0 10px rgba(255, 0, 100, 0.3);
}
.level-badge.level-challenger { 
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.2)); 
  color: #a855f7;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 12px rgba(168, 85, 247, 0.4); }
  50% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.6); }
}

.dropdown-arrow {
  color: #8b949e;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
}

.dropdown-arrow.open {
  transform: rotate(180deg);
}

/* ============================================
   USER DROPDOWN MENU
   ============================================ */
.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: #0d1117;
  border: 1px solid #21262d;
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1001;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.user-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 12px;
}

.dropdown-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Dropdown Avatar with PNG Border */
.dropdown-avatar-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-avatar-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  z-index: 1;
}

.dropdown-avatar-border {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

/* Legacy dropdown avatar styles */
.dropdown-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: white;
  border: 2px solid transparent;
}

.dropdown-avatar.border-bronze { border-color: #cd7f32; }
.dropdown-avatar.border-silver { border-color: #c0c0c0; }
.dropdown-avatar.border-gold { border-color: #ffd700; }
.dropdown-avatar.border-diamond { border-color: #00e5ff; }
.dropdown-avatar.border-ruby { border-color: #ff0064; }
.dropdown-avatar.border-challenger { border-color: #a855f7; box-shadow: 0 0 12px rgba(168, 85, 247, 0.4); }

.dropdown-username {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}

.dropdown-balance {
  font-size: 13px;
  color: #4fffb0;
  font-weight: 600;
}

.dropdown-divider {
  height: 1px;
  background: #21262d;
  margin: 8px 0;
}

.dropdown-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #c9d1d9;
  transition: all 0.15s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  text-align: left;
}

.dropdown-option:hover {
  background: #161b22;
  color: #fff;
}

.option-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-icon svg {
  width: 18px;
  height: 18px;
}

.deposit-icon { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.withdraw-icon { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.profile-icon { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.logout-icon { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.option-title {
  font-weight: 500;
}

.logout-option:hover {
  background: rgba(239, 68, 68, 0.1);
}

.logout-option .option-title {
  color: #f85149;
}

/* ============================================
   AUTH BUTTONS (Logged Out)
   ============================================ */
.auth-buttons {
  display: flex;
  gap: 10px;
}

.auth-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
}

.login-btn {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.register-btn {
  background: linear-gradient(135deg, #4fffb0 0%, #3dd9a0 100%);
  color: #0d1117;
}

.register-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(79, 255, 176, 0.3);
}

/* ============================================
   BALANCE ANIMATION
   ============================================ */
.balance-value.balance-flash {
  animation: balance-glow 2s ease-out;
}

@keyframes balance-glow {
  0% {
    color: #fbbf24;
    text-shadow: 0 0 20px #fbbf24, 0 0 40px #fbbf24;
    transform: scale(1.15);
  }
  50% {
    color: #4fffb0;
    text-shadow: 0 0 15px #4fffb0;
    transform: scale(1.08);
  }
  100% {
    color: #4fffb0;
    text-shadow: none;
    transform: scale(1);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .topnav-help-btn span {
    display: none;
  }
  
  .topnav-help-btn {
    padding: 8px;
  }
}

@media (max-width: 900px) {
  .topnav-inner {
    padding: 0 16px;
  }
  
  .topnav-left {
    gap: 0.75rem;
  }
  
  .topnav-logo-text {
    display: none;
  }
  
  .topnav-live span:not(.topnav-live-dot) {
    display: none;
  }
  
  .jackpot-player-card {
    min-width: auto;
  }
  
  .player-info .level-progress-label,
  .player-info .level-progress-bar {
    display: none;
  }
}

@media (max-width: 600px) {
  .hof-btn,
  .lottery-btn,
  .missions-btn {
    display: none;
  }
  
  .player-actions .level-badge {
    display: none;
  }
}

/* ============================================
   ACTIVE BONUS FLAME INDICATOR
   ============================================ */
.jackpot-player-card-container {
  position: relative;
}

.active-bonus-indicator {
  position: absolute;
  top: 4px;
  right: -12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease;
}

.active-bonus-indicator:hover {
  transform: scale(1.1);
}

.bonus-flame-wrapper {
  position: relative;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus-flame-svg {
  width: 22px;
  height: 22px;
  color: #ff6b35;
  filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.8));
  animation: flameDance 0.8s ease-in-out infinite alternate;
}

.bonus-flame-glow {
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: flameGlow 1.2s ease-in-out infinite alternate;
}

.bonus-countdown {
  font-size: 8px;
  font-weight: 700;
  color: #ff6b35;
  background: rgba(13, 17, 23, 0.95);
  padding: 2px 5px;
  border-radius: 6px;
  border: 1px solid rgba(255, 107, 53, 0.4);
  white-space: nowrap;
  margin-top: 2px;
  text-shadow: 0 0 6px rgba(255, 107, 53, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@keyframes flameDance {
  0% {
    transform: scale(1) rotate(-3deg);
    filter: drop-shadow(0 0 6px rgba(255, 107, 53, 0.7));
  }
  50% {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 0 12px rgba(255, 140, 0, 0.9));
  }
  100% {
    transform: scale(1.05) rotate(-2deg);
    filter: drop-shadow(0 0 10px rgba(255, 80, 30, 0.8));
  }
}

@keyframes flameGlow {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .active-bonus-indicator {
    top: 2px;
    right: -10px;
  }
  
  .bonus-flame-wrapper {
    width: 20px;
    height: 20px;
  }
  
  .bonus-flame-svg {
    width: 16px;
    height: 16px;
  }
  
  .bonus-countdown {
    font-size: 7px;
    padding: 1px 4px;
  }
}

/* ============================================
   NEON PINK THEME (Slice n' Dice page only)
   ============================================ */
.jackpot-topnav.theme-neon-pink {
  background: linear-gradient(180deg, rgba(15, 10, 20, 0.98) 0%, rgba(20, 12, 25, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 45, 146, 0.3);
  box-shadow: 0 0 30px rgba(255, 45, 146, 0.1);
}

/* Logo - Pink neon */
.jackpot-topnav.theme-neon-pink .topnav-logo-icon {
  background: linear-gradient(135deg, #ff2d92 0%, #b44aff 100%);
  box-shadow: 0 0 20px rgba(255, 45, 146, 0.5);
}

.jackpot-topnav.theme-neon-pink .topnav-logo-title {
  color: #ff2d92;
  text-shadow: 0 0 20px rgba(255, 45, 146, 0.5);
}

/* Live badge - Pink */
.jackpot-topnav.theme-neon-pink .topnav-live {
  background: rgba(255, 45, 146, 0.1);
  border-color: rgba(255, 45, 146, 0.2);
}

.jackpot-topnav.theme-neon-pink .topnav-live.connected .topnav-live-dot {
  background: #ff2d92;
  box-shadow: 0 0 10px rgba(255, 45, 146, 0.8);
}

/* Games dropdown trigger - Pink active state */
.jackpot-topnav.theme-neon-pink .nav-dropdown-trigger.is-active {
  color: #ff2d92;
  text-shadow: 0 0 15px rgba(255, 45, 146, 0.5);
}

.jackpot-topnav.theme-neon-pink .nav-dropdown-trigger:hover {
  color: #ff6eb4;
}

/* Dropdown menu - Pink theme */
.jackpot-topnav.theme-neon-pink .nav-dropdown-menu {
  background: linear-gradient(180deg, rgba(20, 15, 28, 0.98) 0%, rgba(15, 10, 22, 0.99) 100%);
  border: 1px solid rgba(255, 45, 146, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 45, 146, 0.15);
}

.jackpot-topnav.theme-neon-pink .nav-dropdown-item:hover {
  background: rgba(255, 45, 146, 0.15);
}

.jackpot-topnav.theme-neon-pink .nav-dropdown-item.is-active {
  background: linear-gradient(90deg, rgba(255, 45, 146, 0.2) 0%, transparent 100%);
  border-left: 3px solid #ff2d92;
}

.jackpot-topnav.theme-neon-pink .nav-dropdown-item.is-active .nav-game-name {
  color: #ff2d92;
}

/* Balance display - Pink accents */
.jackpot-topnav.theme-neon-pink .balance-display {
  background: linear-gradient(145deg, rgba(255, 45, 146, 0.1), rgba(180, 74, 255, 0.08));
  border: 1px solid rgba(255, 45, 146, 0.25);
}

.jackpot-topnav.theme-neon-pink .balance-amount {
  color: #00f5ff;
  text-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

/* Deposit button - Pink gradient */
.jackpot-topnav.theme-neon-pink .topnav-deposit-btn {
  background: linear-gradient(135deg, #ff2d92 0%, #b44aff 100%);
  box-shadow: 0 0 20px rgba(255, 45, 146, 0.4);
}

.jackpot-topnav.theme-neon-pink .topnav-deposit-btn:hover {
  box-shadow: 0 0 30px rgba(255, 45, 146, 0.6);
  filter: brightness(1.15);
}

/* Withdraw button - Pink border */
.jackpot-topnav.theme-neon-pink .topnav-withdraw-btn {
  border-color: #ff2d92;
  color: #ff2d92;
}

.jackpot-topnav.theme-neon-pink .topnav-withdraw-btn:hover {
  background: rgba(255, 45, 146, 0.15);
  box-shadow: 0 0 20px rgba(255, 45, 146, 0.3);
}

/* Help/Rules buttons - Pink */
.jackpot-topnav.theme-neon-pink .topnav-help-btn:hover,
.jackpot-topnav.theme-neon-pink .topnav-rules-btn:hover {
  background: rgba(255, 45, 146, 0.15);
  color: #ff2d92;
}

/* User avatar - Pink glow */
.jackpot-topnav.theme-neon-pink .user-avatar {
  border-color: rgba(255, 45, 146, 0.5);
  box-shadow: 0 0 15px rgba(255, 45, 146, 0.3);
}

/* User dropdown - Pink theme */
.jackpot-topnav.theme-neon-pink .user-dropdown-menu {
  background: linear-gradient(180deg, rgba(20, 15, 28, 0.98) 0%, rgba(15, 10, 22, 0.99) 100%);
  border: 1px solid rgba(255, 45, 146, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 45, 146, 0.15);
}

.jackpot-topnav.theme-neon-pink .user-dropdown-item:hover {
  background: rgba(255, 45, 146, 0.15);
  color: #ff2d92;
}

/* Login button - Pink */
.jackpot-topnav.theme-neon-pink .topnav-login-btn {
  background: linear-gradient(135deg, #ff2d92 0%, #b44aff 100%);
  box-shadow: 0 0 20px rgba(255, 45, 146, 0.4);
}

.jackpot-topnav.theme-neon-pink .topnav-login-btn:hover {
  box-shadow: 0 0 30px rgba(255, 45, 146, 0.6);
}

/* Register button - Pink border */
.jackpot-topnav.theme-neon-pink .topnav-register-btn {
  border-color: #ff2d92;
  color: #ff2d92;
}

.jackpot-topnav.theme-neon-pink .topnav-register-btn:hover {
  background: rgba(255, 45, 146, 0.15);
  box-shadow: 0 0 20px rgba(255, 45, 146, 0.3);
}

/* ============================================
   GOLDEN LOTTERY THEME (Lottery page only)
   ============================================ */
.jackpot-topnav.theme-golden-lottery {
  background: linear-gradient(180deg, rgba(15, 12, 8, 0.98) 0%, rgba(20, 15, 10, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

/* Logo - Gold */
.jackpot-topnav.theme-golden-lottery .topnav-logo-icon {
  background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.jackpot-topnav.theme-golden-lottery .topnav-logo-title {
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Live badge - Gold */
.jackpot-topnav.theme-golden-lottery .topnav-live {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.2);
}

.jackpot-topnav.theme-golden-lottery .topnav-live.connected .topnav-live-dot {
  background: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* Games dropdown - Gold active state */
.jackpot-topnav.theme-golden-lottery .nav-dropdown-trigger.is-active {
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.jackpot-topnav.theme-golden-lottery .nav-dropdown-trigger:hover {
  color: #ffe566;
}

/* Dropdown menu - Gold theme */
.jackpot-topnav.theme-golden-lottery .nav-dropdown-menu {
  background: linear-gradient(180deg, rgba(20, 18, 12, 0.98) 0%, rgba(15, 13, 8, 0.99) 100%);
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.15);
}

.jackpot-topnav.theme-golden-lottery .nav-dropdown-item:hover {
  background: rgba(255, 215, 0, 0.15);
}

.jackpot-topnav.theme-golden-lottery .nav-dropdown-item.is-active {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.2) 0%, transparent 100%);
  border-left: 3px solid #ffd700;
}

.jackpot-topnav.theme-golden-lottery .nav-dropdown-item.is-active .nav-game-name {
  color: #ffd700;
}

/* Balance display - Gold accents */
.jackpot-topnav.theme-golden-lottery .balance-display {
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(255, 149, 0, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.jackpot-topnav.theme-golden-lottery .balance-amount {
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Deposit button - Gold gradient */
.jackpot-topnav.theme-golden-lottery .topnav-deposit-btn {
  background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.jackpot-topnav.theme-golden-lottery .topnav-deposit-btn:hover {
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  filter: brightness(1.15);
}

/* Withdraw button - Gold border */
.jackpot-topnav.theme-golden-lottery .topnav-withdraw-btn {
  border-color: #ffd700;
  color: #ffd700;
}

.jackpot-topnav.theme-golden-lottery .topnav-withdraw-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Help/Rules buttons - Gold */
.jackpot-topnav.theme-golden-lottery .topnav-help-btn:hover,
.jackpot-topnav.theme-golden-lottery .topnav-rules-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
}

/* User avatar - Gold glow */
.jackpot-topnav.theme-golden-lottery .user-avatar {
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* User dropdown - Gold theme */
.jackpot-topnav.theme-golden-lottery .user-dropdown-menu {
  background: linear-gradient(180deg, rgba(20, 18, 12, 0.98) 0%, rgba(15, 13, 8, 0.99) 100%);
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.15);
}

.jackpot-topnav.theme-golden-lottery .user-dropdown-item:hover {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
}

/* Login button - Gold */
.jackpot-topnav.theme-golden-lottery .topnav-login-btn {
  background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.jackpot-topnav.theme-golden-lottery .topnav-login-btn:hover {
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

/* Register button - Gold border */
.jackpot-topnav.theme-golden-lottery .topnav-register-btn {
  border-color: #ffd700;
  color: #ffd700;
}

.jackpot-topnav.theme-golden-lottery .topnav-register-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* ============================================
   EMERALD FAME THEME (Hall of Fame page)
   ============================================ */
.jackpot-topnav.theme-emerald-fame {
  background: linear-gradient(180deg, rgba(8, 15, 12, 0.98) 0%, rgba(10, 20, 15, 0.95) 100%);
  border-bottom: 1px solid rgba(91, 255, 178, 0.3);
  box-shadow: 0 0 30px rgba(91, 255, 178, 0.1);
}

/* Logo - Emerald */
.jackpot-topnav.theme-emerald-fame .topnav-logo-icon {
  background: linear-gradient(135deg, #5bffb2 0%, #4de69c 100%);
  box-shadow: 0 0 20px rgba(91, 255, 178, 0.5);
  color: #0a0f14;
}

.jackpot-topnav.theme-emerald-fame .topnav-logo-title {
  color: #5bffb2;
  text-shadow: 0 0 20px rgba(91, 255, 178, 0.5);
}

/* Live badge - Emerald */
.jackpot-topnav.theme-emerald-fame .topnav-live {
  background: rgba(91, 255, 178, 0.1);
  border-color: rgba(91, 255, 178, 0.2);
}

.jackpot-topnav.theme-emerald-fame .topnav-live.connected .topnav-live-dot {
  background: #5bffb2;
  box-shadow: 0 0 10px rgba(91, 255, 178, 0.8);
}

/* Games dropdown - Emerald active state */
.jackpot-topnav.theme-emerald-fame .nav-dropdown-trigger.is-active {
  color: #5bffb2;
  text-shadow: 0 0 15px rgba(91, 255, 178, 0.5);
}

.jackpot-topnav.theme-emerald-fame .nav-dropdown-trigger:hover {
  color: #7fffcc;
}

/* Dropdown menu - Emerald theme */
.jackpot-topnav.theme-emerald-fame .nav-dropdown-menu {
  background: linear-gradient(180deg, rgba(10, 20, 15, 0.98) 0%, rgba(8, 15, 12, 0.99) 100%);
  border: 1px solid rgba(91, 255, 178, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(91, 255, 178, 0.15);
}

.jackpot-topnav.theme-emerald-fame .nav-dropdown-item:hover {
  background: rgba(91, 255, 178, 0.15);
}

.jackpot-topnav.theme-emerald-fame .nav-dropdown-item.is-active {
  background: linear-gradient(90deg, rgba(91, 255, 178, 0.2) 0%, transparent 100%);
  border-left: 3px solid #5bffb2;
}

.jackpot-topnav.theme-emerald-fame .nav-dropdown-item.is-active .nav-game-name {
  color: #5bffb2;
}

/* Balance display - Emerald accents */
.jackpot-topnav.theme-emerald-fame .balance-display {
  background: linear-gradient(145deg, rgba(91, 255, 178, 0.1), rgba(77, 230, 156, 0.08));
  border: 1px solid rgba(91, 255, 178, 0.25);
}

.jackpot-topnav.theme-emerald-fame .balance-amount {
  color: #5bffb2;
  text-shadow: 0 0 15px rgba(91, 255, 178, 0.5);
}

/* Deposit button - Emerald gradient */
.jackpot-topnav.theme-emerald-fame .topnav-deposit-btn {
  background: linear-gradient(135deg, #5bffb2 0%, #4de69c 100%);
  color: #0a0f14;
  box-shadow: 0 0 20px rgba(91, 255, 178, 0.4);
}

.jackpot-topnav.theme-emerald-fame .topnav-deposit-btn:hover {
  box-shadow: 0 0 30px rgba(91, 255, 178, 0.6);
  filter: brightness(1.15);
}

/* Withdraw button - Emerald border */
.jackpot-topnav.theme-emerald-fame .topnav-withdraw-btn {
  border-color: #5bffb2;
  color: #5bffb2;
}

.jackpot-topnav.theme-emerald-fame .topnav-withdraw-btn:hover {
  background: rgba(91, 255, 178, 0.15);
  box-shadow: 0 0 20px rgba(91, 255, 178, 0.3);
}

/* Help/Rules buttons - Emerald */
.jackpot-topnav.theme-emerald-fame .topnav-help-btn:hover,
.jackpot-topnav.theme-emerald-fame .topnav-rules-btn:hover {
  background: rgba(91, 255, 178, 0.15);
  color: #5bffb2;
}

/* Hall of Fame button active state */
.jackpot-topnav.theme-emerald-fame .topnav-help-btn.hof-btn {
  background: rgba(91, 255, 178, 0.15);
  color: #5bffb2;
  border-color: rgba(91, 255, 178, 0.3);
}

/* User avatar - Emerald glow */
.jackpot-topnav.theme-emerald-fame .user-avatar {
  border-color: rgba(91, 255, 178, 0.5);
  box-shadow: 0 0 15px rgba(91, 255, 178, 0.3);
}

/* User dropdown - Emerald theme */
.jackpot-topnav.theme-emerald-fame .user-dropdown-menu {
  background: linear-gradient(180deg, rgba(10, 20, 15, 0.98) 0%, rgba(8, 15, 12, 0.99) 100%);
  border: 1px solid rgba(91, 255, 178, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(91, 255, 178, 0.15);
}

.jackpot-topnav.theme-emerald-fame .user-dropdown-item:hover {
  background: rgba(91, 255, 178, 0.15);
  color: #5bffb2;
}

/* Login button - Emerald */
.jackpot-topnav.theme-emerald-fame .topnav-login-btn {
  background: linear-gradient(135deg, #5bffb2 0%, #4de69c 100%);
  color: #0a0f14;
  box-shadow: 0 0 20px rgba(91, 255, 178, 0.4);
}

.jackpot-topnav.theme-emerald-fame .topnav-login-btn:hover {
  box-shadow: 0 0 30px rgba(91, 255, 178, 0.6);
}

/* Register button - Emerald border */
.jackpot-topnav.theme-emerald-fame .topnav-register-btn {
  border-color: #5bffb2;
  color: #5bffb2;
}

.jackpot-topnav.theme-emerald-fame .topnav-register-btn:hover {
  background: rgba(91, 255, 178, 0.15);
  box-shadow: 0 0 20px rgba(91, 255, 178, 0.3);
}

/* ============================================
   BALANCE FLOATING ANIMATION
   ============================================ */
.balance-floater {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 4px 10px;
  border-radius: 8px;
  pointer-events: none;
  transform: translateX(-50%);
  animation: balanceFloat 1.5s ease-out forwards;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.balance-floater.positive {
  color: #00e6a0;
  background: rgba(0, 230, 160, 0.15);
  border: 1px solid rgba(0, 230, 160, 0.3);
  box-shadow: 0 4px 20px rgba(0, 230, 160, 0.3);
}

.balance-floater.negative {
  color: #ff4757;
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.3);
  box-shadow: 0 4px 20px rgba(255, 71, 87, 0.3);
}

@keyframes balanceFloat {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  20% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-50px) scale(0.9);
  }
}
