/* ==============================================
   HOME PAGE - ARCHITECTURE COMPLÈTE
   Design moderne, immersif et performant
   ============================================== */

:root {
  --hero-height: 100vh;
  --section-spacing: 140px;
  --container-max: 1400px;
}

/* ==============================================
   HERO SECTION - Redesigned
   ============================================== */

.hero {
  position: relative;
  min-height: var(--hero-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--hero-bg);
  padding: 0 2rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: floatOrb 45s ease-in-out infinite;
}

.orb-1 {
  background: var(--orb-1-color);
  top: -15%;
  left: -10%;
}

.orb-2 {
  background: var(--orb-2-color);
  top: 30%;
  right: -15%;
  animation-delay: 15s;
}

.orb-3 {
  background: var(--orb-3-color);
  bottom: -10%;
  left: 40%;
  animation-delay: 30s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 153, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 153, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 8rem 0 6rem;
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ff4444;
  width: fit-content;
  animation: badgePulse 2s ease-in-out infinite;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: #ff0000;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 0, 0, 0);
  }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.hero-pre {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--muted);
}

.hero-highlight {
  background: linear-gradient(135deg, #0099FF 0%, #00CCFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  overflow: hidden;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #0099FF 0%, #0077CC 100%);
  color: white;
  box-shadow: 
    0 4px 20px rgba(0, 153, 255, 0.4),
    0 10px 40px rgba(0, 153, 255, 0.2);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 6px 30px rgba(0, 153, 255, 0.5),
    0 15px 50px rgba(0, 153, 255, 0.3);
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  50%, 100% {
    transform: translateX(200%);
  }
}

.btn-hero-secondary {
  background: rgba(0, 153, 255, 0.1);
  border: 2px solid rgba(0, 153, 255, 0.3);
  color: var(--fg);
}

.btn-hero-secondary:hover {
  background: rgba(0, 153, 255, 0.2);
  border-color: #0099FF;
  transform: translateY(-2px);
}

.btn-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-icon {
  font-size: 1.25rem;
}

.btn-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 153, 255, 0.1);
  border-radius: 14px;
  border: 1px solid rgba(0, 153, 255, 0.2);
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 153, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: gradientPulse 4s ease-in-out infinite;
}

@keyframes gradientPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }
}

.visual-logo {
  position: relative;
  z-index: 2;
  width: 60%;
  height: auto;
  filter: drop-shadow(var(--visual-logo-glow));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.visual-ring {
  position: absolute;
  border: 2px solid rgba(0, 153, 255, 0.2);
  border-radius: 50%;
  animation: ringRotate 20s linear infinite;
}

.visual-ring-1 {
  width: 100%;
  height: 100%;
  animation-duration: 20s;
}

.visual-ring-2 {
  width: 85%;
  height: 85%;
  animation-duration: 15s;
  animation-direction: reverse;
}

.visual-ring-3 {
  width: 70%;
  height: 70%;
  animation-duration: 25s;
}

@keyframes ringRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.visual-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #0099FF;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 153, 255, 0.8);
  animation: particleFloat 4s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.particle:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  top: 40%;
  right: 10%;
  animation-delay: 1.5s;
}

.particle:nth-child(5) {
  bottom: 20%;
  right: 30%;
  animation-delay: 0.5s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate(10px, -30px);
    opacity: 1;
  }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  cursor: pointer;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--muted);
  border-radius: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--muted);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.3;
  }
}

.scroll-text {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==============================================
   LIVE SECTION
   ============================================== */

.live-section {
  padding: 2rem 0;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 68, 68, 0.05) 100%);
  border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}

.live-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 2.5rem;
  background: rgba(var(--card-bg-rgb), 0.5);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 0, 0, 0.3);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.live-dot {
  width: 12px;
  height: 12px;
  background: #ff0000;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
}

@keyframes livePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 0, 0, 0);
  }
}

.live-text {
  font-weight: 700;
  color: #ff0000;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.live-info {
  flex: 1;
}

.live-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.live-viewers {
  color: var(--muted);
  font-size: 0.95rem;
}

.btn-live {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
}

.btn-live:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 0, 0, 0.4);
}

/* ==============================================
   GAMES SECTION
   ============================================== */

.games-section {
  padding: var(--section-spacing) 0;
  background: var(--bg);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 153, 255, 0.1);
  border: 1px solid rgba(0, 153, 255, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0099FF;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0099FF;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.section-link:hover {
  gap: 0.75rem;
}

.link-arrow {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  border-radius: 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border-color);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow);
  border-color: #0099FF;
}

.game-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.game-card:hover .game-card-bg {
  opacity: 1;
}

.game-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 153, 255, 0.15) 0%, transparent 60%);
}

.game-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffc107;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.game-badge-premium {
  background: rgba(138, 43, 226, 0.1);
  border-color: rgba(138, 43, 226, 0.3);
  color: #8a2be2;
}

.game-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.game-icon {
  font-size: 3.5rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 153, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(0, 153, 255, 0.2);
}

.game-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}

