/* ============================================
   RAVERS R US — IMMERSIVE EDITION
   Deep space rave portal
   ============================================ */

/* --- Design Tokens --- */
:root {
  --bg: #080010;
  --surface: #0f0020;
  --text: #ffffff;
  --accent-1: #ff2d87;       /* hot pink */
  --accent-2: #00f0ff;       /* electric cyan */
  --acid: #ccff00;           /* acid green — easter eggs */
  --muted: rgba(255,255,255,0.45);
  --glow-pink: 0 0 20px #ff2d87, 0 0 60px rgba(255,45,135,0.3);
  --glow-cyan: 0 0 20px #00f0ff, 0 0 60px rgba(0,240,255,0.3);
  --font-display: 'Clash Display', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', 'Inter', sans-serif;
  --font-accent: 'Bebas Neue', 'Impact', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-width: thin; scrollbar-color: var(--accent-1) var(--bg); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-1); border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }

/* Backwards R */
.flipped-r {
  display: inline-block;
  transform: scaleX(-1);
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* Desktop: hide default cursor */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, input { cursor: none; }
}

/* --- Film Grain Overlay --- */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.18;
  mix-blend-mode: overlay;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  clip-path: inset(0 0 0 0);
}
.preloader.tear-open {
  clip-path: inset(50% 0 50% 0);
}
.preloader.done {
  pointer-events: none;
  visibility: hidden;
}
#static-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.preloader-logo {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-logo-img {
  width: clamp(240px, 60vw, 560px);
  height: auto;
  opacity: 0;
  transform: translateY(20px) skewX(-6deg);
  animation: logoReveal 0.6s 0.05s forwards, logoGlitch 2.4s 0.6s infinite;
  filter: drop-shadow(2px 0 0 var(--accent-2)) drop-shadow(-2px 0 0 var(--accent-1)) drop-shadow(0 0 18px rgba(255,45,135,0.45));
}
@keyframes logoReveal {
  to { opacity: 1; transform: translateY(0) skewX(0); }
}
@keyframes logoGlitch {
  0%, 92%, 100% { transform: translate(0, 0); }
  93% { transform: translate(-2px, 0); }
  94% { transform: translate(2px, -1px); }
  95% { transform: translate(-1px, 1px); }
  96% { transform: translate(1px, 0); }
}
.preloader-eq {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 40px;
  z-index: 1;
}
.eq-bar {
  width: 6px;
  background: var(--accent-1);
  border-radius: 2px 2px 0 0;
  height: 0;
  transition: height 0.1s ease;
  box-shadow: 0 0 8px rgba(255,45,135,0.5);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(8,0,16,0.85);
  backdrop-filter: blur(20px);
  padding: 14px 40px;
  border-bottom: 1px solid rgba(255,45,135,0.15);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: var(--glow-pink);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.3s, text-shadow 0.3s;
}
.nav-links a:hover {
  opacity: 1;
  text-shadow: var(--glow-cyan);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(8,0,16,0.96);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,45,135,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(0,240,255,0.1) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8,0,16,0.3) 0%, rgba(8,0,16,0.6) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Floating neon shapes */
.floating-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.float-shape {
  position: absolute;
  opacity: 0.12;
}
.shape-ring {
  width: 200px;
  height: 200px;
  border: 3px solid var(--accent-1);
  border-radius: 50%;
  top: 15%;
  left: 8%;
  animation: floatSlow 12s ease-in-out infinite;
  box-shadow: var(--glow-pink);
}
.shape-ring.ring-2 {
  width: 120px;
  height: 120px;
  border-color: var(--accent-2);
  top: auto;
  bottom: 20%;
  left: auto;
  right: 12%;
  animation-delay: -4s;
  animation-duration: 15s;
  box-shadow: var(--glow-cyan);
}
.shape-diamond {
  width: 60px;
  height: 60px;
  border: 2px solid var(--accent-2);
  top: 30%;
  right: 18%;
  transform: rotate(45deg);
  animation: floatSlow 10s ease-in-out infinite reverse;
  box-shadow: var(--glow-cyan);
}
.shape-cross {
  width: 40px;
  height: 40px;
  bottom: 30%;
  left: 15%;
  animation: floatSlow 14s ease-in-out infinite;
  animation-delay: -6s;
}
.shape-cross::before, .shape-cross::after {
  content: '';
  position: absolute;
  background: var(--accent-1);
  border-radius: 2px;
}
.shape-cross::before { width: 100%; height: 3px; top: 50%; transform: translateY(-50%); }
.shape-cross::after { width: 3px; height: 100%; left: 50%; transform: translateX(-50%); }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-stats.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-family: var(--font-accent);
  font-size: 32px;
  color: var(--accent-2);
  line-height: 1;
}
.hero-stat-label {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 520px) {
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 24px; }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(60px, 14vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
}
.hero-line.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-line:nth-child(2).revealed {
  transition-delay: 0.15s;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--muted);
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-sub.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

/* Vignette on hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

/* --- Magnetic Button --- */
.btn-magnetic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 40px;
  border: 2px solid var(--accent-1);
  border-radius: 60px;
  color: var(--text);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
}
.btn-magnetic.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}
.btn-magnetic:hover {
  background: var(--accent-1);
  box-shadow: var(--glow-pink);
  color: #000;
}
.btn-ticket {
  margin-top: 0;
  padding: 12px 28px;
  font-size: 14px;
  opacity: 1;
  transform: none;
}

/* --- BPM Badge --- */
.bpm-badge {
  position: absolute;
  top: 100px;
  right: 40px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(15,0,32,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,45,135,0.3);
  border-radius: 60px;
  font-family: var(--font-accent);
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--accent-1);
  transition: transform 0.2s;
}
.bpm-badge:hover { transform: scale(1.05); }
.bpm-heart {
  display: inline-block;
  animation: bpmPulse 0.46875s ease-in-out infinite; /* 128 BPM default */
  color: var(--accent-1);
}
@keyframes bpmPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
.bpm-value { font-weight: 700; }
.bpm-label { color: var(--muted); font-size: 14px; }

@media (max-width: 768px) {
  .bpm-badge { top: auto; bottom: 80px; right: 16px; font-size: 15px; padding: 8px 14px; }
  .bpm-badge::after { display: none; }
}

