/**
 * Hall of Fame - Premium React Styles v2.0
 * Top-tier design with SVG icons, no emojis
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --hof-gold: #FFD700;
  --hof-gold-dark: #D4A500;
  --hof-silver: #C0C0C0;
  --hof-bronze: #CD7F32;
  --hof-green: #5bffb2;
  --hof-green-dark: #4de69c;
  --hof-purple: #a855f7;
  --hof-bg: #060a0f;
  --hof-card: rgba(10, 20, 15, 0.95);
  --hof-border: rgba(91, 255, 178, 0.15);
  --hof-text: #f0f4ff;
  --hof-text-muted: rgba(255, 255, 255, 0.5);
}

/* ============================================
   RESET & BASE HTML/BODY
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--hof-bg);
  color: var(--hof-text);
  line-height: 1.5;
  min-height: 100vh;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ============================================
   OLD NAVBAR STYLES REMOVED
   Now using shared CoinRushNavbar from navbar-react.css
   ============================================ */

/* ============================================
   BASE STYLES
   ============================================ */
.hall-of-fame-app {
  min-height: 100vh;
  background: var(--hof-bg);
  color: var(--hof-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

.main-content {
  padding-top: 60px;
}

/* ============================================
   GLOWING ORBS BACKGROUND
   ============================================ */
.orbs-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: orb-float 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(91, 255, 178, 0.12) 0%, transparent 70%);
  top: -150px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
  top: 15%;
  right: -100px;
  animation-delay: -7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%);
  bottom: -80px;
  left: 30%;
  animation-delay: -14s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(-30px, -10px) scale(1.02); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--hof-green);
  opacity: 0.8;
}

.section-icon svg {
  width: 100%;
  height: 100%;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--hof-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--hof-text-muted);
  font-size: 1rem;
}

/* ============================================
   HERO SECTION - PREMIUM CENTERED GLOWING DESIGN
   ============================================ */
.hero-premium {
  position: relative;
  padding: 2rem 2rem 4rem;
  background: linear-gradient(180deg, #060a0f 0%, #0a1015 100%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-premium.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FLOATING GLOWING ORBS ===== */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-float 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, transparent 70%);
  top: -100px;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.2) 0%, transparent 70%);
  top: 50%;
  right: -100px;
  animation-delay: -2s;
  animation-duration: 10s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(91, 255, 178, 0.15) 0%, transparent 70%);
  bottom: -50px;
  left: 20%;
  animation-delay: -4s;
  animation-duration: 9s;
}

.orb-4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 149, 0, 0.18) 0%, transparent 70%);
  top: 30%;
  left: -80px;
  animation-delay: -1s;
  animation-duration: 11s;
}

.orb-5 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
  top: 10%;
  right: 20%;
  animation-delay: -3s;
  animation-duration: 7s;
}

.orb-6 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  bottom: 10%;
  right: 15%;
  animation-delay: -5s;
  animation-duration: 12s;
}

.orb-7 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(91, 255, 178, 0.1) 0%, transparent 70%);
  top: 60%;
  left: 40%;
  animation-delay: -6s;
  animation-duration: 8s;
}

.orb-8 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 200, 0, 0.12) 0%, transparent 70%);
  top: -50px;
  right: 30%;
  animation-delay: -2.5s;
  animation-duration: 13s;
}

@keyframes orb-float {
  0%, 100% { 
    transform: translate(0, 0) scale(1); 
    opacity: 0.6;
  }
  25% { 
    transform: translate(20px, -30px) scale(1.1); 
    opacity: 0.8;
  }
  50% { 
    transform: translate(-10px, 20px) scale(0.95); 
    opacity: 0.5;
  }
  75% { 
    transform: translate(-30px, -10px) scale(1.05); 
    opacity: 0.7;
  }
}

