:root {
  --bg: #060a14;
  --bg-alt: #060a14;
  --surface: rgba(140, 190, 255, 0.05);
  --surface-solid: #0b1224;
  --border: rgba(140, 190, 255, 0.14);
  --text: #eef3ff;
  --text-mute: #91a1c4;
  --text-faint: rgba(238, 243, 255, 0.4);
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- LOADER ---------- */
body.is-loading { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-bg {
  position: absolute;
  inset: -15%;
  z-index: 0;
}
.loader-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
  opacity: 0.75;
  will-change: transform;
}
.loader-blob-1 {
  width: 62vmax;
  height: 62vmax;
  top: -12%;
  left: -14%;
  background: radial-gradient(circle, var(--blue), transparent 70%);
  animation: loaderBlob1 17s ease-in-out infinite alternate;
}
.loader-blob-2 {
  width: 58vmax;
  height: 58vmax;
  bottom: -18%;
  right: -12%;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  animation: loaderBlob2 21s ease-in-out infinite alternate;
}
.loader-blob-3 {
  width: 44vmax;
  height: 44vmax;
  top: 28%;
  right: 18%;
  background: radial-gradient(circle, #1e4fd8, transparent 70%);
  animation: loaderBlob3 14s ease-in-out infinite alternate;
}
@keyframes loaderBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(14vw, 10vh) scale(1.18); }
}
@keyframes loaderBlob2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-12vw, -12vh) scale(1.1); }
}
@keyframes loaderBlob3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-9vw, 9vh) scale(0.88); }
}

.loader-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}

.loader-logo {
  width: clamp(160px, 26vw, 260px);
  height: auto;
  animation: loaderBounce 4s ease-in-out infinite;
}

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

.loader-bar-track {
  width: 220px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

@media (max-width: 420px) {
  .loader-content { gap: 32px; }
  .loader-bar-track { width: 180px; }
}

/* ---------- BACKGROUND FX ---------- */
.bg-fx {
  display: none;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(6, 10, 20, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 20px; width: auto; }

.main-nav {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 17px;
  line-height: 1;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.lang-toggle:hover { border-color: var(--cyan); transform: translateY(-1px); }

/* ---------- LANGUAGE SWITCH GLITCH (no color, blur-based) ---------- */
@keyframes langGlitch {
  0%   { filter: blur(0) grayscale(0); transform: translate(0, 0); opacity: 1; }
  8%   { filter: blur(5px) grayscale(0.5); transform: translate(-4px, 1px); opacity: 0.85; }
  16%  { filter: blur(1px) grayscale(0.15); transform: translate(3px, -1px); opacity: 0.96; }
  24%  { filter: blur(8px) grayscale(0.7); transform: translate(-3px, 2px); opacity: 0.8; }
  33%  { filter: blur(2px) grayscale(0.2); transform: translate(2px, 0); opacity: 0.95; }
  42%  { filter: blur(10px) grayscale(1); transform: translate(-2px, -2px); opacity: 0.7; }
  52%  { filter: blur(9px) grayscale(0.9); transform: translate(3px, 1px); opacity: 0.75; }
  63%  { filter: blur(4px) grayscale(0.5); transform: translate(-2px, 0); opacity: 0.9; }
  76%  { filter: blur(6px) grayscale(0.3); transform: translate(1px, -1px); opacity: 0.85; }
  88%  { filter: blur(2px) grayscale(0.1); transform: translate(-1px, 1px); opacity: 0.95; }
  100% { filter: blur(0) grayscale(0); transform: translate(0, 0); opacity: 1; }
}
.lang-glitch {
  animation: langGlitch 0.56s steps(1, jump-end);
}

.header-cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04101f;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.header-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,10,20,0.55) 0%, rgba(6,10,20,0.5) 40%, var(--bg) 96%),
    linear-gradient(100deg, rgba(6,10,20,0.6) 15%, rgba(6,10,20,0.3) 65%);
}
.hero-glow { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 clamp(20px, 5vw, 64px);
  max-width: 820px;
}
.hero-content-centered {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 20px;
}
.eyebrow.accent { color: var(--cyan); }
.eyebrow.centered { justify-content: center; }

.dot-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px 2px rgba(34, 211, 238, 0.7);
  flex-shrink: 0;
}

.hero-logo {
  width: clamp(220px, 34vw, 460px);
  height: auto;
  margin: 8px 0 26px;
}
.accent-dot { color: var(--cyan); }

.hero-tagline {
  font-size: clamp(16px, 2vw, 21px);
  color: var(--text-mute);
  max-width: 540px;
  margin: 0 0 36px;
  line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: var(--cyan);
  color: #04101f;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-large { font-size: 17px; padding: 20px 40px; }

/* ---------- SECTIONS ---------- */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
}
.section-alt { max-width: 100%; background: var(--bg-alt); }
.section-alt > * { max-width: 1280px; margin-left: auto; margin-right: auto; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.section-title.centered { text-align: center; margin-left: auto; margin-right: auto; max-width: 700px; }

.text-gradient {
  color: var(--cyan);
}

.centered { text-align: center; }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.about-photo { position: relative; }
.about-photo-ring { display: none; }
.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.about-text p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--text-mute);
  margin: 0 0 18px;
}
.about-text p strong { color: var(--text); font-weight: 700; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-mute);
  background: var(--surface);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tag:hover { border-color: var(--cyan); color: var(--cyan); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .about-photo { max-width: 220px; margin: 0 auto; }
  .tag-row { justify-content: center; }
}

