/* ============================================================
   ANDY CHILES WEBSITE — STYLES
   Farbschema: Schwarz (#000) + Rot (#FF0000) + Weiß (#FFF)
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
    --red:        #FF0000;
    --red-dim:    rgba(255, 0, 0, 0.15);
    --red-glow:   rgba(255, 0, 0, 0.4);
    --black:      #000000;
    --radius:     12px;
    --black-soft: #0a0a0a;
    --black-card: #111111;
    --black-hover:#161616;
    --white:      #ffffff;
    --gray:       #888888;
    --gray-light: #aaaaaa;
    --border:     rgba(255, 0, 0, 0.2);

    --font-head:    'Oswald', sans-serif;
    --font-display: 'Michroma', 'Oswald', sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', 'Courier New', monospace;

    --nav-h:      72px;
    --section-pad:     clamp(80px, 10vw, 140px);
    --section-pad-top: clamp(28px, 3.5vw, 49px);
    --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ── THEME TRANSITION ───────────────────────────────────────── */
/* Applied globally so all color/bg changes animate on theme switch */
*, *::before, *::after {
    transition:
        background-color 0.8s ease,
        background 0.8s ease,
        color 0.8s ease,
        border-color 0.8s ease,
        box-shadow 0.8s ease,
        filter 0.8s ease,
        opacity 0.8s ease;
}
/* Exclude elements where instant response matters */
.theme-toggle, .theme-toggle *, #lang-current, #lang-current *,
.lang-dropdown button, .lang-dropdown button *,
#loader, #loader * { transition: none !important; }

body {
    background: #000000;
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

/* CJK / Arabic / Cyrillic / Greek font overrides */
body.lang-zh { font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
body.lang-ar { font-family: 'Noto Sans Arabic', 'Arial', sans-serif; }

/* ── SELECTION ──────────────────────────────────────────────── */
::selection { background: var(--red); color: var(--black); }

/* ── LOADER ─────────────────────────────────────────────────── */
#loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
#loader.loader-done { opacity: 0; pointer-events: none; transform: scale(1.04); }

.loader-inner {
    display: flex; flex-direction: column; align-items: center; gap: 24px;
    animation: loaderFadeIn 0.5s var(--ease) both;
}
.loader-logo {
    width: 116px;
    animation: loaderPulse 1.4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--red));
}
.loader-bar {
    width: 200px; height: 2px; background: rgba(255,255,255,0.1);
    border-radius: 2px; overflow: hidden;
}
.loader-progress {
    height: 100%; width: 0%; background: var(--red);
    transition: width 0.1s linear;
    box-shadow: 0 0 12px var(--red-glow);
}
.loader-name {
    font-family: var(--font-display); letter-spacing: 0.15em; font-size: 0.78rem;
    color: var(--red); font-variant-numeric: tabular-nums; line-height: 1;
}

@keyframes loaderFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}
@keyframes loaderPulse {
    0%, 100% { filter: drop-shadow(0 0 10px var(--red)); }
    50%       { filter: drop-shadow(0 0 30px var(--red)) brightness(1.2); }
}

/* ── CUSTOM CURSOR ───────────────────────────────────────────── */
.custom-cursor, .cursor-trail {
    position: fixed; border-radius: 50%; pointer-events: none;
    z-index: 99998; transform: translate(-50%, -50%); will-change: transform;
}
.custom-cursor {
    width: 10px; height: 10px; background: var(--red);
    transition: width 0.15s, height 0.15s, background 0.15s;
    box-shadow: 0 0 8px var(--red-glow);
}
.cursor-trail {
    width: 30px; height: 30px;
    border: 1px solid rgba(255, 0, 0, 0.4);
    transition: border-color 0.3s;
}
.custom-cursor.hovering {
    width: 18px; height: 18px;
    background: var(--white); box-shadow: 0 0 16px var(--red-glow);
}
.custom-cursor.clicking { transform: translate(-50%,-50%) scale(0.7); }
@media (pointer: coarse) { .custom-cursor, .cursor-trail { display: none; } }

/* ── NAVBAR ──────────────────────────────────────────────────── */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-h);
}
/* Gradient via pseudo-element so opacity can be animated */
#navbar::before, #navbar::after {
    content: '';
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    opacity: 0;
    transition: opacity 0.45s var(--ease);
}
#navbar::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.72) 0%, transparent 100%);
}
#navbar::after {
    background: linear-gradient(to bottom, rgba(200,0,0,0.65) 0%, transparent 100%);
}
#navbar.scrolled.nav-hover::before { opacity: 1; }
[data-theme="light"] #navbar.scrolled.nav-hover::before { opacity: 0; }
[data-theme="light"] #navbar.scrolled.nav-hover::after  { opacity: 1; }

/* Per-element opacity — transition on all three */
.nav-logo, .nav-menu, .nav-controls {
    transition: opacity 0.35s var(--ease);
}
/* Dimmed state: menu faint, logo + controls invisible */
#navbar:not(.nav-hover):not(.nav-on-hero) .nav-menu     { opacity: 0.2; }
#navbar:not(.nav-hover):not(.nav-on-hero) .nav-logo     { opacity: 0; }
#navbar:not(.nav-hover):not(.nav-on-hero) .nav-controls { opacity: 0; }
/* Touch devices: always fully visible */
@media (pointer: coarse) {
    #navbar:not(.nav-hover):not(.nav-on-hero) .nav-menu,
    #navbar:not(.nav-hover):not(.nav-on-hero) .nav-logo,
    #navbar:not(.nav-hover):not(.nav-on-hero) .nav-controls { opacity: 1; }
}

.nav-inner {
    max-width: 1400px; margin: 0 auto;
    height: 100%; display: flex; align-items: center;
    padding: 0 clamp(20px, 4vw, 60px); gap: 32px;
}
/* Controls: fixed top-right */
.nav-controls {
    position: fixed; top: 0; right: 0; z-index: 1001;
    height: var(--nav-h);
    display: flex; align-items: center;
    padding: 0 clamp(20px, 4vw, 60px); gap: 16px;
}
.nav-logo {
    position: fixed; top: 0; left: 0; z-index: 1001;
    padding: 14px 18px;
}
.nav-logo img { height: 40px; width: auto; transition: filter 0.3s; display: block; }
.nav-logo:hover img { filter: drop-shadow(0 0 12px var(--red)); }

