/* ========================================
   CLUBBING.PL - Custom CSS
   Golden Era Polish Rave 1998-2005
   ======================================== */

/* CSS Custom Properties */
:root {
  --color-bg: #0a0a0a;
  --color-neon-yellow: #FFFF00;
  --color-neon-cyan: #00FFFF;
  --color-neon-magenta: #FF00FF;
  --color-neon-purple: #7B00FF;
  --color-white: #ffffff;
  --glow-yellow: 0 0 5px #FFFF00, 0 0 10px #FFFF00, 0 0 20px #FFFF00, 0 0 40px #FFFF00;
  --glow-cyan: 0 0 5px #00FFFF, 0 0 10px #00FFFF, 0 0 20px #00FFFF, 0 0 40px #00FFFF;
  --glow-magenta: 0 0 5px #FF00FF, 0 0 10px #FF00FF, 0 0 20px #FF00FF, 0 0 40px #FF00FF;
  --glow-purple: 0 0 5px #7B00FF, 0 0 10px #7B00FF, 0 0 20px #7B00FF, 0 0 40px #7B00FF;
}

/* ========================================
   NEON TEXT EFFECTS
   ======================================== */

.neon-yellow {
  color: var(--color-neon-yellow);
  text-shadow: var(--glow-yellow);
}

.neon-cyan {
  color: var(--color-neon-cyan);
  text-shadow: var(--glow-cyan);
}

.neon-magenta {
  color: var(--color-neon-magenta);
  text-shadow: var(--glow-magenta);
}

.neon-purple {
  color: var(--color-neon-purple);
  text-shadow: var(--glow-purple);
}

/* Pulsing neon animation */
@keyframes neon-pulse {
  0%, 100% {
    text-shadow:
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 20px currentColor,
      0 0 40px currentColor;
    opacity: 1;
  }
  50% {
    text-shadow:
      0 0 2px currentColor,
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 20px currentColor;
    opacity: 0.9;
  }
}

.neon-pulse {
  animation: neon-pulse 2s ease-in-out infinite;
}

/* Flickering neon effect */
@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow:
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 20px currentColor,
      0 0 40px currentColor;
    opacity: 1;
  }
  20%, 24%, 55% {
    text-shadow: none;
    opacity: 0.4;
  }
}

.neon-flicker {
  animation: neon-flicker 3s linear infinite;
}

/* ========================================
   CRT SCANLINE OVERLAY
   ======================================== */

.crt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.crt-overlay.active {
  opacity: 1;
}

/* CRT screen curvature effect (subtle) */
.crt-curve {
  box-shadow:
    inset 0 0 100px rgba(0, 0, 0, 0.5),
    inset 0 0 50px rgba(0, 0, 0, 0.3);
}

/* ========================================
   GLOW BOX EFFECTS
   ======================================== */

.glow-box-yellow {
  box-shadow:
    0 0 5px var(--color-neon-yellow),
    0 0 10px var(--color-neon-yellow),
    inset 0 0 5px rgba(255, 255, 0, 0.1);
  border: 1px solid var(--color-neon-yellow);
}

.glow-box-cyan {
  box-shadow:
    0 0 5px var(--color-neon-cyan),
    0 0 10px var(--color-neon-cyan),
    inset 0 0 5px rgba(0, 255, 255, 0.1);
  border: 1px solid var(--color-neon-cyan);
}

.glow-box-magenta {
  box-shadow:
    0 0 5px var(--color-neon-magenta),
    0 0 10px var(--color-neon-magenta),
    inset 0 0 5px rgba(255, 0, 255, 0.1);
  border: 1px solid var(--color-neon-magenta);
}