/* Animated Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: var(--size, 4px);
  height: var(--size, 4px);
  background: rgba(255, 215, 0, 0.7);
  border-radius: 50%;
  left: var(--x);
  bottom: -10px;
  animation: float-up var(--duration) ease-out infinite;
  animation-delay: var(--delay);
  opacity: 0;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

@keyframes float-up {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-500px) scale(0); opacity: 0; }
}

/* Content Container */
.hero-premium-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Subtle Page Title */
.hero-page-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.page-title-icon {
  width: 14px;
  height: 14px;
  color: var(--hof-gold);
}

.page-title-icon svg {
  width: 100%;
  height: 100%;
}

.page-title-text {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hof-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Prize Pool Container - THE STAR OF THE SHOW */
.prize-pool-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 5rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.prize-pool-container:hover {
  transform: scale(1.05);
}

/* Multi-layer Glow Effects */
.prize-glow-layer {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  transition: all 0.5s ease;
}

.prize-glow-1 {
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  transform: scale(1.5);
}

.prize-glow-2 {
  background: radial-gradient(ellipse at center, rgba(255, 180, 0, 0.1) 0%, transparent 60%);
  filter: blur(60px);
  transform: scale(2);
  animation: glow-pulse 3s ease-in-out infinite;
}

.prize-glow-3 {
  background: radial-gradient(ellipse at center, rgba(255, 149, 0, 0.08) 0%, transparent 50%);
  filter: blur(80px);
  transform: scale(2.5);
  animation: glow-pulse 3s ease-in-out infinite 0.5s;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(2); }
  50% { opacity: 1; transform: scale(2.2); }
}

/* Hover intensifies glow */
.prize-pool-container.hovered .prize-glow-1 {
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.25) 0%, transparent 70%);
  transform: scale(1.7);
}

.prize-pool-container.hovered .prize-glow-2 {
  background: radial-gradient(ellipse at center, rgba(255, 180, 0, 0.18) 0%, transparent 60%);
  transform: scale(2.3);
}

.prize-pool-container.hovered .prize-glow-3 {
  background: radial-gradient(ellipse at center, rgba(255, 149, 0, 0.15) 0%, transparent 50%);
  transform: scale(2.8);
}

/* Prize Content */
.prize-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.prize-label-top {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 0.75rem;
}

.prize-amount-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  line-height: 1;
}

.prize-currency {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 50%, #ffa500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.6));
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.prize-amount {
  font-family: 'Sora', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffd700 0%, #ffcc00 30%, #ffa500 70%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 40px rgba(255, 215, 0, 0.7));
  transition: all 0.4s ease;
  letter-spacing: -0.02em;
}

/* Hover effects on prize amount */
.prize-pool-container.hovered .prize-amount {
  filter: drop-shadow(0 4px 60px rgba(255, 215, 0, 0.9));
  transform: scale(1.03);
}

.prize-pool-container.hovered .prize-currency {
  filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.8));
}

.prize-label-bottom {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

/* Sparkle Effects */
.prize-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prize-pool-container.hovered .prize-sparkles {
  opacity: 1;
}

.sparkle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #ffd700;
  border-radius: 50%;
  transform-origin: center;
  animation: sparkle-out 1.5s ease-out infinite;
  animation-delay: var(--delay);
}

@keyframes sparkle-out {
  0% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(0) scale(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(50px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(120px) scale(0);
  }
}

/* Tagline */
.hero-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats Row */
.hero-stats-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
  min-width: 120px;
}

.stat-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(91, 255, 178, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-pill-icon {
  width: 24px;
  height: 24px;
  color: var(--hof-green);
  flex-shrink: 0;
}

.stat-pill-icon svg {
  width: 100%;
  height: 100%;
}

.stat-pill-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-pill-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.stat-pill-value.gold {
  color: var(--hof-gold);
}

.stat-pill-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-premium {
    padding: 2rem 1rem 3rem;
    min-height: 350px;
  }
  
  .prize-pool-container {
    padding: 2rem 2.5rem;
  }
  
  .prize-amount {
    font-size: 4rem;
  }
  
  .prize-currency {
    font-size: 2rem;
    margin-top: 0.3rem;
  }
  
  .hero-stats-premium {
    gap: 0.75rem;
  }
  
  .stat-pill {
    padding: 0.7rem 1rem;
    min-width: 100px;
  }
  
  .orb {
    filter: blur(40px);
    opacity: 0.4;
  }
}