.nav-menu {
    position: fixed; left: 50%; top: 0; z-index: 1000;
    height: var(--nav-h);
    transform: translateX(-50%);
    display: flex; gap: clamp(16px, 2.5vw, 36px); align-items: center;
}
.nav-menu a {
    font-family: var(--font-head); font-size: 0.85rem; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-light);
    position: relative; padding: 4px 0; transition: color 0.2s;
}
.nav-menu a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
    height: 2px; background: var(--red); transform: scaleX(0);
    transform-origin: right; transition: transform 0.3s var(--ease);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--white); }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); transform-origin: left; }

/* Language Switcher */
.lang-switcher { position: relative; }
#lang-current {
    font-family: var(--font-head); font-size: 0.88rem; letter-spacing: 0.15em;
    color: var(--red); border: 1px solid var(--red);
    width: 34px; height: 34px; padding: 0; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s;
}
#lang-current:hover { background: var(--red); color: var(--black); }
.lang-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--black-card); border: 1px solid var(--border);
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2px; padding: 8px; opacity: 0; pointer-events: none;
    transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s var(--ease);
    min-width: 160px;
}
.lang-dropdown.open { opacity: 1; pointer-events: all; transform: none; }
.lang-dropdown button {
    font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.1em;
    padding: 6px 8px; text-align: center; color: var(--gray);
    transition: color 0.2s, background 0.2s;
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.lang-dropdown button:hover { color: var(--white); background: var(--red-dim); }
.lang-dropdown button.active { color: var(--red); }
/* Dropdown flag morph */
.lang-dropdown button .lang-text {
    display: block; line-height: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.lang-dropdown button .lang-flag {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.3);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}
.lang-dropdown button .lang-flag svg { width: 20px; height: 14px; display: block; border-radius: 1px; }
.lang-dropdown button:hover .lang-text { opacity: 0; transform: scale(0.15); }
.lang-dropdown button:hover .lang-flag { opacity: 1; transform: scale(1); }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    width: 28px; padding: 4px; cursor: pointer; z-index: 1100;
}
.hamburger span {
    display: block; height: 2px; background: var(--white);
    transition: transform 0.3s var(--ease), opacity 0.3s;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────────── */
#hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
#hero-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4;
}
.hero-bg {
    position: absolute; inset: 0;
    /* No z-index → no stacking context → children compete in #hero's context */
}
.hero-bg-img {
    width: 100%; height: 120%; object-fit: cover; object-position: center top;
    transform-origin: top; will-change: transform;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 3;
}
/* Dark gradient — fades out in light mode */
.hero-overlay::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.45) 40%,
        rgba(0,0,0,0.92) 82%,
        #000000 92%
    );
    opacity: 1;
    transition: opacity 0.8s ease;
}
/* Light gradient — fades in in light mode */
.hero-overlay::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 60%,
        rgba(255,0,0,0.85) 82%,
        #FF0000 92%
    );
    opacity: 0;
    transition: opacity 0.8s ease;
}
[data-theme="light"] .hero-overlay::before { opacity: 0; }
[data-theme="light"] .hero-overlay::after  { opacity: 1; }
/* Red vignette */
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(255,0,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}
/* Scanlines — behind overlay and particles */
#hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent, transparent 2px,
        rgba(0,0,0,0.04) 2px, rgba(0,0,0,0.04) 4px
    );
}

.hero-content {
    position: relative; z-index: 5;
    text-align: center; display: flex; flex-direction: column;
    align-items: center; gap: 20px;
    animation: heroFadeIn 1s var(--ease) 0.3s both;
}

/* ── GLITCH LOGO (PNG image) ─────────────────────────────────── */
.glitch-logo {
    position: relative;
    width: clamp(260px, 55vw, 680px);
    display: inline-block;
}
.glitch-logo-img {
    width: 100%; display: block;
    animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255,0,0,0.4)); }
    50%       { filter: drop-shadow(0 0 48px rgba(255,0,0,0.75)) brightness(1.1); }
}

.glitch-logo-layer1,
.glitch-logo-layer2 {
    position: absolute; top: 0; left: 0;
    width: 100%; opacity: 0; pointer-events: none;
}

/* Layers animate when JS adds .glitching to the wrapper */
.glitch-logo.glitching .glitch-logo-layer1 {
    animation: glitchImgTop 0.45s steps(2) forwards;
}
.glitch-logo.glitching .glitch-logo-layer2 {
    animation: glitchImgBot 0.45s steps(3) 0.06s forwards;
}