/* ---------- STATS ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto clamp(50px, 7vw, 80px);
  padding-bottom: clamp(50px, 7vw, 80px);
  border-bottom: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 38px);
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num::before { content: "+"; }
.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}

/* ---------- PLAYERS ---------- */
.players-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 auto 18px;
}
.players-heading svg { color: var(--cyan); }
.centered-heading { justify-content: center; }

.tracks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.player-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-solid);
  transition: border-color 0.25s ease;
}
.player-card:hover { border-color: rgba(34, 211, 238, 0.45); }
.player-card iframe { display: block; }

@media (max-width: 700px) {
  .tracks-grid { grid-template-columns: 1fr; }
}

.videos-heading { justify-content: center; margin-top: clamp(50px, 6vw, 70px); }

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  max-width: 1280px;
  margin: 0 auto;
}
.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  transition: border-color 0.25s ease;
}
.video-card:hover { border-color: rgba(34, 211, 238, 0.4); }
.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 860px) {
  .videos-grid { grid-template-columns: 1fr; }
}

.stream-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  margin-top: clamp(40px, 5vw, 60px);
}
.stream-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  transition: color 0.2s ease;
}
.stream-links a:hover { color: var(--cyan); }

/* ---------- PAST EVENTS (RA) ---------- */
.ra-events {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.ra-events-loading {
  text-align: center;
  color: var(--text-mute);
  font-size: 14px;
  padding: 20px 0;
}
.ra-event-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.ra-event-date {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
}
.ra-event-name {
  font-size: 14px;
  color: var(--text);
}
.ra-event-venue {
  font-size: 13px;
  color: var(--text-mute);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .ra-event-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }
  .ra-event-venue { text-align: left; }
}

/* ---------- DATES / GALLERY ---------- */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.gallery-item {
  flex: 0 1 calc((100% - 2 * 14px) / 3);
}
.gallery-photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover .gallery-photo img { transform: scale(1.05); }

.gallery-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}
.gallery-date {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.gallery-venue {
  font-size: 12px;
  color: var(--text-mute);
}

@media (max-width: 860px) {
  .gallery-item { flex-basis: calc((100% - 14px) / 2); }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(4, 6, 12, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.lightbox.open .lightbox-img { transform: scale(1); }

.lightbox-close,
.lightbox-download {
  position: fixed;
  top: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lightbox-close svg,
.lightbox-download svg { width: 18px; height: 18px; }
.lightbox-close { right: 24px; }
.lightbox-download { right: 80px; }
.lightbox-close:hover,
.lightbox-download:hover { border-color: var(--cyan); color: var(--cyan); }

@media (max-width: 600px) {
  .lightbox { padding: 20px; }
  .lightbox-close, .lightbox-download { top: auto; bottom: 24px; }
  .lightbox-close { right: 24px; }
  .lightbox-download { right: 80px; }
}

/* ---------- PRESS KIT DOWNLOAD ---------- */
.presskit-download {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 0 clamp(20px, 5vw, 64px) clamp(60px, 9vh, 110px);
  max-width: 1280px;
  margin: 0 auto;
}
.presskit-download .btn svg { color: var(--cyan); }

/* ---------- CONTACT ---------- */
.contact-section { display: flex; justify-content: center; padding-top: 0; }
.contact-card {
  max-width: 560px;
  width: 100%;
  text-align: center;
  padding: clamp(48px, 7vw, 76px) clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface-solid);
}
.contact-card .eyebrow { margin-bottom: 28px; }

.social-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 40px;
}
.social-row svg { width: 20px; height: 20px; fill: var(--text-mute); transition: fill 0.2s ease, transform 0.2s ease; }
.social-row a:hover svg { fill: var(--cyan); transform: translateY(-3px); }

/* ---------- FOOTER ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 24px clamp(20px, 5vw, 64px) 36px;
  font-size: 12px;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
}
.footer-credit a {
  color: var(--text-mute);
  transition: color 0.2s ease;
}
.footer-credit a:hover { color: var(--cyan); }

/* ---------- MOBILE NAV ---------- */
@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(6, 10, 20, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 8px clamp(20px, 5vw, 64px) 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

/* ---------- SMALL PHONES ---------- */
@media (max-width: 420px) {
  .hero-content { padding-left: 18px; padding-right: 18px; }
  .section { padding-left: 18px; padding-right: 18px; }
  .stats-row { gap: 28px 14px; }
  .contact-card { padding: 32px 20px; }
  .lightbox-close, .lightbox-download { width: 40px; height: 40px; }
}

/* ---------- MOTION BLUR ON SCROLL ---------- */
main {
  transition: filter 0.35s ease-out;
}
main.is-scrolling {
  filter: blur(2.5px);
}

/* ---------- GENRE SUBPAGES ---------- */
.genre-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.genre-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
}
.genre-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.home-btn svg { width: 18px; height: 18px; }
.home-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.back-btn svg { width: 18px; height: 18px; }
.back-btn:hover { border-color: var(--cyan); color: var(--cyan); }

.genre-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(50px, 10vh, 100px) clamp(20px, 5vw, 64px);
}
.genre-inner { max-width: 720px; margin: 0 auto; }

.genre-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 20px;
}
.genre-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.genre-text p {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.75;
  color: var(--text-mute);
  margin: 0 0 20px;
}
.genre-text strong { color: var(--text); font-weight: 700; }

.genre-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.genre-nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  transition: color 0.2s ease;
}
.genre-nav-links a:hover { color: var(--cyan); }
.genre-nav-links a.is-current { color: var(--cyan); }