@media (max-width: 480px) {
  .prize-amount {
    font-size: 3rem;
  }
  
  .prize-currency {
    font-size: 1.6rem;
  }
  
  .hero-page-title {
    font-size: 0.75rem;
  }
}

/* ============================================
   HERO SECTION (LEGACY - can remove if unused)
   ============================================ */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 2rem 3rem;
  background: linear-gradient(180deg, var(--hof-bg) 0%, #0a1015 100%);
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
}

/* Trophy Icon - Premium Filled Style */
.hero-trophy {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
}

.trophy-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(255, 215, 0, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  animation: trophy-pulse 3s ease-in-out infinite;
}

@keyframes trophy-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.trophy-icon {
  position: relative;
  width: 100%;
  height: 100%;
  color: var(--hof-gold);
  filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.6));
}

.trophy-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
  fill: rgba(255, 215, 0, 0.15);
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.badge-star {
  width: 14px;
  height: 14px;
  color: var(--hof-gold);
}

.badge-star svg {
  width: 100%;
  height: 100%;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--hof-gold);
}

/* Prize Display - Interactive */
.hero-prize-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-prize-wrapper:hover {
  transform: scale(1.05);
}

.hero-prize-wrapper:hover .prize-glow-effect {
  opacity: 1;
  transform: scale(1);
}

.hero-prize-wrapper:hover .hero-prize .prize-amount {
  filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.8));
}

.prize-glow-effect {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.25) 0%, rgba(255, 215, 0, 0.1) 40%, transparent 70%);
  border-radius: 30px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: -1;
}

.hero-prize {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 0.25rem;
  position: relative;
}

.interactive-prize {
  transition: all 0.3s ease;
}

.prize-currency {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--hof-gold);
  transition: all 0.3s ease;
}

.hero-prize-wrapper:hover .prize-currency {
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.prize-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--hof-gold) 0%, #ffed4a 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
  transition: filter 0.4s ease;
}

.hero-prize-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--hof-text-muted);
  margin-bottom: 2rem;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 750px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(91, 255, 178, 0.05);
  border-color: rgba(91, 255, 178, 0.2);
  transform: translateY(-3px);
}

.stat-card--gold {
  border-color: rgba(255, 215, 0, 0.15);
}

.stat-card--gold:hover {
  background: rgba(255, 215, 0, 0.05);
  border-color: rgba(255, 215, 0, 0.3);
}

.stat-icon {
  width: 32px;
  height: 32px;
  color: var(--hof-green);
  opacity: 0.8;
}

.stat-card--gold .stat-icon {
  color: var(--hof-gold);
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-content {
  text-align: left;
}

.stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--hof-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Scroll Indicator - Hidden for compact layout */
.scroll-indicator {
  display: none;
}

.scroll-icon {
  width: 24px;
  height: 24px;
  color: var(--hof-green);
  opacity: 0.6;
}

.scroll-icon svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   COMPETITIONS SECTION
   ============================================ */
.competitions-section {
  padding: 3rem 2rem 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.competitions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 1100px) {
  .competitions-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COMPETITION CARD - Premium Design
   ============================================ */
.competition-card {
  position: relative;
  background: var(--hof-card);
  border-radius: 24px;
  padding: 2rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.competition-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(91, 255, 178, 0.3) 0%, transparent 50%, rgba(91, 255, 178, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.competition-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.competition-card.monthly::before {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.4) 0%, transparent 50%, rgba(255, 215, 0, 0.15) 100%);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(91, 255, 178, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.monthly .card-glow {
  background: radial-gradient(ellipse, rgba(255, 215, 0, 0.06) 0%, transparent 60%);
}

/* Hot Badge */
.hot-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  animation: pulse-badge 2s infinite;
}

.hot-icon {
  width: 14px;
  height: 14px;
}

.hot-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5); }
}

