﻿/* ===== Clean Hero Background ===== */

.hero-section {
  min-height: 85vh;
  padding: 7rem 0 2rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #0b0b0f 0%, #1a1a24 40%, #15151d 100%);
}

/* ---- Bottom fade transition to games section ---- */

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(21, 21, 29, 0.4) 60%, rgba(21, 21, 29, 0.9) 100%);
}

/* ---- Animated floating particles (red/cyan/pink theme) ---- */

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  background: var(--c, rgba(220, 53, 69, 0.35));
  border-radius: 50%;
  animation: heroFloat var(--dr, 10s) ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
  box-shadow: 0 0 6px var(--c, rgba(220, 53, 69, 0.2)), 0 0 12px var(--c, rgba(220, 53, 69, 0.1));
}

.hero-particle::after {
  content: '';
  position: absolute;
  inset: -50%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c, rgba(220, 53, 69, 0.15)) 0%, transparent 70%);
  animation: heroPulse var(--dr, 10s) ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}

@keyframes heroFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    transform: translate(20px, -25px) scale(1.5);
    opacity: 0.2;
  }
}

@keyframes heroPulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ---- Hero content layer ---- */

.hero-content {
  position: relative;
  z-index: 2;
}