/* --- Ticker Band --- */
.ticker-band {
  overflow: hidden;
  padding: 6px 0;
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ticker {
  overflow: hidden;
  padding: 8px 0;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.ticker-track span {
  flex-shrink: 0;
}
.ticker-pink .ticker-track { color: var(--accent-1); }
.ticker-cyan .ticker-track { color: var(--accent-2); }
.ticker-reverse { animation-direction: reverse; }
.ticker-band:hover .ticker-track { animation-play-state: paused; }

@keyframes tickerScroll {
  to { transform: translateX(-33.333%); }
}

/* --- Section --- */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.section-sub {
  font-family: var(--font-accent);
  font-size: 18px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* --- Reveal animations --- */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-text.visible { opacity: 1; transform: translateY(0); }

.reveal-up {
  opacity: 0;
  transform: translateY(50px) rotate(1deg);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-up.visible { opacity: 1; transform: translateY(0) rotate(0deg); }

/* --- Event Cards --- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 32px;
}
@media (max-width: 520px) {
  .events-grid { grid-template-columns: 1fr; }
}

.event-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.event-card:hover {
  border-color: rgba(255,45,135,0.4);
  box-shadow: var(--glow-pink);
}
.event-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.event-card:hover .event-card-image img {
  transform: scale(1.03);
}

/* Holographic sheen */
.holo-sheen {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from calc(var(--mx, 0.5) * 360deg) at calc(var(--mx, 0.5) * 100%) calc(var(--my, 0.5) * 100%),
    rgba(255,45,135,0.15),
    rgba(0,240,255,0.15),
    rgba(204,255,0,0.1),
    rgba(255,45,135,0.15)
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  mix-blend-mode: screen;
}
.event-card:hover .holo-sheen { opacity: 1; }

.event-card-body {
  padding: 24px;
}
.event-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
}
.event-meta-display {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}
.event-meta-display span {
  font-family: var(--font-accent);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.event-date-display { color: var(--accent-2) !important; }

/* Countdown */
.event-countdown {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.countdown-segment {
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  min-width: 64px;
}
.countdown-segment.urgent {
  background: rgba(255,45,135,0.1);
  border-color: rgba(255,45,135,0.3);
  animation: urgentPulse 1s ease-in-out infinite;
}
@keyframes urgentPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.countdown-num {
  font-family: var(--font-accent);
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--accent-2);
  line-height: 1;
}
.countdown-segment.urgent .countdown-num {
  color: var(--accent-1);
}
.countdown-label {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.countdown-passed {
  font-family: var(--font-accent);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 12px 0;
}

.event-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.price-badge {
  font-family: var(--font-accent);
  font-size: 16px;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 60px;
  background: rgba(255,45,135,0.15);
  border: 1px solid rgba(255,45,135,0.3);
  color: var(--accent-1);
  box-shadow: 0 0 12px rgba(255,45,135,0.2);
}
.price-free {
  background: rgba(0,240,255,0.1);
  border-color: rgba(0,240,255,0.3);
  color: var(--accent-2);
  box-shadow: 0 0 12px rgba(0,240,255,0.2);
}

/* --- Corridor Divider --- */
.corridor-divider {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.corridor-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.corridor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
}
.corridor-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-shadow: var(--glow-pink);
  color: var(--accent-1);
}
/* Fallback when no video */
.corridor-divider:not(:has(video[src])) {
  background:
    radial-gradient(ellipse at center, rgba(255,45,135,0.1) 0%, transparent 70%),
    var(--surface);
}

/* --- Who We Are Section --- */
.who-section { padding: 120px 40px; }
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .who-grid { grid-template-columns: 1fr; gap: 40px; }
  .who-section { padding: 80px 20px; }
}
.who-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.who-image img {
  width: 100%;
  display: block;
  border-radius: 16px;
}
.who-image-glow {
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: conic-gradient(from 0deg, var(--accent-1), var(--accent-2), var(--accent-1));
  z-index: -1;
  opacity: 0.5;
  filter: blur(20px);
  animation: glowRotate 6s linear infinite;
}
@keyframes glowRotate {
  to { filter: blur(20px) hue-rotate(360deg); }
}
.who-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
}
.who-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.who-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.who-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.3s, background 0.3s;
}
.who-badge:hover {
  border-color: rgba(255,45,135,0.3);
  background: rgba(255,45,135,0.06);
}
.who-badge-icon { font-size: 20px; }

/* --- Vibe Section (Parallax Pinned) --- */
.vibe-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 40px;
}
.vibe-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
}
.vibe-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,0,16,0.85) 0%, rgba(8,0,16,0.4) 50%, rgba(8,0,16,0.9) 100%),
    url('../assets/planet-rave-y2k25-photo-8.jpg') center/cover no-repeat;
  filter: brightness(0.4) saturate(0.6);
  transform: scale(1.1);
  z-index: 1;
}
/* If video loads, hide the static bg */
.vibe-section:has(.vibe-video[src]) .vibe-bg {
  background-image: none;
  background-color: transparent;
  filter: none;
}
.vibe-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
}
.vibe-line {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.vibe-line.visible {
  opacity: 1;
  transform: translateY(0);
}
.vibe-accent {
  color: var(--accent-2);
  text-shadow: var(--glow-cyan);
}

/* UV Reveal Easter Egg */
.uv-reveal {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 12px 24px;
}
.uv-text {
  font-family: var(--font-accent);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: transparent;
  transition: all 0.1s;
  user-select: none;
}
.uv-reveal:hover .uv-text {
  color: var(--acid);
  text-shadow: 0 0 10px #ccff00, 0 0 30px rgba(204,255,0,0.4);
}

/* --- Gallery Masonry --- */
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}
@media (max-width: 900px) { .gallery-masonry { columns: 2; } }
@media (max-width: 520px) { .gallery-masonry { columns: 1; } }

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.gallery-stamp {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.25);
  pointer-events: none;
}

/* VHS Hover Effect */
.vhs-hover:hover img {
  animation: vhsGlitch 0.3s steps(2) forwards;
}
@keyframes vhsGlitch {
  0% { filter: hue-rotate(0deg) brightness(1.3) contrast(1.2); transform: scale(1) translateX(2px); }
  25% { filter: hue-rotate(90deg) brightness(1.5) contrast(1.3); transform: scale(1.01) translateX(-3px); }
  50% { filter: hue-rotate(180deg) brightness(1.2) contrast(1.1); transform: scale(1.02) translateX(1px); }
  75% { filter: hue-rotate(270deg) brightness(1.4); transform: scale(1.02) translateX(-1px); }
  100% { filter: hue-rotate(0deg) brightness(0.95) saturate(0.7); transform: scale(1.05); }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 40px;
  color: var(--text);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: var(--text);
  opacity: 0.5;
  transition: opacity 0.2s;
  padding: 20px;
}
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-accent);
  font-size: 16px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* --- Fan Club --- */
.funclub-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px;
  overflow: hidden;
}
.funclub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}
.funclub-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(8,0,16,0.5) 0%, rgba(8,0,16,0.95) 80%);
}
.funclub-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.orb-pink {
  width: 300px;
  height: 300px;
  background: var(--accent-1);
  top: 20%;
  left: -5%;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-cyan {
  width: 250px;
  height: 250px;
  background: var(--accent-2);
  bottom: 10%;
  right: -5%;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}
.funclub-perks {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.perk {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  padding: 6px 16px;
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 60px;
  background: rgba(0,240,255,0.06);
}
.funclub-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 560px;
  width: 100%;
}
.funclub-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.funclub-sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}
.funclub-form { width: 100%; }
.funclub-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.funclub-fields input {
  padding: 16px 24px;
  background: rgba(15,0,32,0.6);
  border: 2px solid rgba(0,240,255,0.2);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.funclub-fields input:focus {
  border-color: var(--accent-2);
  box-shadow: var(--glow-cyan);
}
.funclub-fields input::placeholder {
  color: var(--muted);
}
.funclub-submit {
  width: 100%;
  padding: 18px 32px;
  background: var(--accent-1);
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 60px;
  transition: background 0.3s, box-shadow 0.3s;
}
.funclub-submit:hover {
  background: #ff4da0;
  box-shadow: var(--glow-pink);
}
.funclub-success {
  display: none;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-2);
  text-shadow: var(--glow-cyan);
  padding: 20px;
  animation: successPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.funclub-success.show { display: block; }

@keyframes successPop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 520px) {
  .funclub-input-wrap { flex-direction: column; border-radius: 16px; }
  .funclub-submit { border-radius: 0; }
}