/* Card Header */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.card-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Live Indicator */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: live-pulse 1.5s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.live-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #22c55e;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  width: 40px;
  height: 40px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(91, 255, 178, 0.15), rgba(91, 255, 178, 0.05));
  border-radius: 12px;
  color: var(--hof-green);
}

.monthly .title-icon {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  color: var(--hof-gold);
}

.title-icon svg {
  width: 100%;
  height: 100%;
}

.title-text {
  display: flex;
  flex-direction: column;
}

.title-type {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
}

.title-sub {
  font-size: 0.75rem;
  color: var(--hof-text-muted);
}

/* Countdown Timer */
.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}

.countdown-icon {
  width: 18px;
  height: 18px;
  color: var(--hof-text-muted);
}

.countdown-icon svg {
  width: 100%;
  height: 100%;
}

.countdown-segments {
  display: flex;
  align-items: center;
  gap: 2px;
}

.countdown-segment {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.countdown-value {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.countdown-label {
  font-size: 0.6rem;
  color: var(--hof-text-muted);
  text-transform: uppercase;
}

.countdown-sep {
  color: var(--hof-text-muted);
  margin: 0 4px;
}

/* ============================================
   PRIZE PODIUM
   ============================================ */
.prize-podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.5rem;
  margin: 2rem 0;
  padding: 1rem 0;
}

.podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.podium-1 { order: 2; }
.podium-2 { order: 1; }
.podium-3 { order: 3; }

.podium-prize {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hof-green);
  margin: 0.75rem 0 0.25rem;
}

.podium-prize.champion {
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--hof-gold), #ffed4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.podium-label {
  font-size: 0.7rem;
  color: var(--hof-text-muted);
  margin-bottom: 0.75rem;
}

.podium-stand {
  width: 80px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(91, 255, 178, 0.1) 0%, rgba(91, 255, 178, 0.02) 100%);
  border: 1px solid rgba(91, 255, 178, 0.15);
  border-bottom: none;
}

.monthly .podium-stand {
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.02) 100%);
  border-color: rgba(255, 215, 0, 0.15);
}

.podium-1 .podium-stand { height: 60px; width: 90px; }
.podium-2 .podium-stand { height: 40px; }
.podium-3 .podium-stand { height: 25px; }

/* ============================================
   MEDALS - SVG Based
   ============================================ */
.medal {
  filter: drop-shadow(0 4px 12px var(--medal-glow));
}

.medal svg {
  width: 100%;
  height: 100%;
}

.medal-tiny { width: 24px; height: 32px; }
.medal-small { width: 32px; height: 42px; }
.medal-medium { width: 50px; height: 66px; }
.medal-large { width: 70px; height: 92px; }

/* ============================================
   CARD DIVIDER
   ============================================ */
.card-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(91, 255, 178, 0.2) 50%, transparent 100%);
  margin: 1.5rem 0;
}

.divider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 1rem;
  background: var(--hof-card);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--hof-text-muted);
}

/* ============================================
   LEADERBOARD
   ============================================ */
.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.leaderboard-header {
  display: grid;
  grid-template-columns: 70px 1fr 100px 80px;
  padding: 0.75rem 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--hof-text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 70px 1fr 100px 80px;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.leaderboard-row.visible {
  opacity: 1;
  transform: translateX(0);
}

.leaderboard-row:hover {
  background: rgba(91, 255, 178, 0.05);
}

.leaderboard-row.rank-1 {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.08) 0%, transparent 100%);
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.leaderboard-row.rank-2 {
  background: linear-gradient(90deg, rgba(192, 192, 192, 0.06) 0%, transparent 100%);
  border: 1px solid rgba(192, 192, 192, 0.12);
}