@keyframes glitchImgTop {
    0%  { opacity: 0.9; clip-path: inset(0 0 72% 0);
          transform: translateX(-6px);
          filter: drop-shadow(3px 0 0 #ff0000) brightness(1.4); }
    20% { clip-path: inset(15% 0 55% 0);
          transform: translateX(5px) skewX(4deg); }
    40% { clip-path: inset(35% 0 38% 0);
          transform: translateX(-4px) skewX(-2deg);
          filter: drop-shadow(-3px 0 0 #ff3300) brightness(1.2); }
    60% { clip-path: inset(55% 0 18% 0);
          transform: translateX(3px); }
    80% { clip-path: inset(70% 0 5% 0);
          transform: translateX(-2px); }
    100%{ opacity: 0; }
}
@keyframes glitchImgBot {
    0%  { opacity: 0.85; clip-path: inset(68% 0 0 0);
          transform: translateX(6px);
          filter: drop-shadow(-3px 0 0 #ff2200) brightness(1.3); }
    25% { clip-path: inset(50% 0 22% 0);
          transform: translateX(-5px) skewX(-3deg); }
    50% { clip-path: inset(32% 0 42% 0);
          transform: translateX(4px) skewX(2deg);
          filter: drop-shadow(2px 0 0 #ff0000) brightness(1.15); }
    75% { clip-path: inset(15% 0 62% 0);
          transform: translateX(-3px); }
    100%{ opacity: 0; }
}

.hero-subtitle {
    font-family: var(--font-head); font-size: clamp(0.9rem, 2.2vw, 1.4rem);
    letter-spacing: 0.35em; color: var(--red); text-transform: uppercase;
    min-height: 1.6em;
}
.hero-typing { border-right: 2px solid var(--red); padding-right: 3px; }

.hero-social {
    display: flex; gap: 24px; align-items: center; margin-top: 16px;
}
.social-link {
    display: block; transition: transform 0.3s var(--ease), filter 0.3s;
}
.social-link img { width: 26px; height: 26px; object-fit: contain; filter: brightness(0.7); }
.social-link:hover img { filter: brightness(1) drop-shadow(0 0 8px rgba(255,255,255,0.6)); }
.social-link:hover { transform: translateY(-3px); }

.scroll-indicator {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%); z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    animation: bounceDown 2s ease-in-out infinite;
}
.scroll-arrow {
    width: 24px; height: 24px; border-right: 2px solid var(--red);
    border-bottom: 2px solid var(--red); transform: rotate(45deg);
    opacity: 0.7;
}
@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}

/* ── SECTION BASE ────────────────────────────────────────────── */
.section {
    padding: var(--section-pad-top) clamp(20px, 6vw, 100px) var(--section-pad);
    max-width: 1400px; margin: 0 auto;
}
.section-full {
    padding: var(--section-pad) 0;
}
section { position: relative; min-height: 100vh; }
section.section-dark { background: #0a0a0a; max-width: none; }
section.section-dark .section { margin: 0 auto; }

.section-header {
    margin-bottom: clamp(40px, 6vw, 80px); text-align: center;
}
.section-tag {
    display: block; font-family: var(--font-mono); font-size: 0.75rem;
    letter-spacing: 0.2em; color: var(--red); margin-bottom: 12px;
    text-transform: uppercase;
}
.section-header h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(1.52rem, 4.18vw, 3.42rem);
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--white); line-height: 1.1;
}
.section-header h2 span { color: var(--red); }

/* Red line accent */
.section-header::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: var(--red); margin: 20px auto 0;
    box-shadow: 0 0 12px var(--red-glow);
}

/* ── REVEAL ANIMATIONS ───────────────────────────────────────── */
.reveal { opacity: 0; transition: opacity 0.96s var(--ease-out), transform 0.96s var(--ease-out); }
.reveal:not(.reveal-left):not(.reveal-right) { transform: translateY(40px); }
.reveal.reveal-left  { transform: translateX(-50px); }
.reveal.reveal-right { transform: translateX(50px); }
.reveal.revealed { opacity: 1; transform: none; }

/* Stagger siblings */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── ABOUT SECTION ───────────────────────────────────────────── */
.about-grid {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: clamp(32px, 5vw, 80px); align-items: center;
}
.image-frame {
    position: relative; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 3/4;
}
.image-frame img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.image-frame:hover img { transform: scale(1.04); }
.image-border {
    position: absolute; inset: 16px; border: 1px solid var(--red);
    pointer-events: none; opacity: 0.4;
    transition: opacity 0.3s, inset 0.3s;
}
.image-frame:hover .image-border { opacity: 0.9; inset: 10px; }

.about-text .bio-text p {
    color: var(--gray-light); line-height: 1.85;
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    margin-bottom: 1.2em;
}
.about-text .bio-text p strong { color: var(--white); font-weight: 600; }
.about-text .bio-text p em { color: var(--gray-light); font-style: normal; }

/* About Gallery */
.about-gallery {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.gallery-item {
    aspect-ratio: 1; overflow: hidden; position: relative; cursor: pointer;
    border-radius: var(--radius);
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.4s;
    filter: grayscale(30%) brightness(0.85);
}
.gallery-item:hover img { transform: scale(1.08); filter: grayscale(0%) brightness(1); }
.gallery-item::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(255,0,0,0.15) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover::after { opacity: 1; }

/* ── MIXES SECTION ───────────────────────────────────────────── */
#mixes .section { max-width: 1400px; margin: 0 auto; padding: var(--section-pad-top) clamp(20px, 6vw, 100px) var(--section-pad); }
.mixes-grid {
    display: grid; grid-template-columns: 1fr; gap: 32px;
}
/* SoundCloud: backdrop-filter only on the tracklist area (below artwork).
   The ::after element is transparent — it applies the invert/hue-rotate
   only to the pixels behind it (the white tracklist), leaving the artwork
   at the top untouched with its original colors. */
.mixes-grid .embed-card:first-child { position: relative; }
.mixes-grid .embed-card:first-child::after {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0; bottom: 0;
    backdrop-filter: invert(1) hue-rotate(180deg);
    -webkit-backdrop-filter: invert(1) hue-rotate(180deg);
    pointer-events: none;
    z-index: 2;
}

/* ── EMBED CARDS ─────────────────────────────────────────────── */
.embed-card {
    background: var(--black-card);
    border-radius: var(--radius); overflow: hidden;
    transition: box-shadow 0.3s;
}
.embed-card:hover {
    box-shadow: 0 0 32px rgba(255,0,0,0.12);
}
.embed-card h3 { display: none; }
.embed-card iframe { display: block; }

/* ── RELEASES SECTION ────────────────────────────────────────── */
.releases-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.youtube-section h3 { display: none; }
#youtube-container { display: flex; flex-direction: column; gap: 16px; }
.youtube-embed {
    background: var(--black-card);
    border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9;
    transition: box-shadow 0.3s;
}
.youtube-embed:hover { box-shadow: 0 0 32px rgba(255,0,0,0.12); }
.youtube-embed iframe { width: 100%; height: 100%; display: block; }

/* ── PLAYLISTS SECTION ───────────────────────────────────────── */
#playlists-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px;
}
.placeholder-note {
    grid-column: 1/-1; text-align: center; color: var(--gray);
    font-family: var(--font-mono); font-size: 0.85rem;
    border: 1px dashed var(--border); padding: 48px 24px; border-radius: 2px;
}

/* ── FACTS SECTION ───────────────────────────────────────────── */
.stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; margin-bottom: 80px;
}
.stat-card {
    text-align: center; padding: 40px 20px;
    background: var(--black-card); border: 1px solid var(--border);
    border-radius: var(--radius); position: relative; overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover { border-color: var(--red); transform: translateY(-4px); }
.stat-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--red);
    transform: scaleX(0); transition: transform 0.4s var(--ease);
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-number {
    font-family: var(--font-head); font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700; color: var(--red); display: block;
    line-height: 1; margin-bottom: 8px;
    text-shadow: 0 0 24px rgba(255,0,0,0.4);
    will-change: transform, text-shadow;
}
.stat-number.counting {
    animation: numGlitch 0.09s steps(1) infinite;
}
.stat-number.counter-done {
    animation: numGlitchFinal 0.45s steps(2) forwards;
}
@keyframes numGlitch {
    0%  { text-shadow: -2px 0 var(--red), 2px 0 rgba(255,255,255,0.4), 0 0 24px rgba(255,0,0,0.4); }
    33% { text-shadow:  2px 0 var(--red),-2px 0 rgba(255,255,255,0.3), 0 0 24px rgba(255,0,0,0.4);
          transform: translateX(-1px); }
    66% { text-shadow: -1px 0 rgba(255,60,0,0.9), 1px 0 rgba(255,255,255,0.2), 0 0 24px rgba(255,0,0,0.4); }
    100%{ text-shadow: 0 0 24px rgba(255,0,0,0.4); transform: none; }
}
@keyframes numGlitchFinal {
    0%  { text-shadow: -4px 0 var(--red), 4px 0 rgba(255,255,255,0.6), 0 0 32px var(--red);
          transform: translateX(-3px) skewX(4deg); }
    25% { text-shadow:  4px 0 var(--red),-4px 0 rgba(255,255,255,0.5), 0 0 32px var(--red);
          transform: translateX( 3px) skewX(-3deg); }
    50% { text-shadow: -2px 0 var(--red), 2px 0 rgba(255,255,255,0.4), 0 0 28px var(--red);
          transform: translateX(-1px); }
    75% { text-shadow:  1px 0 var(--red), 0 0 20px var(--red);
          transform: translateX( 1px); }
    100%{ text-shadow: 0 0 24px rgba(255,0,0,0.4); transform: none; }
}

/* Idle glitch — läuft dauerhaft nach dem Einrasten */
.stat-number.counter-glitch {
    animation: numGlitchIdle 0.4s steps(2) forwards;
}
@keyframes numGlitchIdle {
    0%  { text-shadow: -3px 0 var(--red), 3px 0 rgba(255,255,255,0.5), 0 0 32px var(--red);
          transform: translateX(-2px) skewX(3deg); }
    25% { text-shadow:  3px 0 var(--red),-3px 0 rgba(255,255,255,0.4), 0 0 28px var(--red);
          transform: translateX( 2px) skewX(-2deg); }
    50% { text-shadow: -1px 0 var(--red), 1px 0 rgba(255,255,255,0.3), 0 0 24px var(--red);
          transform: translateX(-1px); }
    75% { text-shadow:  1px 0 var(--red), 0 0 20px var(--red);
          transform: translateX( 1px); }
    100%{ text-shadow: 0 0 24px rgba(255,0,0,0.4); transform: none; }
}
.stat-label {
    font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gray);
    text-transform: uppercase;
}

.facts-content {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px;
    align-items: stretch;
}
.facts-col { display: flex; flex-direction: column; }
.facts-col h3 {
    font-family: var(--font-head); font-size: 1rem; letter-spacing: 0.2em;
    color: var(--red); margin-bottom: 24px; text-transform: uppercase;
    padding-bottom: 12px; border-bottom: 1px solid var(--border);
}

/* Played With list */
.played-with-list li {
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--gray-light); font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px;
    transition: color 0.2s;
}
.played-with-list li:hover { color: var(--white); }
.played-with-list .tag {
    font-size: 0.7rem; background: var(--red-dim); color: var(--red);
    padding: 2px 7px; border-radius: 2px; white-space: nowrap;
}

/* Remixes list */
.remixes-list li {
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--gray-light); font-size: 0.9rem;
}
.remixes-list .artist { color: var(--white); font-weight: 500; }