/* --- Footer --- */
.footer {
  position: relative;
  padding: 80px 40px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,45,135,0.08) 0%, transparent 70%);
  animation: footerPulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes footerPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-shadow: var(--glow-pink);
}
.footer-tagline {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--text); }
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  color: var(--muted);
  transition: color 0.3s, text-shadow 0.3s;
}
.footer-socials a:hover {
  color: var(--accent-2);
  filter: drop-shadow(0 0 8px rgba(0,240,255,0.5));
}
.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* --- Cursor Trail --- */
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
}
.trail-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-1);
  pointer-events: none;
  will-change: transform;
}
.trail-dot.main {
  width: 8px;
  height: 8px;
  box-shadow: 0 0 8px var(--accent-1);
}
.trail-dot.ring {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 2px solid var(--accent-1);
  opacity: 0;
  transition: opacity 0.2s, width 0.2s, height 0.2s;
}
.trail-dot.ring.hovering {
  opacity: 0.6;
}
@media (max-width: 768px), (hover: none) {
  .cursor-trail { display: none; }
}

/* --- Konami Code --- */
.konami-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.konami-overlay.active {
  opacity: 1;
  pointer-events: auto;
  animation: strobeFlash 0.125s steps(1) infinite;
}
@keyframes strobeFlash {
  0% { background: #ff2d87; }
  25% { background: #00f0ff; }
  50% { background: #ccff00; }
  75% { background: #080010; }
}
.konami-text {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 100px);
  font-weight: 800;
  color: var(--acid);
  text-shadow: 0 0 30px #ccff00, 0 0 80px rgba(204,255,0,0.5);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s;
}
.konami-overlay.flash .konami-text {
  opacity: 1;
  transform: scale(1);
}
.konami-warning {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10002;
  background: rgba(0,0,0,0.95);
  color: var(--acid);
  font-family: var(--font-accent);
  font-size: 20px;
  letter-spacing: 0.1em;
  padding: 20px 40px;
  border-radius: 12px;
  border: 2px solid var(--acid);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.konami-warning.show { opacity: 1; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .grain-overlay { display: none; }
  .preloader { display: none; }
  .ticker-track { animation: none; }
  .hero-line, .hero-sub, .btn-magnetic, .reveal-text, .reveal-up, .vibe-line {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Mobile polish --- */
@media (max-width: 768px) {
  .section { padding: 60px 20px; }
  .vibe-section { padding: 60px 20px; }
  .funclub-section { padding: 80px 20px; }
  .footer { padding: 48px 20px 24px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}


/* ===== URGENCY BADGES ===== */
.urgency-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 60px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.urgency-tonight {
  background: rgba(255, 45, 135, 0.9);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 45, 135, 0.5);
  animation: urgencyPulse 1.5s ease-in-out infinite;
}

.urgency-weekend {
  background: rgba(0, 240, 255, 0.85);
  color: #000;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}

.urgency-live {
  background: rgba(204, 255, 0, 0.9);
  color: #000;
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.5);
  animation: urgencyPulse 1s ease-in-out infinite;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ff0000;
  border-radius: 50%;
  margin-right: 6px;
  animation: liveBlink 1s steps(1) infinite;
}

@keyframes urgencyPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== VENUE MAP LINK ===== */
.event-venue-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  transition: color 0.3s;
  text-decoration: none;
}

.event-venue-link:hover {
  color: var(--accent-2);
}

.event-venue-link:hover .map-pin {
  color: var(--accent-2);
  filter: drop-shadow(0 0 4px rgba(0, 240, 255, 0.5));
}

.map-pin {
  flex-shrink: 0;
  color: var(--muted);
  transition: color 0.3s, filter 0.3s;
}

/* ===== LINEUP ===== */
.event-lineup {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--accent-2);
  opacity: 0.8;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

/* ===== CALENDAR DROPDOWN ===== */
.event-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-dropdown {
  position: relative;
}

.btn-calendar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: all 0.3s;
}

.btn-calendar:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.calendar-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(20px);
}

.calendar-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.calendar-menu a {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  opacity: 0.7;
  transition: all 0.2s;
}

.calendar-menu a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-2);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  max-width: 800px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(255, 45, 135, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-family: var(--font-accent);
  font-size: 24px;
  color: var(--accent-1);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-item[open] .faq-question {
  color: var(--accent-1);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-answer strong {
  color: var(--accent-2);
}

/* ===== FUN CLUB MEMBER COUNTER ===== */
.funclub-social-proof {
  font-family: var(--font-accent);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.member-count {
  color: var(--accent-2);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
  font-size: 20px;
}

/* ===== EMPTY STATE (no upcoming events) ===== */
.no-events-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(0, 240, 255, 0.2);
  border-radius: 16px;
}

.no-events-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: floatGlow 3s ease-in-out infinite;
}

.no-events-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: 0.08em;
  color: var(--accent-2);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  margin-bottom: 12px;
}

.no-events-text {
  font-size: 16px;
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

@keyframes floatGlow {
  0%, 100% { transform: translateY(0); filter: brightness(1); }
  50% { transform: translateY(-8px); filter: brightness(1.3); }
}

/* ===== VIEW ALL EVENTS LINK ===== */
.events-view-all {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px 0;
}

.btn-view-all {
  font-size: 18px;
  letter-spacing: 0.1em;
}

/* ===== PAST EVENTS ("You Missed It") ===== */
.past-events-header {
  margin-top: 80px;
}

.events-grid-past {
  opacity: 0.7;
}

.event-card-past {
  position: relative;
}

.event-card-past .event-card-image img {
  filter: grayscale(60%) brightness(0.7);
  transition: filter 0.4s ease;
}

.event-card-past:hover .event-card-image img {
  filter: grayscale(20%) brightness(0.85);
}

.past-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.15em;
  padding: 6px 14px;
  background: rgba(255, 45, 135, 0.85);
  color: #fff;
  border-radius: 60px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 16px rgba(255, 45, 135, 0.4);
  z-index: 2;
}

.past-cta-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.btn-past {
  font-size: 14px;
  opacity: 0.8;
}

.btn-past:hover {
  opacity: 1;
}


/* ===== INSTAGRAM TEASER SECTION ===== */
.ig-section {
  max-width: 900px;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.ig-tile {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ig-blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(16px) saturate(0.5);
  -webkit-backdrop-filter: blur(16px) saturate(0.5);
  background: rgba(8, 0, 16, 0.3);
}

/* Lock overlay centered on the grid */
.ig-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
  padding: 24px;
}

.ig-lock-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text);
  background: rgba(8, 0, 16, 0.4);
  backdrop-filter: blur(10px);
}

.ig-lock-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.ig-lock-sub {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.ig-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 60px;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(253, 29, 29, 0.3);
}

.ig-follow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(253, 29, 29, 0.45);
}

.ig-follow-btn svg {
  flex-shrink: 0;
}

/* Stats row under grid */
.ig-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.ig-stat-label {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}

.ig-stat-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 520px) {
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Hide last two tiles on mobile for 2x2 grid */
  .ig-tile:nth-child(n+5) {
    display: none;
  }
  .ig-stats {
    gap: 16px;
  }
  .ig-stat-label {
    font-size: 11px;
  }
}

/* ===== GALLERY PARALLAX ENHANCEMENT ===== */
.gallery-item {
  will-change: transform;
}

/* ===== EVENT NAME LINKS ===== */
.event-name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.event-name-link:hover {
  color: var(--accent-2);
}


/* ===== GALLERY STORY MODE ===== */