.game-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.feature-tag {
  padding: 0.5rem 1rem;
  background: rgba(0, 153, 255, 0.08);
  border: 1px solid rgba(0, 153, 255, 0.15);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.game-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border-color);
}

.game-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.game-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--card-border-color);
  color: #0099FF;
  font-weight: 700;
  font-size: 1.05rem;
}

.cta-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.game-card:hover .cta-arrow {
  transform: translateX(5px);
}

.game-card-featured {
  grid-column: span 2;
}

.game-card-featured .game-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.game-card-featured .game-icon {
  font-size: 5rem;
  width: 120px;
  height: 120px;
}

.game-card-featured .game-title {
  font-size: 2.25rem;
}

.game-card-featured .game-desc {
  font-size: 1.125rem;
}

/* ==============================================
   COMMUNITY SECTION
   ============================================== */

.community-section {
  padding: var(--section-spacing) 0;
  background: var(--features-bg);
}

.community-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  padding: 5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border-color);
  border-radius: 32px;
  overflow: hidden;
}

.community-bg {
  position: absolute;
  inset: 0;
}

.community-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.community-orb-1 {
  background: #0099FF;
  top: -20%;
  left: -10%;
}

.community-orb-2 {
  background: #00CCFF;
  bottom: -20%;
  right: -10%;
}

.community-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.community-icon {
  font-size: 4rem;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 153, 255, 0.1);
  border-radius: 24px;
  border: 1px solid rgba(0, 153, 255, 0.2);
}

.community-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
}

.community-desc {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 500px;
}

.community-socials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(0, 153, 255, 0.05);
  border: 1px solid rgba(0, 153, 255, 0.15);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: rgba(0, 153, 255, 0.1);
  border-color: rgba(0, 153, 255, 0.3);
  transform: translateX(8px);
}

.social-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 153, 255, 0.1);
  border-radius: 12px;
}

.social-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.social-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
}

.social-desc {
  font-size: 0.95rem;
  color: var(--muted);
}

.community-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.community-stat {
  padding: 2.5rem;
  background: rgba(0, 153, 255, 0.05);
  border: 1px solid rgba(0, 153, 255, 0.15);
  border-radius: 20px;
  text-align: center;
}

.community-stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: #0099FF;
  margin-bottom: 0.5rem;
}

.community-stat-label {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

/* ==============================================
   LEADERBOARD PREVIEW
   ============================================== */

.leaderboard-preview {
  padding: var(--section-spacing) 0;
  background: var(--bg);
}

.leaderboard-preview .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  max-width: 1400px;
  margin-bottom: 3rem;
}

.leaderboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.leaderboard-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border-color);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.leaderboard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.rank-badge {
  font-size: 3rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 153, 255, 0.1);
  border-radius: 16px;
  border: 2px solid rgba(0, 153, 255, 0.2);
}

.rank-1 {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 193, 7, 0.1) 100%);
  border-color: rgba(255, 215, 0, 0.4);
}

.rank-2 {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.2) 0%, rgba(169, 169, 169, 0.1) 100%);
  border-color: rgba(192, 192, 192, 0.4);
}

.rank-3 {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.2) 0%, rgba(184, 115, 51, 0.1) 100%);
  border-color: rgba(205, 127, 50, 0.4);
}

.player-info {
  flex: 1;
}

.player-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.player-score {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
}

/* ==============================================
   CTA SECTION
   ============================================== */

.cta-section {
  padding: var(--section-spacing) 0;
  background: var(--cta-bg);
}

.cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 6rem 4rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border-color);
  border-radius: 40px;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 153, 255, 0.1) 0%, transparent 70%);
}

.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 153, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 153, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 700px;
}

.cta-icon {
  font-size: 5rem;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.15) 0%, rgba(0, 204, 255, 0.1) 100%);
  border-radius: 30px;
  border: 2px solid rgba(0, 153, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 153, 255, 0.2);
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.2;
}

.cta-text {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}

.cta-features {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-feature {
  font-size: 1rem;
  color: #0099FF;
  font-weight: 600;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, #0099FF 0%, #0077CC 100%);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 18px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 
    0 6px 30px rgba(0, 153, 255, 0.4),
    0 15px 50px rgba(0, 153, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 8px 40px rgba(0, 153, 255, 0.5),
    0 20px 60px rgba(0, 153, 255, 0.3);
}

.cta-note {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ==============================================
   FOOTER ENHANCEMENTS
   ============================================== */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--card-border-color);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-group-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.footer-group a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.footer-group a:hover {
  color: #0099FF;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--card-border-color);
  color: var(--muted);
  font-size: 0.95rem;
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-badge,
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .game-card-featured {
    grid-column: span 1;
  }
  
  .game-card-featured .game-content {
    grid-template-columns: 1fr;
  }
  
  .community-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 80px;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .games-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .community-socials {
    gap: 0.75rem;
  }
  
  .social-btn {
    padding: 1.25rem 1.5rem;
  }
  
  .leaderboard-cards {
    grid-template-columns: 1fr;
  }
  
  .cta-card {
    padding: 4rem 2rem;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: stretch;
  }
  
  .live-banner {
    flex-direction: column;
    text-align: center;
  }
}