.leaderboard-row.rank-3 {
  background: linear-gradient(90deg, rgba(205, 127, 50, 0.06) 0%, transparent 100%);
  border: 1px solid rgba(205, 127, 50, 0.12);
}

.row-rank {
  display: flex;
  justify-content: center;
}

.rank-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--hof-text-muted);
}

.row-player {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.player-info {
  display: flex;
  flex-direction: column;
}

.player-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
}

.player-level {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--hof-text-muted);
}

.level-icon {
  width: 10px;
  height: 10px;
  color: var(--hof-gold);
}

.level-icon svg {
  width: 100%;
  height: 100%;
}

.row-wagered {
  text-align: right;
}

.wagered-value {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--hof-green);
}

.row-prize {
  text-align: right;
}

.prize-value {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: var(--hof-gold);
}

.prize-value.no-prize {
  color: var(--hof-text-muted);
  opacity: 0.5;
}

/* Leaderboard Separator (dots between top 3 and user) */
.leaderboard-separator {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 0;
  position: relative;
}

.separator-dots {
  font-size: 1.2rem;
  letter-spacing: 4px;
  color: var(--hof-text-muted);
  opacity: 0.4;
  animation: pulseDots 2s ease-in-out infinite;
}

@keyframes pulseDots {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Current User Row Highlight */
.leaderboard-row.current-user {
  background: linear-gradient(90deg, rgba(91, 255, 178, 0.12) 0%, rgba(91, 255, 178, 0.04) 100%);
  border: 1px solid rgba(91, 255, 178, 0.25);
  box-shadow: 0 0 20px rgba(91, 255, 178, 0.1);
  animation: highlightPulse 3s ease-in-out infinite;
}

@keyframes highlightPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(91, 255, 178, 0.1); }
  50% { box-shadow: 0 0 25px rgba(91, 255, 178, 0.2); }
}

.leaderboard-row.current-user .rank-number {
  background: rgba(91, 255, 178, 0.15);
  color: var(--hof-green);
  font-weight: 700;
}

.leaderboard-row.current-user .player-name {
  color: var(--hof-green);
  display: flex;
  align-items: center;
  gap: 8px;
}

.you-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: linear-gradient(135deg, var(--hof-green), #3de89d);
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #0a1612;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(91, 255, 178, 0.3);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem;
  color: var(--hof-text-muted);
}

.empty-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  opacity: 0.3;
  color: var(--hof-green);
}

.empty-icon svg {
  width: 100%;
  height: 100%;
}