/* Residency list */
.residency-list li {
    padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--gray-light); font-size: 0.88rem;
    display: flex; justify-content: space-between; align-items: center;
}

/* Locations scroll */
.locations-scroll {
    flex: 1; min-height: 0; max-height: none; overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: var(--red) transparent;
}
.locations-scroll::-webkit-scrollbar { width: 3px; }
.locations-scroll::-webkit-scrollbar-track { background: transparent; }
.locations-scroll::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }
.locations-list li {
    padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--gray-light); font-size: 0.85rem;
    display: flex; justify-content: space-between;
    transition: color 0.2s;
}
.locations-list li:hover { color: var(--white); }
.location { color: var(--gray); font-size: 0.78rem; }

/* ── DATES / CALENDAR ────────────────────────────────────────── */
#dates .section { max-width: 1400px; margin: 0 auto; padding: var(--section-pad-top) clamp(20px, 6vw, 100px) var(--section-pad); }
.calendar-container { position: relative; min-height: 200px; }

.calendar-loading {
    display: flex; align-items: center; justify-content: center;
    padding: 80px 0;
}
.loading-spinner {
    width: 40px; height: 40px;
    border: 2px solid var(--border); border-top-color: var(--red);
    border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.calendar-events {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}
.cal-section-label {
    grid-column: 1 / -1; font-family: var(--font-mono); font-size: 0.75rem;
    letter-spacing: 0.2em; color: var(--red); text-transform: uppercase;
    padding-bottom: 12px; border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.cal-card {
    background: var(--black-card); border: 1px solid var(--border);
    border-radius: var(--radius); display: flex; align-items: stretch; overflow: hidden;
    position: relative; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    animation: calCardIn 0.5s var(--ease-out) both;
}
.cal-card:hover {
    border-color: rgba(255,0,0,0.5); transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,0,0,0.1);
}
.cal-card.cal-past { opacity: 0.5; filter: grayscale(30%); }
.cal-accent {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--red);
    box-shadow: 0 0 12px var(--red-glow);
}
.cal-date-block {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 80px; padding: 20px 16px;
    background: rgba(255,0,0,0.05); border-right: 1px solid var(--border);
    text-align: center;
}
.cal-dow  { font-size: 0.7rem; color: var(--red); letter-spacing: 0.1em; text-transform: uppercase; }
.cal-day  { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; color: var(--white); }
.cal-month{ font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; }
.cal-year { font-size: 0.7rem; color: var(--gray); margin-top: 2px; }

.cal-info { padding: 20px 24px 20px 28px; flex: 1; }
.cal-title {
    font-family: var(--font-head); font-size: 1.1rem; letter-spacing: 0.03em;
    color: var(--white); margin-bottom: 8px;
}
.cal-location {
    font-size: 0.82rem; color: var(--gray); display: flex; align-items: center; gap: 6px;
    margin-bottom: 4px;
}
.cal-location svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--red); }
.cal-time  { font-size: 0.82rem; color: var(--red); font-family: var(--font-mono); }
.cal-desc  { font-size: 0.82rem; color: var(--gray); margin-top: 8px; line-height: 1.5; }

