/* VARIABLES */
:root {
    /* Colors - Background */
    --bg-color: #050505;
    --bg-dark: #0a0a0a;

    /* Colors - Text */
    --text-color: #d0d0d0;
    --text-light: #fff;
    --text-muted: #aaa;
    --text-dim: #999;
    --text-footer: #aaa;

    /* Colors - Accent */
    --accent-color: #00ff41;
    --accent-secondary: #ff003c;

    /* Colors - Borders */
    --border-color: #222;
    --border-dark: #333;
    --border-hover: #444;

    /* Fonts */
    --font-main: 'Inter', sans-serif;
    --font-head: 'Oswald', sans-serif;
    --font-hero: 'Oswald', sans-serif;

    /* Misc */
    --cursor-size: 20px;
}

/* TEXT SELECTION */
::selection {
    background: var(--accent-color);
    color: #000;
}
::-moz-selection {
    background: var(--accent-color);
    color: #000;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    cursor: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.no-custom-cursor,
body.no-custom-cursor * {
    cursor: auto !important;
}
body.no-custom-cursor a,
body.no-custom-cursor button {
    cursor: pointer !important;
}

/* PAGE WRAPPER - ensures footer stays at bottom */
.page-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 100%;
}
.page-wrapper main {
    flex: 1 1 auto;
    padding-top: 80px;
}
.page-wrapper footer {
    flex: 0 0 auto;
}

/* PRELOADER */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000; z-index: 99999; display: flex; justify-content: flex-start; align-items: flex-end; padding: 40px; font-family: 'Courier New', monospace; color: var(--accent-color); }
#boot-text { white-space: pre-wrap; line-height: 1.5; }
.blink_me { animation: blinker 1s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }

/* CUSTOM CURSOR */
#custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border: 2px solid var(--accent-color);
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
    mix-blend-mode: difference;
}
#custom-cursor.hovered {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 0, 60, 0.2);
    border-color: var(--accent-secondary);
}

/* FX */
.scanlines { position: fixed; top:0; left:0; width:100%; height:100%; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)); background-size: 100% 2px, 3px 100%; z-index: 900; pointer-events: none; opacity: 0.6; }
#canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; opacity: 0.5; }

/* NAV - Main navigation only (not footer nav) */
body > nav { position: fixed; top: 0; width: 100%; padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background: rgba(5,5,5,0.95); border-bottom: 1px solid #222; }
footer nav { position: static; display: inline; background: none; padding: 0; border: none; width: auto; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; text-decoration: none; letter-spacing: 2px; }

/* NAV LINKS - Fullscreen Overlay */
.nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 10000;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.nav-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 65, 0.03) 50%, transparent 100%),
        repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(0, 255, 65, 0.02) 2px, rgba(0, 255, 65, 0.02) 4px);
    pointer-events: none;
    animation: scanline-move 8s linear infinite;
}
@keyframes scanline-move {
    0% { background-position: 0 0; }
    100% { background-position: 0 100vh; }
}
.nav-links.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

/* Nav Links Styling */
.nav-links .nav-link {
    font-size: 1.8rem !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: var(--font-head);
    position: relative;
    padding: 10px 30px;
    margin: 0 !important;
    transition: all 0.3s ease;
    text-decoration: none;
}
.nav-links .nav-link::before {
    content: '>';
    position: absolute;
    left: 0;
    opacity: 0;
    color: var(--accent-color);
    transform: translateX(-20px);
    transition: all 0.3s ease;
}
.nav-links .nav-link:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 30px var(--accent-color), 0 0 60px var(--accent-color);
    transform: translateX(20px);
}
.nav-links .nav-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Social Icons in Nav */
.nav-social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.nav-social .social-icon {
    font-size: 2rem;
    color: #666;
    transition: all 0.3s ease;
    padding: 10px;
}
.nav-social .social-icon:hover {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-color);
    transform: scale(1.2);
}