.empty-text {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.empty-sub {
  font-size: 0.8rem;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(180deg, transparent 0%, rgba(91, 255, 178, 0.02) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Stat Card Large */
.stat-card-large {
  background: var(--hof-card);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--hof-border);
  transition: all 0.3s ease;
}

.stat-card-large:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.stat-card-large.gold {
  border-color: rgba(255, 215, 0, 0.2);
}

.stat-card-large.green {
  border-color: rgba(34, 197, 94, 0.2);
}

.stat-card-large.purple {
  border-color: rgba(168, 85, 247, 0.2);
}

.stat-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card-icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.gold .stat-card-icon {
  background: rgba(255, 215, 0, 0.1);
  color: var(--hof-gold);
}

.green .stat-card-icon {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.purple .stat-card-icon {
  background: rgba(168, 85, 247, 0.1);
  color: var(--hof-purple);
}

.stat-card-icon svg {
  width: 100%;
  height: 100%;
}

.stat-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.stat-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.stat-row-rank {
  flex-shrink: 0;
}

.stat-row-player {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.stat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  color: white;
  flex-shrink: 0;
}

.stat-name {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.stat-value.gold { color: var(--hof-gold); }
.stat-value.green { color: #22c55e; }
.stat-value.purple { color: var(--hof-purple); }

.empty-mini {
  padding: 1.5rem;
  text-align: center;
  color: var(--hof-text-muted);
  font-size: 0.85rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 6rem 2rem;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(91, 255, 178, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--hof-green);
  opacity: 0.7;
}

.cta-icon svg {
  width: 100%;
  height: 100%;
}

.cta-title {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--hof-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-text {
  color: var(--hof-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--hof-green) 0%, var(--hof-green-dark) 100%);
  border: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #0a0f14;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(91, 255, 178, 0.3);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(91, 255, 178, 0.4);
}

.cta-btn-icon, .cta-btn-arrow {
  width: 20px;
  height: 20px;
}

.cta-btn-icon svg, .cta-btn-arrow svg {
  width: 100%;
  height: 100%;
}

.cta-btn-arrow {
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-btn-arrow {
  transform: translateX(4px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .prize-amount {
    font-size: 4rem;
  }
  
  .prize-currency {
    font-size: 1.8rem;
  }
  
  .hero-stats {
    gap: 0.75rem;
  }
  
  .stat-card {
    padding: 0.75rem 1rem;
  }
  
  .stat-value {
    font-size: 1.2rem;
  }
  
  .competitions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .competition-card {
    padding: 1.5rem;
  }
  
  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 60px 1fr 80px 70px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  .player-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
}

/* ============================================
   INTERACTIVE UX ENHANCEMENTS
   ============================================ */

/* Ripple effect animation */
@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Tooltip styles */
.tooltip-wrapper {
  position: relative;
  display: inline-flex;
}

.tooltip {
  position: absolute;
  padding: 8px 14px;
  background: rgba(10, 15, 20, 0.95);
  border: 1px solid rgba(91, 255, 178, 0.3);
  border-radius: 8px;
  font-size: 0.8rem;
  color: #fff;
  white-space: nowrap;
  z-index: 100;
  pointer-events: none;
  animation: tooltip-in 0.2s ease-out;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.tooltip-top {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
}

.tooltip-bottom {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
}

@keyframes tooltip-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Sparkle effects for medals */
.sparkles {
  position: absolute;
  inset: -10px;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--hof-gold);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  animation: sparkle-burst 0.6s ease-out forwards;
  animation-delay: var(--delay);
  opacity: 0;
}

@keyframes sparkle-burst {
  0% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-25px);
    opacity: 0;
  }
}

/* Progress bar styles */
.progress-container {
  width: 100%;
}

.progress-label {
  font-size: 0.75rem;
  color: var(--hof-text-muted);
  margin-bottom: 6px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-green {
  background: linear-gradient(90deg, var(--hof-green), var(--hof-green-dark));
  box-shadow: 0 0 10px rgba(91, 255, 178, 0.4);
}

.progress-gold {
  background: linear-gradient(90deg, var(--hof-gold), var(--hof-gold-dark));
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.progress-value {
  font-size: 0.7rem;
  color: var(--hof-text-muted);
  margin-top: 4px;
  text-align: right;
}

/* Enhanced hover effects */
.stat-card {
  cursor: pointer;
}

.stat-card:active {
  transform: scale(0.98);
}

.leaderboard-row {
  cursor: pointer;
}

.leaderboard-row:active {
  transform: scale(0.995);
}

/* Medal hover enhancement */
.medal-wrapper {
  position: relative;
  transition: transform 0.3s ease;
}

.medal-wrapper:hover {
  transform: scale(1.15);
}

.medal-wrapper:hover .medal-glow {
  opacity: 1;
}

/* Interactive card tilt effect */
.competition-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.competition-card:hover {
  transform: translateY(-8px) scale(1.01);
}

/* Pulse animation for live elements */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 255, 178, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(91, 255, 178, 0); }
}

.is-live {
  animation: pulse-glow 2s infinite;
}

/* Animated underline for links */
.animated-link {
  position: relative;
}

.animated-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hof-green);
  transition: width 0.3s ease;
}

.animated-link:hover::after {
  width: 100%;
}

/* Number ticker animation */
@keyframes ticker-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ticker-number {
  display: inline-block;
  animation: ticker-in 0.3s ease-out backwards;
}

/* Shake animation for errors/alerts */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.shake {
  animation: shake 0.4s ease-in-out;
}

/* Floating animation for badges */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.float-badge {
  animation: float 3s ease-in-out infinite;
}

/* Gradient border animation */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-border {
  background: linear-gradient(90deg, var(--hof-green), var(--hof-gold), var(--hof-purple), var(--hof-green));
  background-size: 300% 100%;
  animation: gradient-shift 4s ease infinite;
}

/* ============================================
   RULES MODAL STYLES
   ============================================ */
.rules-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.rules-modal {
  background: linear-gradient(180deg, #0d1117 0%, #0a0f14 100%);
  border: 1px solid rgba(91, 255, 178, 0.2);
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(91, 255, 178, 0.1);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rules-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(91, 255, 178, 0.08) 0%, transparent 100%);
}

.rules-modal-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.rules-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--hof-gold) 0%, #D4A500 100%);
  border-radius: 12px;
  color: #0a0f14;
}

.rules-modal-icon svg {
  width: 24px;
  height: 24px;
}

.rules-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.rules-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.rules-modal-close svg {
  width: 20px;
  height: 20px;
}

.rules-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

.rules-section {
  margin-bottom: 28px;
}

.rules-section:last-child {
  margin-bottom: 0;
}

.rules-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hof-green);
  margin: 0 0 16px 0;
}