/* Story hint on gallery items */
.story-hint {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gallery-item:hover .story-hint {
  opacity: 1;
}

/* Story overlay */
.story-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.story-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Progress bar */
.story-progress {
  position: absolute;
  top: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 3px;
  z-index: 10;
}

.story-seg {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  overflow: hidden;
}

.story-seg.done {
  background: rgba(255, 255, 255, 0.8);
}

.story-seg.active {
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}

.story-seg.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  animation: storyFill 4s linear forwards;
}

@keyframes storyFill {
  from { width: 0; }
  to { width: 100%; }
}

/* Close button */
.story-close {
  position: absolute;
  top: 24px;
  right: 20px;
  z-index: 10;
  font-size: 32px;
  color: #fff;
  opacity: 0.7;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.story-close:hover { opacity: 1; }

/* Content */
.story-content {
  position: relative;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
}

.story-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

/* Caption */
.story-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  border-radius: 0 0 8px 8px;
}

.story-time {
  font-family: var(--font-accent);
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--accent-2);
  display: block;
  margin-bottom: 4px;
}

.story-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* Nav arrows */
.story-prev, .story-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  opacity: 0.3;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px;
  transition: opacity 0.2s;
  z-index: 5;
}

.story-prev:hover, .story-next:hover { opacity: 0.8; }
.story-prev { left: 8px; }
.story-next { right: 8px; }

@media (max-width: 768px) {
  .story-prev, .story-next { display: none; } /* Use tap zones on mobile */
  .story-content { max-width: 100%; }
  .story-img { border-radius: 0; max-height: 100vh; }
  .story-caption { border-radius: 0; }
}


/* ===== LIVE VIEWER COUNT ===== */
.live-viewers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}

.viewer-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: viewerPulse 2s ease-in-out infinite;
}

@keyframes viewerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.viewer-count {
  color: var(--text);
  font-weight: 700;
}

/* ===== SELLING FAST BADGE ===== */
.selling-fast-badge {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #FFD700;
  margin-left: 8px;
  animation: sellingPulse 2s ease-in-out infinite;
}

@keyframes sellingPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}


/* ===== HERO COUNTDOWN TAKEOVER ===== */

.hero-takeover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 0, 16, 0.7);
  backdrop-filter: blur(4px);
  animation: takeoverFadeIn 1s ease forwards;
}

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

.hero-imminent {
  border-bottom: 2px solid var(--accent-1);
  box-shadow: inset 0 -40px 80px rgba(255, 45, 135, 0.1);
}

.takeover-content {
  text-align: center;
  padding: 20px;
}

.takeover-label {
  font-family: var(--font-accent);
  font-size: 18px;
  letter-spacing: 0.3em;
  color: var(--accent-1);
  display: block;
  margin-bottom: 12px;
  animation: takePulse 2s ease-in-out infinite;
}

@keyframes takePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.takeover-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 32px;
}

/* Countdown */
.takeover-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.takeover-unit {
  text-align: center;
}

.takeover-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 12vw, 100px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.takeover-lbl {
  display: block;
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 4px;
}

.takeover-sep {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 72px);
  color: var(--muted);
  opacity: 0.3;
  line-height: 1;
  padding-bottom: 20px;
}

.takeover-live {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 800;
  color: var(--acid);
  text-shadow: 0 0 30px rgba(204, 255, 0, 0.5);
  animation: liveFlash 1s ease-in-out infinite;
}

@keyframes liveFlash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.takeover-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-accent);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 32px;
}

.takeover-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.takeover-cta {
  display: inline-flex;
  align-items: center;
  padding: 18px 48px;
  background: var(--accent-1);
  color: #000;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s;
  animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 45, 135, 0.3); }
  50% { box-shadow: 0 0 40px rgba(255, 45, 135, 0.6), 0 0 80px rgba(255, 45, 135, 0.2); }
}

.takeover-cta:hover {
  background: #ff4da0;
  transform: scale(1.05);
}

.takeover-details {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.takeover-details:hover { color: var(--text); }

@media (max-width: 768px) {
  .takeover-meta { font-size: 12px; gap: 8px; }
  .takeover-sep { font-size: 36px; padding-bottom: 14px; }
}


/* ===== "I'M GOING" BUTTON ===== */
.im-going-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 60px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 16px;
}

.im-going-btn:hover:not(.committed) {
  border-color: var(--accent-2);
  color: var(--accent-2);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.15);
}

.im-going-btn.committed {
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.08);
  color: var(--accent-2);
  cursor: default;
}

.going-hand {
  font-size: 16px;
}

.going-check {
  font-size: 14px;
  color: var(--accent-2);
}


/* ===== COMMUNITY SHOUTBOARD ===== */
.shoutboard-section {
  max-width: 700px;
}

.shoutboard-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-1) transparent;
}

.shout-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.3s;
}

.shout-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.shout-new {
  animation: shoutSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-color: rgba(0, 240, 255, 0.2);
}