/* LANGUAGE SWITCHER */
.lang-switcher {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.lang-btn {
    padding: 12px 25px !important;
    margin: 0 !important;
    font-size: 1rem !important;
    color: #666 !important;
    background: transparent;
    border: 2px solid #333 !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
}
.lang-btn:hover {
    color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 15px var(--accent-color);
}
.lang-btn.active {
    color: #000 !important;
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

/* Prevent scrolling when menu open */
body.menu-open {
    overflow: hidden;
}

/* HERO */
.hero { min-height: calc(100vh - 80px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; }
.hero-sub { color: var(--accent-color); letter-spacing: 4px; text-transform: uppercase; font-size: 0.9rem; margin-top: 20px; }

.hero-title {
    font-family: var(--font-hero);
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    position: relative;
    color: #fff;
    margin: 0;
    line-height: 1;
}
.hero-title::before, .hero-title::after {
    content: "MDL8MND";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color);
}
.hero-title::before {
    left: 3px;
    text-shadow: -2px 0 var(--accent-secondary);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.hero-title::after {
    left: -3px;
    text-shadow: -2px 0 var(--accent-color);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

/* GLITCH KEYFRAMES */
@keyframes glitch-anim {
    0% { clip: rect(70px, 9999px, 56px, 0); }
    20% { clip: rect(24px, 9999px, 86px, 0); }
    40% { clip: rect(6px, 9999px, 120px, 0); }
    60% { clip: rect(44px, 9999px, 20px, 0); }
    80% { clip: rect(8px, 9999px, 140px, 0); }
    100% { clip: rect(90px, 9999px, 5px, 0); }
}
@keyframes glitch-anim-2 {
    0% { clip: rect(10px, 9999px, 90px, 0); }
    20% { clip: rect(120px, 9999px, 10px, 0); }
    40% { clip: rect(40px, 9999px, 60px, 0); }
    60% { clip: rect(80px, 9999px, 20px, 0); }
    80% { clip: rect(20px, 9999px, 100px, 0); }
    100% { clip: rect(60px, 9999px, 40px, 0); }
}

/* LAYOUT */
.container { max-width: 900px; margin: 0 auto; padding: 100px 20px; }
h2 { font-family: var(--font-head); font-size: 2.5rem; text-transform: uppercase; margin-bottom: 30px; border-left: 3px solid var(--accent-color); padding-left: 15px; color: #fff; position: relative; display: inline-block; }

/* H2 SCROLL GLITCH */
h2.glitch-trigger { animation: h2-glitch 0.8s cubic-bezier(.25,.46,.45,.94) both; }
@keyframes h2-glitch {
    0% { transform: translate(0); opacity: 0; }
    20% { transform: translate(-5px, 5px) skewX(-10deg); text-shadow: 2px 0 var(--accent-secondary), -2px 0 var(--accent-color); opacity: 1;}
    40% { transform: translate(5px, -5px) skewX(10deg); text-shadow: -2px 0 var(--accent-secondary), 2px 0 var(--accent-color); }
    60% { transform: translate(-2px, 2px) skewX(-5deg); filter: blur(1px); }
    80% { transform: translate(2px, -2px) skewX(5deg); }
    100% { transform: translate(0); opacity: 1; text-shadow: none; filter: none;}
}

/* SECTIONS */
.section-bio { margin-bottom: 60px; }
.section-music { margin-bottom: 80px; }
.section-contact { margin-top: 80px; text-align: center; }

/* CONTACT ICONS */
.contact-icon {
    font-size: 2rem;
    color: var(--text-light);
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}
.contact-icon:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* BOOKING CTA */
.section-booking-cta {
    margin-top: 80px;
    margin-bottom: 60px;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.05) 0%, rgba(0, 255, 65, 0.02) 100%);
    border: 1px solid var(--border-color);
    position: relative;
}
.section-booking-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}
.section-booking-cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.booking-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--accent-color);
    color: #000;
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}
.booking-btn:hover {
    background: transparent;
    color: var(--accent-color);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
    transform: translateY(-2px);
}
.booking-btn i {
    font-size: 1.1rem;
}