.rules-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(91, 255, 178, 0.15);
  border-radius: 8px;
  color: var(--hof-green);
}

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

.rules-info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
}

.rules-info-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.rules-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rules-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.rules-step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--hof-green), #4de69c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #0a0f14;
}

.rules-step-content {
  flex: 1;
}

.rules-step-content strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.rules-step-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rules-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.rules-list-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hof-green);
}

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

.rules-list-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.rules-example {
  background: rgba(91, 255, 178, 0.08);
  border-left: 3px solid var(--hof-green);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rules-rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rules-reward-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  text-align: center;
}

.reward-place {
  font-size: 0.85rem;
  font-weight: 600;
}

.reward-amount {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hof-green);
}

.rules-modal-footer {
  padding: 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
}

.rules-modal-button {
  padding: 14px 48px;
  background: linear-gradient(135deg, var(--hof-green), #4de69c);
  border: none;
  border-radius: 12px;
  color: #0a0f14;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(91, 255, 178, 0.3);
}

.rules-modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(91, 255, 178, 0.4);
}

/* Mobile responsive for rules modal */
@media (max-width: 600px) {
  .rules-modal {
    max-height: 90vh;
    border-radius: 16px;
  }
  
  .rules-modal-header {
    padding: 18px 20px;
  }
  
  .rules-modal-title {
    font-size: 1.2rem;
  }
  
  .rules-modal-body {
    padding: 18px 20px;
  }
  
  .rules-rewards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   AUTH MODAL STYLES
   ============================================ */

.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: authFadeIn 0.25s ease-out;
}

@keyframes authFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(165deg, #181d28 0%, #10131a 50%, #0c0f14 100%);
  border-radius: 24px;
  border: 1px solid rgba(79, 255, 176, 0.15);
  padding: 36px 32px;
  box-shadow: 
    0 32px 100px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(79, 255, 176, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  animation: authSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authSlideIn {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Decorative Glow Effects */
.auth-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}

.auth-glow-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--hof-green) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}

.auth-glow-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--hof-purple) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  opacity: 0.3;
}

.auth-border-glow {
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(79, 255, 176, 0.3) 0%, transparent 40%, transparent 60%, rgba(168, 85, 247, 0.2) 100%);
  z-index: -1;
  opacity: 0.5;
}

/* Close Button */
.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--hof-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.auth-close svg {
  width: 18px;
  height: 18px;
}