.cal-empty, .cal-error, .cal-setup-hint {
    text-align: center; padding: 80px 24px; color: var(--gray);
    font-family: var(--font-mono); font-size: 0.9rem;
    grid-column: 1 / -1;
}
.cal-setup-icon { font-size: 3rem; margin-bottom: 16px; }
.calendar-empty { grid-column: 1 / -1; }
.hidden { display: none !important; }

.cal-past-toggle {
    grid-column: 1 / -1; margin-top: 24px; text-align: center;
}
.past-toggle-btn {
    font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.15em;
    color: var(--gray); border: 1px solid var(--border); padding: 10px 24px;
    text-transform: uppercase; transition: color 0.2s, border-color 0.2s;
}
.past-toggle-btn:hover { color: var(--white); border-color: var(--red); }
.cal-past-events { grid-column: 1 / -1; display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; margin-top: 16px; }

@keyframes calCardIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

/* ── PARALLAX STRIPS ─────────────────────────────────────────── */
.parallax-strip {
    position: relative;
    overflow: hidden;
    height: 52vh;
    min-height: 280px;
}
.parallax-strip .parallax-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 140%;
    top: -20%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}
.parallax-strip-overlay {
    position: absolute; inset: 0; z-index: 1;
}
.parallax-strip-overlay::before,
.parallax-strip-overlay::after {
    content: '';
    position: absolute; inset: 0;
    transition: opacity 0.8s ease;
}
.parallax-strip-overlay::before {
    background: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.15) 70%, #000 100%);
    opacity: 1;
}
.parallax-strip-overlay::after {
    background: linear-gradient(to bottom, #FF0000 0%, rgba(255,0,0,0.1) 30%, rgba(255,0,0,0.1) 70%, #FF0000 100%);
    opacity: 0;
}
[data-theme="light"] .parallax-strip-overlay::before { opacity: 0; }
[data-theme="light"] .parallax-strip-overlay::after  { opacity: 1; }
.parallax-strip-line {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.parallax-strip-line::before {
    content: '';
    display: block;
    width: 1px;
    height: 60px;
    background: var(--red);
    opacity: 0.6;
}

/* ── BOOKING SECTION ─────────────────────────────────────────── */
#booking { padding: 0; min-height: 0; }
.booking-content {
    display: grid; grid-template-columns: 40% 60%; min-height: 100vh;
    background: #000000;
}
[data-theme="light"] .booking-content { background: #FF0000; }
.booking-image {
    position: relative; overflow: hidden;
}
.booking-image img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    transition: transform 0.8s var(--ease);
}
.booking-content:hover .booking-image img { transform: scale(1.04); }
.booking-overlay {
    position: absolute; inset: 0;
}
.booking-overlay::before,
.booking-overlay::after {
    content: '';
    position: absolute; inset: 0;
    transition: opacity 0.8s ease;
}
.booking-overlay::before {
    background: linear-gradient(to right, transparent 0%, #000 100%);
    opacity: 1;
}
.booking-overlay::after {
    background: linear-gradient(to right, transparent 0%, #FF0000 100%);
    opacity: 0;
}
[data-theme="light"] .booking-overlay::before { opacity: 0; }
[data-theme="light"] .booking-overlay::after  { opacity: 1; }

/* ── Booking text panel ── */
.booking-text {
    position: relative; display: flex; flex-direction: column;
    justify-content: flex-start;
    padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 60px);
    gap: 0; overflow: hidden;
}
.booking-text::before,
.booking-text::after {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.booking-text::before { background: #000; opacity: 1; }
.booking-text::after  { background: #FF0000; opacity: 0; }
[data-theme="light"] .booking-text::before { opacity: 0; }
[data-theme="light"] .booking-text::after  { opacity: 1; }
.booking-text > * { position: relative; z-index: 1; }

/* Header */
.booking-header { margin-bottom: 36px; }
.booking-header::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: var(--red); margin: 20px 0 0;
}
.booking-text h2 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(1.9rem, 3vw, 3.2rem);
    letter-spacing: 0.06em; line-height: 1.1;
    margin-top: 8px;
}

/* ── Two-column options area ── */
.booking-options {
    display: flex; flex-direction: row; align-items: stretch;
    gap: 0; min-height: 0; margin-top: auto; margin-bottom: auto; transform: translateY(-2vh);
}

/* Form column */
.booking-form-col { flex: 3; min-width: 0; }

/* Form base styles */
.booking-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-full { grid-column: 1 / -1; }
.form-group label {
    font-family: var(--font-head); font-size: 0.72rem;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-light);
}
.form-req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body); font-size: 0.9rem;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
    width: 100%;
}
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: #1a1a1a; color: var(--white); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    background: rgba(255,0,0,0.06);
}
/* date input colour fix on webkit */
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.6); cursor: pointer; }

/* Light theme form */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.2); color: #000;
}
[data-theme="light"] .form-group select option { background: #f0f0f0; color: #000; }
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    border-color: #000; background: rgba(0,0,0,0.12);
}
[data-theme="light"] .form-group label { color: rgba(0,0,0,0.7); }

/* Divider */
.booking-divider {
    display: flex; flex-direction: column; align-items: center;
    padding: 0 clamp(16px, 2.5vw, 36px); gap: 12px; flex-shrink: 0;
}
.divider-line {
    flex: 1; width: 1px;
    background: rgba(255,255,255,0.15);
}
[data-theme="light"] .divider-line { background: rgba(0,0,0,0.18); }
.divider-oder {
    font-family: var(--font-head); font-size: 0.75rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gray); white-space: nowrap;
}

/* Email column */
.booking-email-col {
    flex: 1.4; display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start; gap: 24px; min-width: 0;
}
.booking-email-col p { color: var(--gray-light); font-size: 1rem; line-height: 1.7; }

/* Social — 2× icon size */
.booking-social {
    display: flex; gap: 20px; flex-wrap: wrap; margin-top: 36px;
}
.booking-social .social-link-sm img {
    width: 44px; height: 44px;
}