@keyframes shoutSlideIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.shout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.shout-author {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.shout-time {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.shout-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  word-break: break-word;
}

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

.shoutboard-input {
  padding: 14px 18px;
  background: rgba(15, 0, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.shoutboard-input:focus {
  border-color: rgba(0, 240, 255, 0.3);
}

.shoutboard-input::placeholder {
  color: var(--muted);
}

.shoutboard-name {
  max-width: 200px;
}

.shoutboard-msg-wrap {
  position: relative;
}

.shoutboard-message {
  width: 100%;
}

.shoutboard-charcount {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-family: var(--font-accent);
  font-size: 12px;
  color: var(--muted);
  pointer-events: none;
}

.shoutboard-submit {
  align-self: flex-start;
  padding: 12px 28px;
  background: var(--accent-1);
  color: #000;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}

.shoutboard-submit:hover {
  background: #ff4da0;
  box-shadow: 0 0 16px rgba(255, 45, 135, 0.3);
}

@media (max-width: 520px) {
  .shoutboard-name { max-width: 100%; }
}

/* ===== AMBIENT AUDIO v3 — ARTIST SPOTLIGHT ===== */

/* Artist info panel (appears below BPM badge when playing) */
.audio-artist-info {
  position: fixed;
  top: 160px;
  right: 40px;
  background: rgba(15, 0, 32, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 45, 135, 0.3);
  border-radius: 12px;
  padding: 16px;
  min-width: 220px;
  max-width: 280px;
  text-align: right;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.audio-artist-info.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.audio-artist-info.flash {
  animation: artistFlash 0.6s ease;
}

@keyframes artistFlash {
  0% { border-color: rgba(255, 45, 135, 0.6); }
  100% { border-color: rgba(255, 45, 135, 0.2); }
}

.audio-artist-name {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.audio-artist-track {
  display: block;
  font-family: var(--font-body, inherit);
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.audio-artist-genre {
  display: block;
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.audio-artist-link,
.audio-artist-event {
  display: block;
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.3s;
  margin-top: 6px;
}

.audio-artist-link:hover,
.audio-artist-event:hover {
  color: var(--accent-1);
}

/* Genre label on badge (simpler fallback) */
.audio-genre-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent-2);
  opacity: 0;
  margin-left: 6px;
  transition: opacity 0.3s;
}

.bpm-badge.audio-active .audio-genre-label {
  opacity: 1;
}

/* Tooltip update */
.bpm-badge::after {
  content: 'TAP TO PLAY · HOLD TO STOP';
}

/* Mobile: position artist info differently */
@media (max-width: 768px) {
  .audio-artist-info {
    right: auto;
    left: 0;
    text-align: left;
    min-width: 180px;
  }
}



/* ===== EXIT-INTENT POPUP ===== */
.exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.exit-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.exit-popup {
  position: relative;
  max-width: 440px;
  width: 90%;
  background: var(--surface);
  border: 1px solid rgba(255, 45, 135, 0.3);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 0 60px rgba(255, 45, 135, 0.15);
  animation: popupIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.exit-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s;
}

.exit-close:hover { color: var(--text); }

.exit-emoji {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.exit-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.exit-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.exit-form {
  display: flex;
  gap: 8px;
}

.exit-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(8, 0, 16, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 60px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}

.exit-input:focus {
  border-color: var(--accent-2);
}

.exit-input::placeholder { color: var(--muted); }

.exit-submit {
  padding: 14px 24px;
  background: var(--accent-1);
  color: #000;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s;
}

.exit-submit:hover {
  background: #ff4da0;
}

.exit-dismiss {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
}

.exit-dismiss:hover { opacity: 0.8; }


/* ===== PAGE TRANSITIONS ===== */

/* Fade out on navigation exit (fallback for non-View-Transitions browsers) */
body.page-exit {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* View Transitions API (Chrome 111+) */
::view-transition-old(root) {
  animation: pageOut 0.2s ease forwards;
}

::view-transition-new(root) {
  animation: pageIn 0.3s ease forwards;
}

@keyframes pageOut {
  to { opacity: 0; }
}

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


/* ===== ACCESSIBILITY ===== */

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-1);
  color: #000;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0 0 8px 8px;
  z-index: 10001;
  transition: top 0.2s;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Focus-visible styles for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* Remove outline for mouse clicks */
*:focus:not(:focus-visible) {
  outline: none;
}

/* Ensure interactive elements have visible focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Custom cursor: re-enable for keyboard users */
@media (hover: hover) and (pointer: fine) {
  *:focus-visible {
    cursor: auto;
  }
}


/* ===== REFERRAL SYSTEM ===== */
.referral-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.referral-label {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 10px;
}

.referral-link-wrap {
  display: flex;
  gap: 8px;
}

.referral-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(8, 0, 16, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 8px;
  color: var(--accent-2);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}

.referral-copy {
  padding: 10px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.referral-copy:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}
/* ===== MOBILE OPTIMIZATION v14 ===== */

/* Ensure minimum touch targets everywhere */
@media (max-width: 768px) {

  /* Forms: inputs at least 48px tall */
  .funclub-fields input,
  .shoutboard-input,
  .quiz-input,
  .exit-input,
  .photo-submit-input {
    min-height: 48px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* Buttons: at least 48px */
  .funclub-submit,
  .shoutboard-submit,
  .quiz-submit,
  .exit-submit,
  .btn-ticket,
  .btn-magnetic,
  .im-going-btn,
  .filter-btn,
  .photo-submit-btn {
    min-height: 48px;
  }

  /* BPM badge + artist panel */
  .bpm-badge {
    padding: 8px 14px;
    font-size: 14px;
  }

  .audio-artist-info {
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 260px;
    text-align: center;
  }

  .audio-artist-info.visible {
    transform: translateX(-50%) translateY(0);
  }

  /* Event card actions: stack on small screens */
  .event-actions {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .event-actions-right {
    width: 100%;
    justify-content: space-between;
  }

  /* Calendar dropdown: position above on mobile to avoid overflow */
  .calendar-menu {
    bottom: auto;
    top: calc(100% + 8px);
    right: 0;
  }

  /* Exit intent popup: full width on mobile */
  .exit-popup {
    width: 95%;
    padding: 32px 20px;
  }

  .exit-form {
    flex-direction: column;
  }

  .exit-submit {
    width: 100%;
  }

  /* Shoutboard: full width name field */
  .shoutboard-name {
    max-width: 100%;
  }

  /* Related events: single column */
  .ed-related-grid {
    grid-template-columns: 1fr;
  }

  /* Quiz options: ensure tappable */
  .quiz-option {
    min-height: 80px;
    padding: 20px 16px;
  }

  /* Gallery story: full screen with safe areas */
  .story-overlay {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }

  /* Hero stats: prevent wrap collapse */
  .hero-stats {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Ticker: prevent text from being cut */
  .ticker-track {
    font-size: 12px;
  }

  /* Fix any potential horizontal overflow */
  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Countdown segments: smaller on mobile */
  .countdown-segment {
    min-width: 56px;
    padding: 6px 10px;
  }

  .countdown-num {
    font-size: 22px;
  }

  /* Takeover: adjust for mobile */
  .takeover-meta {
    font-size: 11px;
    gap: 6px;
  }

  .takeover-cta {
    padding: 14px 32px;
    font-size: 15px;
  }
}

/* Small phones (iPhone SE, etc.) */
@media (max-width: 375px) {
  .hero-title {
    font-size: 50px;
  }

  .section {
    padding: 40px 16px;
  }

  .quiz-option-label {
    font-size: 18px;
  }

  .takeover-num {
    font-size: 48px;
  }

  .hype-title {
    font-size: 32px;
  }
}

/* Safe area for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer-bottom {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .nav {
    padding-top: calc(20px + env(safe-area-inset-top));
  }

  @media (max-width: 768px) {
    .nav {
      padding-top: calc(16px + env(safe-area-inset-top));
    }
  }
}

/* Prevent horizontal scroll globally */
html, body {
  overflow-x: hidden;
}
/* ===== CROSS-LINK BANNERS ===== */
.cross-link-banner {
  text-align: center;
  padding: 24px 20px;
  margin-top: 32px;
}

.cross-link-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  margin-right: 12px;
}

.cross-link-cta {
  font-family: var(--font-accent);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  transition: opacity 0.3s;
}

.cross-link-cta:hover {
  opacity: 0.8;
}

@media (max-width: 520px) {
  .cross-link-banner {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .cross-link-text { margin-right: 0; }
}
/* ===== CHATBOT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
}

.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 45, 135, 0.4);
  transition: all 0.3s;
  color: #000;
}

.chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(255, 45, 135, 0.5);
}

.chat-icon-close { display: none; }
.chat-widget.open .chat-icon-open { display: none; }
.chat-widget.open .chat-icon-close { display: block; }

/* Chat window */
.chat-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  max-height: 500px;
  background: var(--surface);
  border: 1px solid rgba(255, 45, 135, 0.2);
  border-radius: 16px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.chat-widget.open .chat-window {
  display: flex;
  animation: chatIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.chat-header {
  padding: 16px 20px;
  background: rgba(255, 45, 135, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-header-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.chat-header-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-1) transparent;
}

.chat-msg p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.chat-bot p {
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  border-radius: 16px 16px 16px 4px;
  color: rgba(255, 255, 255, 0.85);
}

.chat-user p {
  background: var(--accent-1);
  color: #000;
  padding: 12px 16px;
  border-radius: 16px 16px 4px 16px;
  margin-left: auto;
  max-width: 80%;
}

.chat-msg.typing p {
  opacity: 0.4;
  animation: typingDots 1s ease-in-out infinite;
}

@keyframes typingDots {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* Input */
.chat-input-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(8, 0, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 60px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.chat-input:focus {
  border-color: rgba(0, 240, 255, 0.3);
}

.chat-input::placeholder { color: var(--muted); }

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  flex-shrink: 0;
  transition: background 0.3s;
}

.chat-send:hover { background: #ff4da0; }

/* Mobile */
@media (max-width: 768px) {
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .chat-window {
    width: calc(100vw - 32px);
    max-height: 70vh;
    right: -8px;
  }

  .chat-toggle {
    width: 48px;
    height: 48px;
  }
}

/* ===== ARTIST LINKS ===== */
a.ed-artist {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}
a.ed-artist:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

/* ===== PUSH NOTIFICATION BANNER ===== */
.push-banner {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 390;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.push-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.push-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-width: 380px;
}

.push-banner-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.push-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.push-banner-text strong {
  font-size: 14px;
  color: var(--text);
}

.push-banner-text span {
  font-size: 12px;
  color: var(--muted);
}

.push-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.push-accept {
  padding: 8px 16px;
  background: var(--accent-2);
  color: #000;
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s;
}

.push-accept:hover {
  background: #33f5ff;
}

.push-dismiss {
  padding: 6px 12px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.push-dismiss:hover {
  color: var(--text);
}

@media (max-width: 768px) {
  .push-banner {
    right: 16px;
    left: 16px;
    bottom: 80px;
  }

  .push-banner-content {
    max-width: 100%;
  }
}

/* ===== HEAR THE NIGHT (event page CTA) ===== */
.ed-hear-the-night {
  position: relative;
  margin: 0 0 32px;
  padding: 28px 28px 32px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.16) 0%, rgba(255, 45, 135, 0.14) 60%, rgba(15, 0, 32, 0.6) 100%);
  border: 1px solid rgba(29, 185, 84, 0.35);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(29, 185, 84, 0.08);
}
.ed-hear-the-night::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(80% 80% at 0% 0%, rgba(29, 185, 84, 0.35), transparent 60%),
              radial-gradient(80% 80% at 100% 100%, rgba(255, 45, 135, 0.30), transparent 60%);
  pointer-events: none;
  opacity: 0.9;
  z-index: 0;
}
.ed-htn-inner { position: relative; z-index: 1; }
.ed-htn-kicker {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #1db954;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.ed-htn-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: 0.01em;
}
.ed-htn-sub {
  font-family: var(--font-body, inherit);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 18px;
  max-width: 62ch;
}
.ed-htn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #1db954;
  color: #000;
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 6px 24px rgba(29, 185, 84, 0.35);
}
.ed-htn-cta:hover {
  transform: translateY(-2px);
  background: #1ed760;
  box-shadow: 0 10px 32px rgba(29, 185, 84, 0.5);
}
.ed-htn-arrow { transition: transform 0.2s ease; }
.ed-htn-cta:hover .ed-htn-arrow { transform: translateX(3px); }
.ed-htn-microcopy {
  margin: 12px 0 0;
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .ed-hear-the-night { padding: 22px 20px 24px; }
  .ed-htn-cta { padding: 12px 18px; font-size: 12px; }
}

/* ===== Hear the lineup chip (homepage event card) ===== */
.event-lineup-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 5px 10px;
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1db954;
  background: rgba(29, 185, 84, 0.1);
  border: 1px solid rgba(29, 185, 84, 0.35);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.event-lineup-preview:hover {
  background: rgba(29, 185, 84, 0.18);
  color: #1ed760;
  transform: translateY(-1px);
}
.event-lineup-preview svg { flex-shrink: 0; }


/* ===== BPM badge: artist+track inline label (PRIMARY DISPLAY when playing) ===== */
.bpm-badge .bpm-now-playing {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 45, 135, 0.35);
  line-height: 1.2;
  text-align: left;
  max-width: 200px;
  overflow: hidden;
}
.bpm-badge.audio-active .bpm-now-playing { display: flex; }
.bpm-badge .bpm-np-artist {
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.bpm-badge .bpm-np-track {
  font-family: var(--font-body, inherit);
  font-size: 10px;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* Mobile overrides for artist info panel */
@media (max-width: 768px) {
  .audio-artist-info {
    top: auto;
    bottom: 150px;
    right: 16px;
    left: auto;
    max-width: calc(100vw - 32px);
  }
  .bpm-badge .bpm-now-playing { max-width: 140px; }
  .bpm-badge .bpm-np-artist,
  .bpm-badge .bpm-np-track { max-width: 140px; }
}

/* ===== Logo image (brand mark) ===== */
.nav-logo .logo-img { height: 24px; width: auto; display: block; filter: drop-shadow(0 0 8px rgba(255, 45, 135, 0.35)); }
.footer-logo .logo-img { height: 44px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(255, 45, 135, 0.35)); }
.error-logo .logo-img { height: 40px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(255, 45, 135, 0.35)); }
@media (max-width: 768px) {
  .nav-logo .logo-img { height: 20px; }
  .footer-logo .logo-img { height: 36px; }
  .error-logo .logo-img { height: 32px; }
}

/* Hero logo (replaces text) */
.hero-logo-img {
  display: block;
  margin: 0 auto;
  width: clamp(280px, 68vw, 860px);
  height: auto;
  max-width: 100%;
  filter: none;
}
/* Override .hero-line translate reveal — causes ghost compositing on large SVG */
.hero-logo-img.hero-line {
  opacity: 0;
  transform: none;
  transition: opacity 0.6s ease-out;
  will-change: opacity;
}
.hero-logo-img.hero-line.revealed {
  opacity: 1;
  transform: none;
}
@media (max-width: 768px) {
  .hero-logo-img { width: clamp(240px, 82vw, 520px); }
}

/* ===== Expandable Spotify embed (homepage event card) ===== */
.event-spotify-wrap { margin-top: 4px; }
.event-spotify-wrap summary { list-style: none; cursor: pointer; user-select: none; }
.event-spotify-wrap summary::-webkit-details-marker { display: none; }
.event-spotify-wrap summary::marker { content: ''; }
.event-spotify-wrap .elp-open { display: none; }
.event-spotify-wrap[open] .elp-closed { display: none; }
.event-spotify-wrap[open] .elp-open { display: inline; }
.event-spotify-embed {
  margin-top: 10px;
  animation: spotifyFadeIn 0.35s ease;
}
.event-spotify-embed iframe { display: block; }
.event-spotify-full {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 4px 0;
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1db954;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.event-spotify-full:hover { opacity: 1; color: #1ed760; }
@keyframes spotifyFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.ed-htn-embed { margin-top: 20px; max-width: 700px; margin-left: auto; margin-right: auto; }
.ed-htn-embed iframe { display: block; }


/* ===== Animated layered logo (Toys R Us style) ===== */
.logo-stage {
  position: relative;
  width: clamp(260px, 64vw, 820px);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(2px, 0.6vw, 8px);
  pointer-events: auto;
  transform-style: preserve-3d;
}
.logo-letter {
  position: relative;
  height: clamp(56px, 11vw, 154px);
  width: auto;
  flex: 0 0 auto;
  transform-origin: 50% 100%;
  opacity: 0;
  animation:
    letter-drop 0.9s cubic-bezier(.34,1.56,.64,1) calc(var(--i) * 0.08s) forwards,
    letter-idle 2.6s ease-in-out calc(1s + var(--i) * 0.13s) infinite;
  will-change: transform, opacity;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}
/* Give the middle 'R' a bigger presence on hover */
.logo-letter--hero { z-index: 2; }

@keyframes letter-drop {
  0%   { opacity: 0; transform: translateY(-120%) scale(0.4) rotate(-30deg); }
  55%  { opacity: 1; transform: translateY(8%)   scale(1.12) rotate(4deg); }
  75%  {             transform: translateY(-4%)  scale(0.96) rotate(-2deg); }
  100% { opacity: 1; transform: translateY(0)    scale(1)    rotate(0deg); }
}
@keyframes letter-idle {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25%      { transform: translateY(-3%) rotate(-1.2deg) scale(1.015); }
  50%      { transform: translateY(0)   rotate(0.8deg)  scale(0.99); }
  75%      { transform: translateY(-2%) rotate(-0.5deg) scale(1.01); }
}

/* Hover: each letter squashes independently */
.logo-stage:hover .logo-letter {
  animation-play-state: paused;
}
.logo-stage:hover .logo-letter {
  animation: letter-bounce 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--i) * 0.04s);
}
@keyframes letter-bounce {
  0%   { transform: translateY(0)    scale(1, 1); }
  25%  { transform: translateY(-18%) scale(0.88, 1.18); }
  55%  { transform: translateY(6%)   scale(1.14, 0.88); }
  80%  { transform: translateY(-4%)  scale(0.97, 1.03); }
  100% { transform: translateY(0)    scale(1, 1); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .logo-letter {
    animation: letter-fade 0.6s ease-out calc(var(--i) * 0.05s) forwards !important;
  }
  @keyframes letter-fade { to { opacity: 1; transform: none; } }
  .logo-stage:hover .logo-letter { animation: none; }
}

@media (max-width: 768px) {
  .logo-stage { width: 94vw; max-width: 520px; gap: 0; }
  .logo-letter { height: clamp(34px, 10.5vw, 70px); }
}
@media (max-width: 420px) {
  .logo-letter { height: clamp(30px, 9.8vw, 50px); }
}

/* ===== Split-char reveal ===== */
.split-word {
  display: inline-block;
  white-space: nowrap;
}
.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(8deg) scale(0.85);
  transition: opacity 0.6s cubic-bezier(.34,1.56,.64,1), transform 0.6s cubic-bezier(.34,1.56,.64,1);
  transition-delay: calc(var(--ci, 0) * 0.03s);
  will-change: transform, opacity;
}
.split-revealed .split-char {
  opacity: 1;
  transform: translateY(0) rotate(0) scale(1);
}

/* Mat magnetic move needs a wrapper on .section-title since it has translate already */
.section-title {
  transition: transform 0.3s cubic-bezier(.25,1,.5,1);
}
.btn-magnetic {
  transition: transform 0.35s cubic-bezier(.25,1,.5,1), background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn-magnetic:hover {
  transition: transform 0.2s, background 0.3s, color 0.3s, box-shadow 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .split-char { opacity: 1 !important; transform: none !important; }
}

/* ===== ARTIST PROFILE — BPM + LOOP ===== */
.ap-bpm {
  display: flex; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap;
}
.ap-bpm-badge {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 8px 14px; border: 1px solid rgba(255, 45, 135, 0.6);
  border-radius: 60px; background: rgba(8, 0, 16, 0.6);
  font-family: var(--font-accent); letter-spacing: 0.1em;
}
.ap-bpm-badge .bpm-value { font-size: 22px; font-weight: 700; color: #ff2d87; }
.ap-bpm-badge .bpm-unit  { font-size: 12px; color: #fff; opacity: 0.7; }
.ap-bpm-badge .ap-bpm-genre { margin-left: 10px; font-size: 11px; color: #00f0ff; }
.ap-loop-btn {
  font-family: var(--font-accent); letter-spacing: 0.12em; font-size: 13px;
  padding: 10px 18px; border-radius: 60px; cursor: pointer;
  background: transparent; color: #ccff00; border: 1px solid #ccff00;
  transition: all 0.2s ease;
}
.ap-loop-btn:hover, .ap-loop-btn.playing {
  background: #ccff00; color: #000; box-shadow: 0 0 16px rgba(204, 255, 0, 0.5);
}

/* FLYER WALL — /events upcoming grid only */
.events-flyer-wall { gap: 44px 36px; padding: 12px 4px 32px; }

.events-flyer-wall .event-card {
  position: relative;
  --flyer-rot: 0deg;
  transform: rotate(var(--flyer-rot));
  transform-origin: 50% 50%;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.35);
}
.events-flyer-wall .event-card:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 5;
  border-color: rgba(255,45,135,0.55);
  box-shadow:
    0 0 0 1px rgba(0,240,255,0.35),
    0 0 28px rgba(255,45,135,0.35),
    0 0 48px rgba(0,240,255,0.22),
    0 18px 36px rgba(0,0,0,0.55);
}
.events-flyer-wall .event-card::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(0,240,255,0.5); opacity: 0; transition: opacity 0.25s ease;
}
.events-flyer-wall .event-card:hover::after {
  opacity: 1; animation: rru-flyer-ripple 1.1s ease-out infinite;
}
@keyframes rru-flyer-ripple {
  0%   { box-shadow: 0 0 0 0   rgba(0,240,255,0.5); }
  100% { box-shadow: 0 0 0 22px rgba(0,240,255,0);  }
}
@media (max-width: 639px) {
  .events-flyer-wall .event-card { transform: none !important; box-shadow: 0 6px 18px rgba(0,0,0,0.4); }
  .events-flyer-wall .event-card:hover { transform: scale(1.01) !important; }
  .events-flyer-wall .event-card:hover::after { animation: none; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .events-flyer-wall .event-card { transform: none !important; transition: box-shadow 0.3s ease, border-color 0.3s ease; }
  .events-flyer-wall .event-card:hover { transform: none !important; }
  .events-flyer-wall .event-card:hover::after { animation: none; opacity: 0; }
}

/* FLYER WALL — cards are above fold, skip reveal-up opacity dance */
.events-flyer-wall .event-card.reveal-up {
  opacity: 1;
  transform: rotate(var(--flyer-rot));
}
.events-flyer-wall .event-card.reveal-up.visible {
  transform: rotate(var(--flyer-rot));
}

/* FLYER WALL — center + cap width when only one upcoming card */
.events-flyer-wall .event-card:only-child {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 460px;
  width: 100%;
}

/* KONAMI FOG MACHINE */
.rru-fog-overlay {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(255,45,135,0.35), transparent 55%),
    radial-gradient(ellipse at 70% 40%, rgba(0,240,255,0.30), transparent 60%),
    radial-gradient(ellipse at 50% 90%, rgba(204,255,0,0.18), transparent 65%),
    rgba(255,255,255,0.08);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  transition: opacity 0.4s ease;
}
.rru-fog-overlay.active { animation: rru-fog-sweep 3s ease-in-out forwards; }
@keyframes rru-fog-sweep {
  0%   { opacity: 0; backdrop-filter: blur(0px);  transform: translateY(10%) scale(1.1); }
  15%  { opacity: 1; backdrop-filter: blur(6px); }
  70%  { opacity: 1; backdrop-filter: blur(8px); transform: translateY(-6%) scale(1.2); }
  100% { opacity: 0; backdrop-filter: blur(0px); transform: translateY(-12%) scale(1.25); }
}
.rru-konami-toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  z-index: 9999; padding: 14px 22px;
  background: #080010; border: 2px solid #ccff00; color: #ccff00;
  font-family: var(--font-accent); letter-spacing: 0.15em; font-size: 14px; text-transform: uppercase;
  box-shadow: 0 0 28px rgba(204,255,0,0.55), 0 0 60px rgba(255,45,135,0.25);
  opacity: 0; transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.rru-konami-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
  .rru-fog-overlay.active { animation: none; opacity: 0; }
  .rru-konami-toast { transition: opacity 0.2s ease; }
}

/* CURSOR GLOWSTICK */
.rru-glowstick-dot {
  position: fixed; width: 12px; height: 12px; border-radius: 50%;
  pointer-events: none; z-index: 9997;
  transform: translate(-50%, -50%); mix-blend-mode: screen;
  will-change: opacity, transform;
}
@media (prefers-reduced-motion: reduce) { .rru-glowstick-dot { display: none; } }
@media (hover: none), (pointer: coarse) { .rru-glowstick-dot { display: none; } }

/* ---------- BPM PULSE BAR ---------- */
.rru-pulse-bar {
  position: fixed; left: 0; right: 0; bottom: 0; height: 2px;
  z-index: 9996; pointer-events: none;
  background: linear-gradient(90deg, #ff2d87 0%, #00f0ff 50%, #ccff00 100%);
  transform-origin: center bottom; opacity: 0.85;
}
.rru-pulse-bar.softened { opacity: 0.3; }
.rru-pulse-bar.pulsing {
  animation-name: rru-pulse-bar-beat;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
.rru-pulse-bar.softened.pulsing { animation: none; }
@keyframes rru-pulse-bar-beat {
  0%, 100% { transform: scaleY(1); }
  20%      { transform: scaleY(2.2); }
  50%      { transform: scaleY(1); }
}
.rru-pulse-bar.static { animation: none; }
@media (prefers-reduced-motion: reduce) { .rru-pulse-bar { animation: none !important; } }

/* ---------- ARTISTS INDEX PAGE ---------- */
.artists-index { padding: 140px 24px 100px; max-width: 1280px; margin: 0 auto; }
.ai-hero { text-align: center; margin-bottom: 72px; }
.ai-kicker { color: #ff2d87; font-size: 12px; letter-spacing: 0.3em; margin: 0 0 12px; text-transform: uppercase; font-weight: 600; }
.ai-title { font-family: 'Clash Display', 'Bebas Neue', sans-serif; font-weight: 800; font-size: clamp(56px, 14vw, 160px); letter-spacing: 0.01em; line-height: 0.9; margin: 0; background: linear-gradient(135deg, #fff 0%, #ff2d87 50%, #00f0ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff; }
.ai-sub { color: #a7a2b8; font-size: 18px; margin: 18px 0 0; }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 80px; }
.ai-card { --ai-accent: #ff2d87; display: block; background: linear-gradient(145deg, #18001e 0%, #0c0014 100%); border: 1px solid rgba(167, 162, 184, 0.12); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.35s ease, box-shadow 0.35s ease; position: relative; }
.ai-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, var(--ai-accent), transparent 60%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; mix-blend-mode: screen; }
.ai-card:hover { transform: translateY(-6px); border-color: var(--ai-accent); box-shadow: 0 24px 40px -16px rgba(0,0,0,0.6), 0 0 30px -10px var(--ai-accent); }
.ai-card:hover::before { opacity: 0.25; }
.ai-card-tile { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; font-family: 'Clash Display', 'Bebas Neue', sans-serif; font-weight: 800; font-size: clamp(80px, 14vw, 140px); color: var(--ai-accent); letter-spacing: 0.02em; background: radial-gradient(circle at 30% 30%, rgba(255, 45, 135, 0.12), transparent 55%), radial-gradient(circle at 75% 75%, rgba(0, 240, 255, 0.08), transparent 55%), #080010; position: relative; overflow: hidden; text-shadow: 0 0 40px var(--ai-accent); transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.ai-card-tile::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 3px); pointer-events: none; }
.ai-card:hover .ai-card-tile { transform: scale(1.06); }
.ai-card-body { padding: 18px 20px 22px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.ai-card-name { font-family: 'Bebas Neue', 'DM Sans', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: 0.04em; margin: 0; color: #fff; line-height: 1; }
.ai-card-meta { color: #a7a2b8; font-size: 11px; letter-spacing: 0.18em; margin: 8px 0 0; text-transform: uppercase; }
.ai-card-meta .ai-bpm { color: var(--ai-accent); font-weight: 700; }
.ai-footer-cta { text-align: center; padding: 60px 20px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.ai-footer-cta p { color: #a7a2b8; font-size: 16px; margin: 0 0 20px; }
.ai-cta-btn { display: inline-block; padding: 14px 32px; background: linear-gradient(90deg, #ff2d87, #00f0ff); color: #080010; font-family: 'Bebas Neue', sans-serif; font-weight: 700; letter-spacing: 0.12em; text-decoration: none; border-radius: 999px; font-size: 15px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ai-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(255, 45, 135, 0.5); }

@media (max-width: 640px) {
  .artists-index { padding: 120px 16px 80px; }
  .ai-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ai-card-body { padding: 14px 14px 18px; }
  .ai-card-name { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-card, .ai-card-tile, .ai-cta-btn { transition: none; }
  .ai-card:hover, .ai-cta-btn:hover { transform: none; }
}

/* ===== ARCADE CTA (homepage) ===== */
.arcade-cta-section {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.arcade-cta-inner {
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(204, 255, 0, 0.12), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(0, 240, 255, 0.10), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 45, 135, 0.08), transparent 60%),
    linear-gradient(145deg, #12001a 0%, #080010 100%);
  border: 1px solid rgba(204, 255, 0, 0.25);
  border-radius: 20px;
  padding: 64px 32px;
  box-shadow:
    0 0 60px -20px rgba(204, 255, 0, 0.4),
    inset 0 0 40px rgba(0, 240, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.arcade-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.02) 0,
    rgba(255, 255, 255, 0.02) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
}
.arcade-cta-badge {
  display: inline-block;
  font-family: 'Bebas Neue', 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #ccff00;
  background: rgba(204, 255, 0, 0.1);
  border: 1px solid rgba(204, 255, 0, 0.4);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  text-shadow: 0 0 8px #ccff00;
}
.arcade-cta-title {
  font-family: 'Clash Display', 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 9vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #ccff00 0%, #00f0ff 50%, #ff2d87 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
  text-transform: uppercase;
}
.arcade-cta-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: #c9c4db;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.arcade-cta-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0 0 40px;
}
.arcade-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.arcade-stat-num {
  font-family: 'Clash Display', 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  color: #ccff00;
  text-shadow: 0 0 14px rgba(204, 255, 0, 0.5);
  line-height: 1;
}
.arcade-stat-lbl {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #a7a2b8;
  text-transform: uppercase;
}
.arcade-cta-btn {
  display: inline-block;
  padding: 18px 48px;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: #080010;
  background: linear-gradient(90deg, #ccff00, #00f0ff);
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px -10px rgba(204, 255, 0, 0.6);
  text-transform: uppercase;
}
.arcade-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -8px rgba(204, 255, 0, 0.8);
}
.arcade-cta-hint {
  font-size: 12px;
  color: #a7a2b8;
  margin: 18px 0 0;
  letter-spacing: 0.1em;
}

@media (max-width: 640px) {
  .arcade-cta-section { padding: 60px 16px; }
  .arcade-cta-inner { padding: 48px 20px; border-radius: 14px; }
  .arcade-cta-stats { gap: 20px; }
  .arcade-cta-btn { padding: 16px 36px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .arcade-cta-btn { transition: none; }
  .arcade-cta-btn:hover { transform: none; }
}
