/* Theme default: B&W Dark */
:root, [data-theme="bw"] {
    --bg: #000;
    --bg-alt: #0a0a0a;
    --bg-popup: #111;
    --text: #fff;
    --text-muted: #999;
    --accent: #fff;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --hero-gradient: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Theme: B&W Light */
[data-theme="bw-light"] {
    --bg: #fff;
    --bg-alt: #f0f0f0;
    --bg-popup: #e0e0e0;
    --text: #000;
    --text-muted: #555;
    --accent: #000;
    --accent-glow: rgba(0, 0, 0, 0.1);
    --hero-gradient: linear-gradient(135deg, #e8e8e8 0%, #fff 50%, #e8e8e8 100%);
}

/* Theme 2: Neon Green */
[data-theme="neon"] {
    --bg: #000c00;
    --bg-alt: #0a1a08;
    --bg-popup: #0d220a;
    --text: #e6ffe6;
    --text-muted: #6fbf6f;
    --accent: #39ff14;
    --accent-glow: rgba(57, 255, 20, 0.3);
    --hero-gradient: linear-gradient(135deg, #000c00 0%, #0a2e0a 50%, #000c00 100%);
}

/* Theme 3: Blood Red */
[data-theme="blood"] {
    --bg: #0a0000;
    --bg-alt: #140808;
    --bg-popup: #1a0a0a;
    --text: #f0e0e0;
    --text-muted: #a06060;
    --accent: #ff1a1a;
    --accent-glow: rgba(255, 26, 26, 0.3);
    --hero-gradient: linear-gradient(135deg, #0a0000 0%, #2e0a0a 50%, #0a0000 100%);
}

/* Theme 4: Neon Yellow */
[data-theme="gold"] {
    --bg: #0a0a00;
    --bg-alt: #141400;
    --bg-popup: #1a1a08;
    --text: #fffff0;
    --text-muted: #b0b050;
    --accent: #ffe600;
    --accent-glow: rgba(255, 230, 0, 0.4);
    --hero-gradient: linear-gradient(135deg, #0a0a00 0%, #1a1a00 50%, #0a0a00 100%);
}


*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    position: relative;
}


a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

/* Ensure content above overlay */
.hero, .section, .footer, .toolbar {
    position: relative;
    z-index: 1;
}

/* Toolbars */
.toolbar {
    position: fixed;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 0 0 0 8px;
}

.toolbar-top {
    top: 0;
    border-radius: 0 0 0 8px;
}

.toolbar-bottom {
    bottom: 0;
    border-radius: 8px 0 0 0;
}

.toolbar-bottom-left {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.toolbar a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s;
    padding: 0.3rem 0.5rem;
    white-space: nowrap;
    opacity: 1;
}

.toolbar a:hover,
.toolbar a.active,
.toolbar a.nav-active,
.nav-mobile a.nav-active {
    color: var(--accent);
    opacity: 1;
}

body.popup-open .toolbar a:not(.nav-active) {
    opacity: 0.3;
}

.toolbar a i {
    margin-right: 2px;
    font-size: 0.8rem;
}

.lang-switch {
    border: none !important;
    padding: 0 !important;
    font-size: 1.2rem !important;
    text-decoration: none;
    line-height: 1;
    transition: transform 0.3s;
}

.toolbar-bottom-left .lang-switch:hover {
    transform: scale(1.2);
}

.nav-mobile .lang-switch:hover {
    transform: none;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 101;
    flex-direction: column;
    gap: 5px;
    background: rgba(10, 10, 10, 0.7);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    z-index: 100;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    padding: 4rem 2rem;
    gap: 1.2rem;
    transition: right 0.3s;
}

.nav-mobile.open {
    right: 0;
}

.nav-mobile a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
    opacity: 1;
}

.nav-mobile a:hover {
    color: var(--accent);
    opacity: 1;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--hero-gradient);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-shadow: 0 0 40px var(--accent-glow);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-logo {
    max-width: 280px;
    width: 100%;
    margin-bottom: 1rem;
}

/* Hero countdown */
.hero-countdown {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
    opacity: 0.8;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3.5rem;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    line-height: 1;
    color: var(--text);
    text-shadow: 0 0 20px var(--accent-glow);
}

.countdown-sep {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: var(--accent);
    opacity: 0.5;
    padding-bottom: 1.2rem;
}

.countdown-desc {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* Hero events */
.hero-events {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-event {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    text-align: left;
}

.hero-event:hover {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.6);
}

.hero-event-list {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.5;
}

.hero-event-list b {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    color: inherit;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    opacity: 1;
}

.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-small:hover {
    background: var(--accent);
    color: #000;
}

/* Sections */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--accent);
}

/* About */
.about-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.about-address {
    margin-bottom: 2rem;
}

.about-address h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.about-contact-info {
    margin-bottom: 2rem;
}

.about-contact-info p {
    margin-bottom: 0.3rem;
}

.about-contact-info i {
    width: 1.5rem;
    color: var(--accent);
}

.about-contact-info a {
    color: var(--accent);
}

.genre-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    transition: border-color 0.3s, color 0.3s;
}

.tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Events */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s;
}