.auth-close:hover {
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.4);
  color: #ff6b6b;
  transform: rotate(90deg);
}

/* Brand/Logo Section */
.auth-brand {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.auth-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--hof-green) 0%, #3de8a0 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(79, 255, 176, 0.35);
}

.auth-logo-icon span {
  font-size: 18px;
  font-weight: 900;
  color: #0a0d12;
  letter-spacing: -0.5px;
}

.auth-logo-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.auth-logo-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--hof-text);
  letter-spacing: 1px;
}

.auth-logo-subtitle {
  font-size: 10px;
  font-weight: 600;
  color: var(--hof-green);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Mode Tabs */
.auth-tabs {
  display: flex;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-tab {
  flex: 1;
  padding: 12px 20px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--hof-text-muted);
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.auth-tab:hover:not(.active) {
  color: var(--hof-text-secondary);
}

.auth-tab.active {
  color: #0a0d12;
}

.auth-tab-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--hof-green) 0%, #3de8a0 100%);
  border-radius: 10px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(79, 255, 176, 0.3);
}

.auth-tab-indicator.right {
  transform: translateX(100%);
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Messages */
.auth-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  animation: authShake 0.4s ease-out;
}

.auth-message svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.auth-message-error {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.25);
  color: #ff6b6b;
}

.auth-message-success {
  background: rgba(79, 255, 176, 0.1);
  border: 1px solid rgba(79, 255, 176, 0.25);
  color: var(--hof-green);
}

@keyframes authShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* Form Fields */
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--hof-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.auth-input-box {
  position: relative;
}

.auth-input {
  width: 100%;
  padding: 15px 18px;
  padding-right: 50px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--hof-text);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.auth-input:focus {
  outline: none;
  border-color: var(--hof-green);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(79, 255, 176, 0.1);
}

.auth-input::placeholder {
  color: var(--hof-text-muted);
  font-weight: 400;
}

/* Password Toggle */
.auth-eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: var(--hof-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
}

.auth-eye svg {
  width: 20px;
  height: 20px;
}

.auth-eye:hover {
  color: var(--hof-text);
  background: rgba(255, 255, 255, 0.05);
}

/* Forgot Password */
.auth-forgot {
  text-align: right;
  margin-top: -6px;
}

.auth-forgot-link {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--hof-text-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.auth-forgot-link:hover {
  color: var(--hof-green);
}

/* Submit Button */
.auth-submit {
  width: 100%;
  padding: 16px 24px;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--hof-green) 0%, #2ea77a 100%);
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #0a0d12;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(79, 255, 176, 0.25);
}

.auth-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.auth-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(79, 255, 176, 0.4);
}

.auth-submit:hover svg {
  transform: translateX(4px);
}

.auth-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.auth-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(10, 13, 18, 0.25);
  border-top-color: #0a0d12;
  border-radius: 50%;
  animation: authSpin 0.7s linear infinite;
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.auth-divider span {
  font-size: 12px;
  font-weight: 500;
  color: var(--hof-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Social Login */
.auth-social {
  display: flex;
  gap: 12px;
}

.auth-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hof-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.auth-social-btn svg {
  width: 18px;
  height: 18px;
}

.auth-social-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--hof-text);
}

.auth-social-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Footer */
.auth-footer {
  margin-top: 24px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-footer p {
  margin: 0;
  font-size: 14px;
  color: var(--hof-text-muted);
}

.auth-switch {
  background: none;
  border: none;
  color: var(--hof-green);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.auth-switch:hover {
  text-decoration: underline;
  text-shadow: 0 0 12px rgba(79, 255, 176, 0.5);
}

/* Auth Modal Responsive */
@media (max-width: 480px) {
  .auth-modal {
    padding: 28px 24px;
    border-radius: 20px;
  }
  
  .auth-tabs {
    margin-bottom: 24px;
  }
  
  .auth-social {
    flex-direction: column;
  }
}
