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

.hero-section {
  min-height: 0;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 30% 15%, rgba(255, 40, 50, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 50%, rgba(13, 202, 240, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(220, 40, 50, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 90%, rgba(180, 60, 220, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #140618 0%, #1a0828 35%, #180a22 70%, #0d0418 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(255, 35, 50, 0.5));
  border-radius: 50%;
  animation: heroFloat var(--dr, 10s) ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
  box-shadow: 0 0 10px var(--c, rgba(255, 35, 50, 0.4)), 0 0 20px var(--c, rgba(255, 35, 50, 0.2)), 0 0 40px var(--c, rgba(255, 35, 50, 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;
}