.event-card:hover {
    border-color: var(--accent);
}

.event-date {
    text-align: center;
    min-width: 60px;
}

.event-day {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.event-month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.event-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.event-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.event-card .btn-small {
    margin-left: auto;
}

/* Social Media */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 700px;
    margin: 0 auto;
}

.social-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.social-block h3 i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.social-list {
    list-style: none;
}

.social-list li {
    margin-bottom: 0.6rem;
}

.social-list a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.3s;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.social-list a i {
    width: 1.2rem;
    text-align: center;
    color: var(--accent);
}

.social-list a:hover {
    color: var(--accent);
    opacity: 1;
}

/* Legal pages */
.legal-content {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-content h3 {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.legal-content h4 {
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 0.8rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.3rem;
}

.legal-content a {
    color: var(--accent);
    word-break: break-word;
}

/* Contact */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.form-status {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.form-status.success {
    color: #4caf50;
}

.form-status.error {
    color: #f44336;
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer .social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s;
    opacity: 1;
}

.footer .social-links a:hover {
    color: var(--accent);
    opacity: 1;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.copyright small {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Animations */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Popup overlay */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.open {
    display: flex;
    opacity: 1;
}

body.popup-open > :not(.popup-overlay) {
    transition: opacity 0.3s ease;
}

body > :not(.popup-overlay) {
    transition: opacity 0.3s ease;
}

.popup {
    position: relative;
    width: 85vw;
    height: 85vh;
    background: var(--bg-popup);
    border: 2px solid var(--accent);
    border-radius: 8px;
    overflow: hidden;
    animation: popupIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

@keyframes popupIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.popup-close:hover {
    background: var(--accent);
    color: #000;
}

.popup-carousel {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.popup-carousel .carousel-track {
    overflow: hidden;
    cursor: grab;
    position: relative;
    flex: 1;
    min-height: 0;
}

.popup-carousel .carousel-track:active {
    cursor: grabbing;
}

.popup-carousel .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    user-select: none;
    display: none;
}

.popup-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: var(--bg-popup);
}

.slide-info-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 6;
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent);
    border: 2px solid var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slide-info-btn:hover {
    background: var(--accent);
    color: #000;
    transform: scale(1.1);
}

.carousel-slide.show-info .slide-info-btn {
    background: var(--accent);
    color: #000;
}

.popup-carousel .slide-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 3rem 4rem;
    background: var(--bg-popup);
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    display: none;
    z-index: 5;
    cursor: pointer;
}

.popup-carousel .carousel-slide.show-info .slide-info {
    display: block;
}

.popup-carousel .slide-info p,
.popup-carousel .slide-info span,
.popup-carousel .slide-info div:not(.slide-date) {
    color: var(--text);
}

@media (max-width: 768px) {
    .popup-carousel .slide-info {
        padding: 3rem 2rem;
    }
}

.popup-carousel .slide-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-align: center;
}

.slide-date-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent);
    pointer-events: none;
    z-index: 2;
}

.carousel-slide.show-info .slide-date-label {
    display: none;
}

.popup-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text);
    border: none;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 5;
    border-radius: 50%;
    transition: background 0.3s, opacity 0.3s;
}

.popup-carousel .carousel-btn:hover {
    background: var(--accent-glow);
}

.popup-carousel .carousel-prev { left: 12px; }
.popup-carousel .carousel-next { right: 12px; }