/* CTA Button */
.cta-button {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-head); font-size: 0.9rem; letter-spacing: 0.15em;
    text-transform: uppercase; padding: 16px 32px;
    background: #FF0000; color: var(--white);
    border: 2px solid #FF0000;
    border-radius: var(--radius);
    transition: background 0.8s ease, color 0.3s, box-shadow 0.3s, transform 0.2s, border-color 0.8s ease;
    align-self: flex-start;
}
[data-theme="light"] .cta-button { background: #000000; border-color: #000000; }
.cta-button:hover {
    background: transparent; color: var(--red);
    box-shadow: 0 0 24px rgba(255,0,0,0.3);
    transform: translateY(-2px);
}
.cta-button.cta-outline {
    background: transparent; color: var(--red);
}
.cta-button.cta-outline:hover {
    background: var(--red); color: var(--white);
}
.btn-arrow { font-size: 1.2em; transition: transform 0.3s; }
.cta-button:hover .btn-arrow { transform: translateX(5px); }

.booking-social {
    display: flex; gap: 18px; flex-wrap: wrap; padding-top: 36px;
}
.social-link-sm img {
    width: 22px; height: 22px; object-fit: contain;
    filter: brightness(0.5); transition: filter 0.3s, transform 0.3s;
}
.social-link-sm:hover img { filter: brightness(1); }
.social-link-sm:hover { transform: translateY(-2px); }

/* ── WANNA TOUCH? SECTION ────────────────────────────────────── */
#wanna-touch {
    position: relative; min-height: 100vh; overflow: hidden; padding: 0;
}
.wanna-touch-bg {
    position: absolute; inset: 0;
}
.wanna-touch-bg-img {
    position: absolute; height: 140%; width: auto; max-width: none; top: -20%;
    left: 50%; transform: translateX(-50%);
    will-change: transform;
}
.wanna-touch-overlay {
    position: absolute; inset: 0;
}
.wanna-touch-overlay::before,
.wanna-touch-overlay::after {
    content: '';
    position: absolute; inset: 0;
    transition: opacity 0.8s ease;
}
.wanna-touch-overlay::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 25%, transparent 50%, rgba(0,0,0,0.45) 75%, #000 100%);
    opacity: 1;
}
.wanna-touch-overlay::after {
    background: linear-gradient(to bottom, rgba(255,0,0,0.15) 0%, transparent 25%, transparent 50%, rgba(255,0,0,0.4) 75%, #FF0000 100%);
    opacity: 0;
}
[data-theme="light"] .wanna-touch-overlay::before { opacity: 0; }
[data-theme="light"] .wanna-touch-overlay::after  { opacity: 1; }

.wanna-touch-icons {
    position: absolute; bottom: 22%; left: 0; right: 0;
    display: flex; gap: clamp(28px, 5vw, 72px);
    align-items: center; justify-content: center; z-index: 2;
}
.wanna-touch-icons .social-link img {
    width: clamp(52px, 7vw, 88px); height: clamp(52px, 7vw, 88px);
    filter: brightness(0.85);
}
.wanna-touch-icons .social-link:hover img {
    filter: brightness(1) drop-shadow(0 0 24px rgba(255,255,255,0.7));
}
.wanna-touch-icons .social-link:hover { transform: translateY(-5px); }
.wanna-touch-footer {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    padding: 32px clamp(20px, 6vw, 100px);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.wanna-touch-footer .footer-logo img { height: 40px; filter: brightness(0.6); transition: filter 0.3s; }
.wanna-touch-footer .footer-logo img:hover { filter: brightness(1) drop-shadow(0 0 12px var(--red-glow)); }


/* ── PRESS SECTION ───────────────────────────────────────────── */
#press .section { max-width: 1400px; margin: 0 auto; padding: var(--section-pad-top) clamp(20px, 6vw, 100px) var(--section-pad); }
.press-content { display: flex; justify-content: center; }
.press-card {
    background: var(--black-card); border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 60px; max-width: 560px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    transition: border-color 0.3s;
}
.press-card:hover { border-color: rgba(255,0,0,0.4); }
.press-card .cta-button { align-self: center; }
.press-icon { color: var(--red); }
.press-icon svg { width: 48px; height: 48px; }
.press-card h3 {
    font-family: var(--font-display); font-size: 1.05rem;
    letter-spacing: 0.1em; text-transform: uppercase;
}
.press-card p { color: var(--gray-light); line-height: 1.7; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
    background: var(--black);
    border-top: 1px solid var(--border);
    padding: 60px clamp(20px, 6vw, 100px) 40px;
}
.footer-inner {
    max-width: 1400px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.footer-logo img { height: 50px; filter: brightness(0.7); transition: filter 0.3s; }
.footer-logo img:hover { filter: brightness(1) drop-shadow(0 0 12px var(--red-glow)); }
.footer-social {
    display: flex; gap: 20px; align-items: center;
}
.footer-social a img {
    width: 22px; height: 22px; object-fit: contain;
    filter: brightness(0.45); transition: filter 0.3s, transform 0.3s;
}
.footer-social a:hover img { filter: brightness(0.9); }
.footer-social a:hover { transform: translateY(-2px); }
.footer-copy {
    font-size: 0.78rem; color: var(--gray); letter-spacing: 0.05em; text-align: center;
}
.footer-link {
    color: var(--gray); text-decoration: none; transition: color 0.2s;
}
.footer-link:hover { color: var(--red); }

/* ── SECTION INDICATOR ───────────────────────────────────────── */
.section-indicator {
    position: fixed; left: 24px; top: 50%;
    transform: translateY(-50%); z-index: 100;
    display: flex; flex-direction: column; gap: 10px;
}
.indicator-dot {
    position: relative; width: 8px; height: 8px;
    display: flex; align-items: center; justify-content: center;
}
.indicator-dot::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: background 0.3s, width 0.3s, height 0.3s, box-shadow 0.3s;
}
.indicator-dot.active::before {
    background: var(--red); width: 8px; height: 8px;
    box-shadow: 0 0 8px var(--red-glow);
}
.indicator-label {
    position: absolute; left: calc(100% + 12px); top: 50%;
    transform: translateY(-50%); white-space: nowrap;
    font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em;
    color: var(--red); background: rgba(0,0,0,0.8); padding: 4px 8px;
    opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.indicator-dot:hover .indicator-label { opacity: 1; }

/* ── SOCIAL SIDEBAR ──────────────────────────────────────────── */
.social-sidebar {
    position: fixed; right: 24px; top: 50%;
    transform: translateY(-50%); z-index: 100;
    display: flex; flex-direction: column; gap: 16px; align-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.5s var(--ease);
}
.social-sidebar.visible { opacity: 1; pointer-events: all; }
.sidebar-social-link {
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s var(--ease);
}
.sidebar-social-link img {
    width: 36px; height: 36px; object-fit: contain;
    filter: brightness(0.4);
    transition: filter 0.3s;
}
.sidebar-social-link:hover img { filter: brightness(1); }
.sidebar-social-link:hover { transform: translateX(-3px); }

/* ── SCROLL TO TOP ───────────────────────────────────────────── */
#scroll-top {
    position: fixed; bottom: 32px; right: 24px; z-index: 500;
    width: 44px; height: 44px;
    background: var(--red); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; line-height: 1;
    opacity: 0; pointer-events: none; transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
    border-radius: 0;
}
#scroll-top.visible { opacity: 1; pointer-events: all; transform: none; }
#scroll-top:hover { box-shadow: 0 0 20px var(--red-glow); }

/* ── LIGHTBOX ────────────────────────────────────────────────── */
.lightbox {
    position: fixed; inset: 0; z-index: 9000;
    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: all; }
.lightbox-inner {
    position: relative; max-width: 90vw; max-height: 90vh;
    display: flex; align-items: center; gap: 16px;
}
.lightbox-img {
    max-width: 80vw; max-height: 85vh;
    object-fit: contain; border: 1px solid var(--border);
}
.lightbox-close {
    position: absolute; top: -48px; right: 0;
    color: var(--white); font-size: 1.4rem;
    transition: color 0.2s;
}
.lightbox-close:hover { color: var(--red); }
.lightbox-prev, .lightbox-next {
    font-size: 2.5rem; color: rgba(255,255,255,0.5);
    transition: color 0.2s; padding: 0 8px;
}
.lightbox-prev:hover, .lightbox-next:hover { color: var(--red); }

/* ── MOBILE MENU OVERLAY ─────────────────────────────────────── */
.menu-overlay {
    position: fixed; inset: 0; z-index: 998;
    background: rgba(0,0,0,0.7); opacity: 0; pointer-events: none;
    transition: opacity 0.3s; backdrop-filter: blur(4px);
}
.menu-overlay.active { opacity: 1; pointer-events: all; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .facts-content { grid-template-columns: 1fr 1fr; }
    .facts-content .facts-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .mixes-grid, .releases-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { max-width: 400px; margin: 0 auto; }
    .about-gallery { grid-template-columns: repeat(2, 1fr); }
    .booking-content { grid-template-columns: 1fr; }
    .booking-image { height: 340px; }
    .booking-overlay::before { background: linear-gradient(to bottom, transparent 0%, #000 100%); }
    .booking-overlay::after  { background: linear-gradient(to bottom, transparent 0%, #FF0000 100%); }
    .section-indicator { display: none; }
    .social-sidebar { display: none; }
}

@media (max-width: 768px) {
    :root { --nav-h: 60px; }

    .nav-menu {
        position: fixed; top: 0; left: auto; right: 0; bottom: 0; width: 280px;
        height: auto; transform: translateX(100%);
        background: rgba(0,0,0,0.97); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 32px; z-index: 999;
        transition: transform 0.4s var(--ease-out);
        padding-top: 72px; /* room for controls panel at top */
    }
    .nav-menu.open { transform: none; }
    .nav-menu a { font-size: 1.1rem; letter-spacing: 0.15em; }
    .hamburger { display: flex; margin-left: auto; }

    /* Controls slide in as the top strip of the panel */
    .nav-controls {
        position: fixed; right: 0; top: 0;
        width: 280px; height: 72px;
        padding: 0 24px;
        background: rgba(0,0,0,0.97); backdrop-filter: blur(20px);
        display: flex; align-items: center; justify-content: center; gap: 16px;
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out), background-color 0.8s ease, background 0.8s ease;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-controls.open { transform: none; }

    .hero-social { gap: 16px; }
    .social-link img { width: 22px; height: 22px; }

    .section-header { margin-bottom: 40px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .facts-content { grid-template-columns: 1fr; }

    .booking-text { padding: 40px 24px; }
    .booking-options { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .booking-divider { flex-direction: row; padding: 20px 0; }
    .booking-divider .divider-line { flex: 1; height: 1px; width: auto; }
    .booking-email-col { align-items: flex-start; }

    .press-card { padding: 40px 28px; }

    .about-gallery { grid-template-columns: repeat(2, 1fr); }

    .calendar-events { grid-template-columns: 1fr; }
    .cal-past-events  { grid-template-columns: 1fr; }

    #playlists-grid { grid-template-columns: 1fr; }

    .lightbox-prev, .lightbox-next { font-size: 1.8rem; padding: 0 4px; }
}

@media (max-width: 480px) {
    .hero-logo-main { width: clamp(200px, 82vw, 340px); }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .about-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ── RTL (Arabic) ────────────────────────────────────────────── */
@media (max-width: 768px) {
    [dir="rtl"] .nav-menu { left: 0; right: auto; transform: translateX(-100%); }
    [dir="rtl"] .nav-menu.open { transform: none; }
}
[dir="rtl"] .nav-menu a::after { transform-origin: left; }
[dir="rtl"] .nav-menu a:hover::after { transform-origin: right; }
[dir="rtl"] .section-indicator { left: auto; right: 24px; }
[dir="rtl"] .indicator-label { left: auto; right: calc(100% + 12px); }
[dir="rtl"] .social-sidebar { right: auto; left: 24px; }
[dir="rtl"] .sidebar-social-link:hover { transform: translateX(3px); }
[dir="rtl"] .cal-accent { left: auto; right: 0; }
[dir="rtl"] .cal-info { padding: 20px 28px 20px 24px; }
[dir="rtl"] .booking-overlay::before { background: linear-gradient(to left, transparent 0%, #000 100%); }
[dir="rtl"] .booking-overlay::after  { background: linear-gradient(to left, transparent 0%, #FF0000 100%); }
[dir="rtl"] .cta-button { flex-direction: row-reverse; }
[dir="rtl"] .btn-arrow { transform: scaleX(-1); }
[dir="rtl"] .cta-button:hover .btn-arrow { transform: scaleX(-1) translateX(-5px); }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

/* ── THEME TOGGLE BUTTON ─────────────────────────────────────── */
.theme-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; flex-shrink: 0;
    border: 1px solid var(--red); color: var(--red);
    transition: background 0.2s, color 0.2s;
}
.theme-toggle:hover { background: var(--red); color: var(--black); }
.theme-toggle svg { width: 15px; height: 15px; pointer-events: none; }

/* ── Theme icon morph ── */
.theme-icon-wrap {
    position: relative; display: block;
    width: 15px; height: 15px;
}
.theme-icon-wrap svg {
    position: absolute; top: 0; left: 0;
    width: 15px; height: 15px;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
/* Dark mode default: moon in, sun out */
.icon-sun  { opacity: 0; transform: rotate(60deg) scale(0.3); }
.icon-moon { opacity: 1; transform: rotate(0deg)  scale(1);   }
/* Dark mode hover: preview sun */
#theme-toggle:hover .icon-sun  { opacity: 1; transform: rotate(0deg)   scale(1);   }
#theme-toggle:hover .icon-moon { opacity: 0; transform: rotate(-60deg) scale(0.3); }
/* Light mode default: sun in, moon out */
[data-theme="light"] .icon-sun  { opacity: 1; transform: rotate(0deg)  scale(1);   }
[data-theme="light"] .icon-moon { opacity: 0; transform: rotate(60deg) scale(0.3); }
/* Light mode hover: preview moon */
[data-theme="light"] #theme-toggle:hover .icon-sun  { opacity: 0; transform: rotate(-60deg) scale(0.3); }
[data-theme="light"] #theme-toggle:hover .icon-moon { opacity: 1; transform: rotate(0deg)   scale(1);   }

/* ── Lang flag morph ── */
#lang-current { position: relative; overflow: hidden; }
.lang-text {
    display: block; line-height: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.lang-flag {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.25) rotate(8deg);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.lang-flag svg { width: 58%; height: 58%; display: block; border-radius: 1px; }
#lang-current:hover .lang-text { opacity: 0; transform: scale(0.15) rotate(-5deg); }
#lang-current:hover .lang-flag { opacity: 1; transform: scale(1) rotate(0deg); }

/* ── LIGHT MODE — HARDCODED BACKGROUNDS (animatable, CSS vars can't transition) ── */
[data-theme="light"] body { background: #FF0000; }
[data-theme="light"] section.section-dark { background: #E50000; }

/* ── LIGHT MODE — VARIABLE OVERRIDES ────────────────────────── */
[data-theme="light"] {
    --black:      #FF0000;
    --black-soft: #E50000;
    --black-card: #CC0000;
    --black-hover:#B80000;
    --white:      #000000;
    --gray:       #1a1a1a;
    --gray-light: #2d2d2d;
    --red:        #000000;
    --red-dim:    rgba(0, 0, 0, 0.12);
    --red-glow:   rgba(0, 0, 0, 0.30);
    --border:     rgba(0, 0, 0, 0.22);
}

/* ── LIGHT MODE — HARDCODED COLOR OVERRIDES ─────────────────── */


/* Mobile nav menu panel + controls panel */
@media (max-width: 768px) {
    [data-theme="light"] .nav-menu { background: rgba(185, 0, 0, 0.98); }
    [data-theme="light"] .nav-controls { background: rgba(185, 0, 0, 0.98); border-bottom-color: rgba(255,255,255,0.15); }
}

/* Mobile overlay backdrop */
[data-theme="light"] .menu-overlay { background: rgba(180, 0, 0, 0.55); }

/* Section indicator inactive dots */
[data-theme="light"] .indicator-dot::before { background: rgba(0, 0, 0, 0.25); }

/* Indicator label: --red is black in light mode, so text would be invisible */
[data-theme="light"] .indicator-label { color: #FF0000; background: rgba(0, 0, 0, 0.8); }

/* White PNG logos → invert to black */
[data-theme="light"] .nav-logo img { filter: invert(1); }
[data-theme="light"] .nav-logo:hover img { filter: invert(1) drop-shadow(0 0 12px rgba(0,0,0,0.5)); }
[data-theme="light"] .loader-logo { filter: invert(1) drop-shadow(0 0 20px rgba(0,0,0,0.4)); }
/* footer-logo now lives inside #wanna-touch (dark photo bg) — no invert needed */
[data-theme="light"] .footer-social a img { filter: invert(1) brightness(0.45); }
[data-theme="light"] .footer-social a:hover img { filter: invert(1) brightness(0.9); }
[data-theme="light"] .social-link img { filter: invert(1) brightness(0.7); }
[data-theme="light"] .social-link:hover img { filter: invert(1) brightness(1) drop-shadow(0 0 8px rgba(0,0,0,0.5)); }
[data-theme="light"] .social-link-sm img { filter: invert(1) brightness(0.7); }
[data-theme="light"] .social-link-sm:hover img { filter: invert(1) brightness(1); }
[data-theme="light"] .sidebar-social-link img { filter: invert(1) brightness(0.4); }
[data-theme="light"] .sidebar-social-link:hover img { filter: invert(1) brightness(0.9); }

/* CTA button: --red bg (→ black) but --white text (→ black) = invisible; force white text */
[data-theme="light"] .cta-button { color: #ffffff; }
[data-theme="light"] .cta-button:hover { color: var(--black); }         /* red text on hover ✓ */
[data-theme="light"] .cta-button.cta-outline:hover { color: #ffffff; }  /* black bg → white text ✓ */

/* Scroll-to-top: --red bg (→ black), --white text (→ black) = invisible; force white */
[data-theme="light"] #scroll-top { color: #ffffff; }

/* Lightbox stays dark regardless of theme (user is viewing photos) */
[data-theme="light"] .lightbox { background: rgba(0, 0, 0, 0.95); }
[data-theme="light"] .lightbox-close { color: rgba(255,255,255,0.85); }
[data-theme="light"] .lightbox-close:hover { color: #FF0000; }
[data-theme="light"] .lightbox-prev,
[data-theme="light"] .lightbox-next { color: rgba(255,255,255,0.5); }
[data-theme="light"] .lightbox-prev:hover,
[data-theme="light"] .lightbox-next:hover { color: #FF0000; }

/* Cal past events: grayscale filter looks odd on red bg */
[data-theme="light"] .cal-card.cal-past { filter: brightness(0.8); }

/* Wanna Touch section: photo bg is dark — keep icons white regardless of theme */
[data-theme="light"] #wanna-touch .social-link img       { filter: brightness(0.85); }
[data-theme="light"] #wanna-touch .social-link:hover img { filter: brightness(1) drop-shadow(0 0 24px rgba(255,255,255,0.7)); }


/* Hero content sits over the dark photo — mirror dark mode exactly */
[data-theme="light"] .hero-subtitle           { color: #FF0000; }
[data-theme="light"] .hero-typing             { border-right-color: #FF0000; }
[data-theme="light"] #hero .social-link img   { filter: brightness(0.7); }
[data-theme="light"] #hero .social-link:hover img { filter: brightness(1) drop-shadow(0 0 8px rgba(255,255,255,0.6)); }