/* BIO */
.bio-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}
.bio-image {
    flex-shrink: 0;
    width: 280px;
    border: 1px solid var(--border-color);
    padding: 15px;
    transition: border-color 0.3s ease;
}
.bio-image:hover {
    border-color: var(--accent-color);
}
.bio-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 65, 0.2));
}
.bio-text {
    flex: 1;
}
@media (max-width: 768px) {
    .bio-content {
        flex-direction: column;
    }
    .bio-image {
        width: 100%;
        margin-bottom: 30px;
    }
}
.bio-lead { font-size: 1.1rem; line-height: 1.6; color: var(--text-light); margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
.bio-details p { margin-bottom: 20px; line-height: 1.7; color: var(--text-muted); }
.style-tags { margin-top: 30px; }
.style-tags span { display: inline-block; border: 1px solid var(--border-dark); padding: 5px 12px; font-size: 0.75rem; text-transform: uppercase; color: var(--accent-color); margin-right: 6px; margin-bottom: 8px; background: rgba(0, 255, 65, 0.05); }

/* MARQUEE */
.marquee-wrapper { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; background: #0a0a0a; border-top: 1px solid #222; border-bottom: 1px solid #222; padding: 25px 0; overflow: hidden; margin-bottom: 80px; }
.marquee-content { display: flex; gap: 50px; animation: scrollLeft 30s linear infinite; white-space: nowrap; width: max-content; }
.ref-item { font-family: var(--font-head); font-size: 1.5rem; color: #888; text-transform: uppercase; font-weight: bold; display: flex; align-items: center; }
.ref-item i { font-size: 0.8rem; color: var(--accent-color); margin-right: 15px; opacity: 0.5; }
.ref-item:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* SOUNDCLOUD FACADE */
.sc-facade {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.sc-facade:hover, .sc-facade:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}
.sc-facade:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}
.sc-facade-content {
    text-align: center;
    color: var(--text-muted);
    transition: color 0.3s;
}
.sc-facade:hover .sc-facade-content,
.sc-facade:focus .sc-facade-content {
    color: var(--accent-color);
}
.sc-facade-content i {
    font-size: 4rem;
    display: block;
    margin-bottom: 15px;
}
.sc-facade-content span {
    font-family: var(--font-head);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.sc-facade.loading .sc-facade-content span::after {
    content: '...';
    animation: dots 1s infinite;
}
@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* GIG ACCORDION */
.gig-item { border: 1px solid var(--border-color); background: var(--bg-dark); margin-bottom: 15px; transition: 0.3s; }
.gig-item:hover { border-color: var(--border-hover); }
/* Reset button styles for gig-header */
button.gig-header {
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    text-align: left;
}
.gig-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; cursor: pointer; }
.gig-date { color: var(--accent-color); font-family: var(--font-head); font-weight: bold; font-size: 1.1rem; width: 120px; }
.gig-name { color: var(--text-light); font-weight: 600; flex-grow: 1; text-transform: uppercase; }
.gig-loc { color: var(--text-dim); font-size: 0.9rem; margin-right: 20px; }
.gig-icon { transition: 0.3s; color: var(--text-light); }
.gig-icon-active { color: var(--accent-color); }
.gig-body { display: none; padding: 0 20px 20px 20px; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.9rem; }
.gig-body.open { display: block; animation: fadeIn 0.3s ease; }
.gig-meta { display: flex; gap: 30px; margin-top: 15px; margin-bottom: 15px; font-family: 'Courier New', monospace; }
.gig-meta div { display: flex; align-items: center; gap: 8px; color: var(--text-light); }
.gig-link { display: inline-block; background: var(--accent-color); color: #000; text-decoration: none; padding: 8px 20px; font-weight: bold; text-transform: uppercase; font-size: 0.8rem; margin-top: 10px; }
.gig-link:hover { background: var(--text-light); }
.dates-empty { color: var(--text-dim); }

/* FOOTER & COOKIE */
footer { border-top: 1px solid var(--border-color); padding: 40px 0; text-align: center; margin-top: auto; font-size: 0.8rem; color: var(--text-dim); }
footer a { color: var(--text-footer); text-decoration: underline; text-underline-offset: 3px; margin: 0 10px; }
footer a:hover { color: var(--text-light); }
#cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; background: #111; border: 1px solid var(--accent-color); padding: 20px; z-index: 9999; display: flex; justify-content: space-between; align-items: center; max-width: 600px; margin: 0 auto; box-shadow: 0 0 20px rgba(0,0,0,0.8); }
#cookie-desc { margin-right: 20px; }
.c-btn { background: var(--accent-color); border: none; padding: 8px 20px; cursor: pointer; font-weight: bold; font-family: var(--font-head); text-transform: uppercase; }

/* EASTER EGG SWITCH */
.mod-switch-container {
    position: fixed; bottom: 200px; right: 30px; z-index: 9998;
    display: flex; align-items: center; gap: 10px;
    font-family: 'Courier New', monospace; font-size: 0.7rem; color: var(--accent-color);
    transform: rotate(-90deg); transform-origin: center right; opacity: 0.6; transition: 0.3s;
}
.mod-switch-container:hover { opacity: 1; }
.switch { position: relative; display: inline-block; width: 40px; height: 20px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #111; border: 1px solid #333; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 14px; width: 14px; left: 2px; bottom: 2px; background-color: #555; transition: .4s; }
input:checked + .slider { background-color: var(--accent-secondary); border-color: var(--accent-secondary); }
input:checked + .slider:before { transform: translateX(20px); background-color: #fff; }

/* HIGH MODULATION STATE */
body.high-modulation { --accent-color: #ff003c; --accent-secondary: #00ff41; }
body.high-modulation .scanlines { opacity: 0.9; background-size: 100% 4px, 6px 100%; }
body.high-modulation #canvas-container { opacity: 0.6; }

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* LEGAL PAGE */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 30px 60px 30px;
}
.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 20px;
    border: 1px solid var(--accent-color);
    margin-bottom: 40px;
    transition: all 0.3s;
}
.legal-back:hover {
    background: var(--accent-color);
    color: #000;
}
.legal-section {
    margin-bottom: 60px;
}
.legal-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.legal-intro {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
}
.legal-block {
    margin-bottom: 30px;
}
.legal-block h3 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--accent-color);
    margin: 0 0 12px 0;
    letter-spacing: 1px;
}
.legal-block p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 10px;
}
.legal-block a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
    transition: color 0.3s;
}
.legal-block a:hover {
    color: var(--accent-color);
}
.legal-block a i {
    font-size: 0.7rem;
    margin-left: 5px;
}
.legal-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.8rem;
}