/* Calendar buttons on event slides */
.slide-calendar-btns {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: 8px;
}

.cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    white-space: nowrap;
}

.cal-btn:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    opacity: 1;
}

.cal-btn i {
    font-size: 0.85rem;
}

.popup-carousel .carousel-counter {
    text-align: center;
    padding: 0.8rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
}

#gallery-lightbox .carousel-counter {
    display: none;
}

.carousel-slide--text .text-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 3rem 4rem;
    text-align: center;
    background: var(--bg-popup);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
}

.carousel-slide--text .text-slide p {
    max-width: 600px;
    margin: 0.4rem 0;
}

.carousel-slide--text .text-slide a {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .carousel-slide--text .text-slide {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }
}

.counter-date {
    color: var(--accent);
    margin-right: 0.5rem;
}

/* Text popup (Impressum, Datenschutz) */
.popup-text {
    display: flex;
    flex-direction: column;
}

.popup-text-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    padding-top: 1rem;
    background: var(--bg-popup);
}

.popup-text-content .section-title {
    margin-top: 1rem;
}

/* B&W Light theme overrides */
[data-theme="bw-light"] .toolbar {
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="bw-light"] .toolbar-bottom-left {
    background: transparent;
}

[data-theme="bw-light"] .nav-mobile {
    background: rgba(255, 255, 255, 0.98);
}

[data-theme="bw-light"] .nav-toggle span {
    background: var(--text);
}

[data-theme="bw-light"] .event-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="bw-light"] .contact-form input,
[data-theme="bw-light"] .contact-form textarea {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text);
}

[data-theme="bw-light"] .tag {
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="bw-light"] .footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="bw-light"] .theme-dot.active {
    border-color: #333;
}

[data-theme="bw-light"] .theme-dot {
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="bw-light"] .popup-overlay {
    background: rgba(255, 255, 255, 0.4);
}

[data-theme="bw-light"] .popup {
    background: var(--bg-popup);
    border-color: var(--accent);
}

[data-theme="bw-light"] .popup-text-content {
    background: var(--bg-popup);
}

[data-theme="bw-light"] .popup-close {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text);
}

[data-theme="bw-light"] .popup-carousel .carousel-btn {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="bw-light"] .popup-carousel .carousel-btn:hover {
    background: var(--accent-glow);
}

[data-theme="bw-light"] .slide-info-btn {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="bw-light"] .carousel-slide.show-info .slide-info-btn {
    color: #fff;
}

[data-theme="bw-light"] .slide-date-label {
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="bw-light"] .cal-btn {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="bw-light"] .cal-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

[data-theme="bw-light"] .hero-event {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="bw-light"] .btn-primary {
    color: #fff;
}

[data-theme="bw-light"] .btn-primary:hover {
    color: #000;
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-thumb {
    overflow: hidden;
    cursor: pointer;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.gallery-thumb:hover {
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.03);
}

.gallery-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

[data-theme="bw-light"] .gallery-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="bw-light"] .gallery-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    color: var(--text);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

[data-theme="bw-light"] .cookie-banner {
    background: rgba(255, 255, 255, 0.95);
    border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="bw-light"] .btn-outline {
    border-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
}

/* Theme picker */
.theme-picker {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 0.5rem;
}

.theme-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    padding: 0;
}

.theme-dot:hover {
    transform: scale(1.3);
}

.theme-dot.active {
    border-color: #fff;
    transform: scale(1.2);
}

.theme-dot--neon { background: #39ff14; }
.theme-dot--blood { background: #ff1a1a; }
.theme-dot--gold { background: #ffe600; }
.theme-dot--bw { background: #000; border-color: #666 !important; }
.theme-dot--bw-light { background: #fff; border-color: #999 !important; }

/* Hide reCAPTCHA badge (v3 invisible) */
.grecaptcha-badge { visibility: hidden; }

/* Mobile */
@media (max-width: 768px) {
    .toolbar, .toolbar-bottom-left {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-mobile {
        display: flex;
        right: -100%;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-card {
        flex-wrap: wrap;
    }

    .event-card .btn-small {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .carousel-slide img {
        height: 250px;
    }
}

.version-inline {
    color: var(--text-muted);
}