.glow-box-purple {
  box-shadow:
    0 0 5px var(--color-neon-purple),
    0 0 10px var(--color-neon-purple),
    inset 0 0 5px rgba(123, 0, 255, 0.1);
  border: 1px solid var(--color-neon-purple);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animation delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ========================================
   SCROLL INDICATOR
   ======================================== */

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

.scroll-indicator {
  animation: scroll-bounce 2s ease-in-out infinite;
}

/* ========================================
   EQUALIZER ANIMATION
   ======================================== */

@keyframes equalizer {
  0%, 100% {
    height: 10%;
  }
  50% {
    height: 100%;
  }
}

.equalizer-bar {
  animation: equalizer 0.8s ease-in-out infinite;
}

.equalizer-bar:nth-child(1) { animation-delay: 0s; }
.equalizer-bar:nth-child(2) { animation-delay: 0.1s; }
.equalizer-bar:nth-child(3) { animation-delay: 0.2s; }
.equalizer-bar:nth-child(4) { animation-delay: 0.3s; }
.equalizer-bar:nth-child(5) { animation-delay: 0.4s; }
.equalizer-bar:nth-child(6) { animation-delay: 0.2s; }
.equalizer-bar:nth-child(7) { animation-delay: 0.1s; }

/* ========================================
   TIMELINE STYLES
   ======================================== */

.timeline-line {
  background: linear-gradient(
    to bottom,
    transparent,
    var(--color-neon-cyan) 10%,
    var(--color-neon-cyan) 90%,
    transparent
  );
}

.timeline-dot {
  box-shadow:
    0 0 10px var(--color-neon-yellow),
    0 0 20px var(--color-neon-yellow);
}

/* ========================================
   CARD HOVER EFFECTS
   ======================================== */

.club-card {
  background: linear-gradient(135deg, rgba(123, 0, 255, 0.1), rgba(0, 0, 0, 0.8));
  border: 1px solid rgba(123, 0, 255, 0.3);
  transition: all 0.3s ease;
}

.club-card:hover {
  border-color: var(--color-neon-purple);
  box-shadow:
    0 0 20px rgba(123, 0, 255, 0.3),
    inset 0 0 20px rgba(123, 0, 255, 0.1);
  transform: translateY(-5px);
}

.dj-card {
  background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 0, 0, 0.8));
  border: 1px solid rgba(255, 0, 255, 0.3);
  transition: all 0.3s ease;
}

.dj-card:hover {
  border-color: var(--color-neon-magenta);
  box-shadow:
    0 0 20px rgba(255, 0, 255, 0.3),
    inset 0 0 20px rgba(255, 0, 255, 0.1);
  transform: translateY(-5px);
}

.genre-tag {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 0, 0, 0.8));
  border: 1px solid rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.genre-tag:hover {
  background: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* ========================================
   FORM STYLES
   ======================================== */

.neon-input {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 0, 0.3);
  color: var(--color-white);
  transition: all 0.3s ease;
}

.neon-input:focus {
  outline: none;
  border-color: var(--color-neon-yellow);
  box-shadow:
    0 0 10px rgba(255, 255, 0, 0.3),
    inset 0 0 10px rgba(255, 255, 0, 0.1);
}

.neon-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.neon-button {
  background: transparent;
  border: 2px solid var(--color-neon-yellow);
  color: var(--color-neon-yellow);
  text-shadow: 0 0 10px var(--color-neon-yellow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.neon-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 0, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.neon-button:hover {
  background: rgba(255, 255, 0, 0.1);
  box-shadow:
    0 0 20px rgba(255, 255, 0, 0.5),
    inset 0 0 20px rgba(255, 255, 0, 0.1);
}

.neon-button:hover::before {
  left: 100%;
}

/* ========================================
   HERO BACKGROUND
   ======================================== */

.hero-gradient {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(123, 0, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 0, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    linear-gradient(to bottom, #0a0a0a, #0a0a0a);
}

/* ========================================
   UV GLOW EFFECT
   ======================================== */

.uv-glow {
  position: relative;
}

.uv-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(123, 0, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.uv-glow:hover::after {
  opacity: 1;
}

/* ========================================
   ACCESSIBILITY - Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .neon-pulse,
  .neon-flicker,
  .scroll-indicator,
  .equalizer-bar {
    animation: none !important;
  }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-neon-purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-neon-magenta);
}

/* ========================================
   SELECTION STYLING
   ======================================== */

::selection {
  background: var(--color-neon-magenta);
  color: var(--color-bg);
}

/* ========================================
   GRADIENT TEXT
   ======================================== */

.gradient-text {
  background: linear-gradient(
    90deg,
    var(--color-neon-yellow),
    var(--color-neon-cyan),
    var(--color-neon-magenta)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   LASER BEAM DECORATION
   ======================================== */

.laser-beam {
  position: absolute;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-neon-cyan),
    var(--color-neon-cyan),
    transparent
  );
  opacity: 0.5;
}

/* ========================================
   SMOKE/FOG EFFECT
   ======================================== */

@keyframes fog-drift {
  0% {
    transform: translateX(-10%) translateY(0);
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(10%) translateY(-5%);
    opacity: 0.3;
  }
}

.fog-layer {
  background: radial-gradient(
    ellipse at center,
    rgba(123, 0, 255, 0.1) 0%,
    transparent 70%
  );
  animation: fog-drift 20s ease-in-out infinite alternate;
}