/* HAMBURGER MENU - Glitch Style */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 4px;
    z-index: 10001;
    position: relative;
    transition: border-color 0.3s ease;
}
.hamburger::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hamburger:hover::before {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color), inset 0 0 10px rgba(0, 255, 65, 0.1);
}
.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}
.hamburger:hover .hamburger-line {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
}
.hamburger:hover .hamburger-line:nth-child(1) {
    transform: translateX(3px);
}
.hamburger:hover .hamburger-line:nth-child(2) {
    animation: hamburger-glitch 0.3s infinite;
}
.hamburger:hover .hamburger-line:nth-child(3) {
    transform: translateX(-3px);
}
@keyframes hamburger-glitch {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-1px); }
}
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}
.hamburger.active::before {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    animation: pulse-border 1s infinite;
}
@keyframes pulse-border {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
.hamburger:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 5px;
}

/* Hamburger stays on top when menu is open */
body.menu-open .hamburger {
    position: fixed;
    top: 20px;
    right: 40px;
    z-index: 10002;
}

/* MOBILE */
@media (max-width: 700px) {
    body { cursor: auto; }
    #custom-cursor { display: none !important; }
    .gig-header { flex-direction: column; align-items: flex-start; gap: 5px; }

    /* Mobile Nav Adjustments */
    body > nav { padding: 15px 20px; }
    body.menu-open .hamburger { top: 15px; right: 20px; }
    .nav-links .nav-link { font-size: 1.4rem !important; letter-spacing: 3px; padding: 8px 25px; }
    .nav-social { gap: 15px; margin-top: 15px; }
    .nav-social .social-icon { font-size: 1.3rem; }

    .gig-loc { margin-right: 0; margin-bottom: 5px; }
    #preloader { padding: 20px; font-size: 0.8rem; }
    .legal-container { padding: 100px 20px 40px 20px; }
    .legal-title { font-size: 1.8rem; }
    .legal-block h3 { font-size: 1rem; }
    #a11y-toolbar { bottom: 15px; left: 15px; }
    .a11y-panel { width: 260px; }
}

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

/* SKIP LINK */
.skip-link {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #000;
    padding: 12px 24px;
    z-index: 100000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* FOCUS STYLES - Keyboard Navigation */
*:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
*:focus:not(:focus-visible) {
    outline: none;
}
*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
    background: rgba(0, 255, 65, 0.1);
}

/* ACCESSIBILITY TOOLBAR */
#a11y-toolbar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;
    font-family: var(--font-main);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
/* Always show standard cursor in a11y toolbar */
#a11y-toolbar,
#a11y-toolbar * {
    cursor: auto !important;
}
#a11y-toolbar button,
#a11y-toolbar a,
#a11y-toolbar label,
#a11y-toolbar input {
    cursor: pointer !important;
}
#a11y-toolbar.visible {
    opacity: 1;
    visibility: visible;
}
#a11y-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: rgba(5, 5, 5, 0.95);
    color: var(--accent-color);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
#a11y-toggle:hover, #a11y-toggle:focus {
    background: var(--accent-color);
    color: #000;
    transform: scale(1.1);
}
.a11y-panel {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 280px;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--accent-color);
    padding: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}
.a11y-panel h3 {
    font-family: var(--font-head);
    color: var(--accent-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}
.a11y-option {
    margin-bottom: 15px;
}
.a11y-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 0.9rem;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
}
.a11y-option label:hover {
    background: rgba(255, 255, 255, 0.05);
}
.a11y-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-color);
    cursor: pointer;
}
.a11y-option .a11y-icon {
    width: 24px;
    text-align: center;
    color: var(--accent-color);
}
.a11y-option small {
    display: block;
    margin-left: 52px;
    color: #666;
    font-size: 0.75rem;
    margin-top: 2px;
}
.a11y-links {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333;
}
.a11y-link {
    color: #888;
    font-size: 0.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}
.a11y-link:hover {
    color: var(--accent-color);
}

/* Hide cursor option on mobile (no custom cursor there anyway) */
@media (max-width: 700px) {
    .a11y-option-cursor {
        display: none;
    }
}

/* ============================================
   REDUCED MOTION - Stops all animations
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .scanlines { display: none !important; }
    #canvas-container { display: none !important; }
    .marquee-content { animation: none !important; }
    .hero-title::before, .hero-title::after { animation: none !important; display: none !important; }
    #preloader { display: none !important; }
}

/* A11Y CLASS: Reduce Motion (via Toolbar) */
.a11y-reduce-motion *,
.a11y-reduce-motion *::before,
.a11y-reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}
.a11y-reduce-motion .scanlines { display: none !important; }
.a11y-reduce-motion #canvas-container { display: none !important; }
.a11y-reduce-motion .marquee-content { animation: none !important; transform: none !important; }
.a11y-reduce-motion .hero-title::before,
.a11y-reduce-motion .hero-title::after { animation: none !important; display: none !important; }
.a11y-reduce-motion #preloader { display: none !important; }
.a11y-reduce-motion .blink_me { animation: none !important; }
.a11y-reduce-motion h2.glitch-trigger { animation: none !important; opacity: 1 !important; transform: none !important; }

/* A11Y CLASS: High Contrast */
.a11y-high-contrast {
    --bg-color: #000;
    --text-color: #fff;
    --accent-color: #ffff00;
}
.a11y-high-contrast body {
    background: #000 !important;
}
.a11y-high-contrast p, .a11y-high-contrast span, .a11y-high-contrast div {
    color: #fff !important;
}
.a11y-high-contrast a {
    color: #ffff00 !important;
    text-decoration: underline !important;
}
.a11y-high-contrast .scanlines { display: none !important; }
.a11y-high-contrast body > nav {
    background: #000 !important;
    border-color: #fff !important;
}
.a11y-high-contrast .gig-item {
    border-color: #fff !important;
    background: #000 !important;
}

/* A11Y CLASS: Large Text */
.a11y-large-text {
    font-size: 120% !important;
}
.a11y-large-text h1 { font-size: 3rem !important; }
.a11y-large-text h2 { font-size: 2rem !important; }
.a11y-large-text h3 { font-size: 1.5rem !important; }
.a11y-large-text p, .a11y-large-text li, .a11y-large-text span {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
}

/* A11Y CLASS: Standard Cursor */
html.a11y-standard-cursor,
html.a11y-standard-cursor body,
html.a11y-standard-cursor * {
    cursor: auto !important;
}
html.a11y-standard-cursor #custom-cursor,
.a11y-standard-cursor #custom-cursor,
body.a11y-standard-cursor #custom-cursor {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}
html.a11y-standard-cursor a,
html.a11y-standard-cursor button,
html.a11y-standard-cursor .interactable,
html.a11y-standard-cursor [onclick] {
    cursor: pointer !important;
}

/* ACCESSIBILITY PAGE */
.a11y-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 30px 60px 30px;
}
.a11y-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 16px;
    font-size: 0.85rem;
    margin-bottom: 30px;
}
.a11y-status i { font-size: 1rem; }
.a11y-section {
    margin-bottom: 40px;
}
.legal-main-section {
    margin-top: 60px;
}
.a11y-section h2 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}
.a11y-section p, .a11y-section li {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 10px;
}
.a11y-section ul {
    list-style: none;
    padding: 0;
}
.a11y-section li {
    padding-left: 25px;
    position: relative;
}
.a11y-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}
.a11y-section a {
    color: var(--accent-color);
}
.a11y-contact {
    background: #0a0a0a;
    border: 1px solid #333;
    padding: 20px;
    margin-top: 20px;
}
.a11y-contact a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
}
.a11y-update {
    color: #999;
    font-size: 0.8rem;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
}

/* ============================================
   BIO PAGE (Link in Bio)
   ============================================ */

.bio-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Mini Hero */
.mini-hero {
    text-align: center;
    margin-bottom: 40px;
}
.mini-hero-title {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1;
}
.mini-hero-title::before, .mini-hero-title::after {
    content: "MDL8MND";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color);
}
.mini-hero-title::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent-secondary);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.mini-hero-title::after {
    left: -2px;
    text-shadow: -1px 0 var(--accent-color);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}
.mini-hero-sub {
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* Link List */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.link-item {
    display: block;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #222;
    padding: 18px 20px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.link-item:hover {
    border-color: var(--accent-color);
    background: rgba(0, 255, 65, 0.05);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
}
.link-item::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    transition: left 0.5s ease;
}
.link-item:hover::before {
    left: 100%;
}

/* Link with Preview */
.link-item.has-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}
.link-preview-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #333;
    flex-shrink: 0;
}
.link-text {
    flex-grow: 1;
}

/* Social Row (Bio page) */
.social-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #222;
}
.social-row a {
    color: #888;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}
.social-row a:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

/* Bio Footer */
.bio-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.75rem;
    color: #999;
}
.bio-footer a {
    color: #aaa;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.bio-footer a:hover {
    color: var(--accent-color);
}

/* ============================================
   GALLERY PAGE
   ============================================ */

/* Small Hero for subpages */
.hero-small {
    padding: 60px 20px 40px;
    min-height: auto;
}
.hero-small .hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
}

/* Gallery Section */
.section-gallery {
    padding: 40px 0;
}
.section-gallery h2 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.gallery-empty {
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
    border: 1px dashed var(--border-color);
}

/* Flyers Grid */
.flyers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.flyer-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}
.flyer-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.1);
}
.flyer-image {
    aspect-ratio: 3/4;
    overflow: hidden;
}
.flyer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.flyer-card:hover .flyer-image img {
    transform: scale(1.05);
}
.flyer-info {
    padding: 15px;
}
.flyer-info h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
}
.flyer-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.event-gallery-item {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 25px;
}
.event-gallery-header {
    margin-bottom: 20px;
}
.event-gallery-header h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}
.event-gallery-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.event-gallery-meta i {
    color: var(--accent-color);
    margin-right: 5px;
}
.event-gallery-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 10px;
    line-height: 1.6;
}
.event-no-images {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

/* Event Gallery Grid */
.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.event-gallery-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}
.event-gallery-thumb:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}
.event-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.event-gallery-thumb:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}
.lightbox.active {
    display: flex;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.2);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-color);
    color: #000;
}
.lightbox-close {
    top: 20px;
    right: 20px;
}
.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Gallery Preview Section (Index page) */
.section-gallery-preview {
    padding: 60px 0;
}
.section-gallery-preview h2 {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
    display: inline-block;
}
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}
.gallery-preview-item {
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}
.gallery-preview-item:hover {
    border-color: var(--accent-color);
}
.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-preview-item:hover img {
    transform: scale(1.1);
}
.gallery-preview-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 10px;
    font-size: 0.75rem;
    color: #fff;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-preview-item:hover .overlay {
    opacity: 1;
}
.gallery-view-all {
    text-align: center;
}
.gallery-view-all a {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.gallery-view-all a:hover {
    background: var(--accent-color);
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .flyers-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .event-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    .gallery-preview-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}
