/* Erstellt von SPACEPLANET - Simon Wernli 2026 */

/* ==========================================================================
   Lokale Google Fonts (Inter & Outfit)
   ========================================================================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/inter-300.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/inter-400.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/inter-600.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('assets/fonts/inter-800.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/outfit-700.ttf') format('truetype');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('assets/fonts/outfit-900.ttf') format('truetype');
}

/* Base Variables & Settings */
:root {
    --bg-color: #ffffff;
    --text-main: #0a0a0a;
    --text-muted: #52525b;
    --text-color: #ffffff;
    /* Für den Music Player (dunkler Hintergrund) */
    /* Neon Accents for Street Parade Theme */
    --neon-pink: #f0abfc;
    --neon-purple: #c026d3;
    --neon-blue: #0ea5e9;
    --neon-cyan: #22d3ee;
    --brand-orange: #f97316;
    --brand-orange-dark: #ea580c;

    --card-bg: #ffffff;
    --card-border: #f4f4f5;
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);

    --header-bg: #ffffff;
    /* Solide weiße Farbe gegen Transparenz */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: transparent;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Video fixed behind everything */
#global-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -100;
    pointer-events: none;
    opacity: 0.8;
    /* Slight opacity so it's not overwhelmingly bright compared to dark website */
}

/* Solid wrap block is now modularly transparent to allow specific cutouts */
.site-solid-wrapper {
    background-color: transparent;
    position: relative;
    z-index: 10;
}

main,
footer.footer {
    background-color: var(--bg-color);
}

#top-reveal-spacer {
    height: 100vh;
    width: 100%;
    background: transparent;
    position: relative;
    z-index: 1;
}

.footer-reveal-spacer {
    display: block;
    height: 220px;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Mobile: smaller parallax spacer */
@media (max-width: 768px) {
    .footer-reveal-spacer {
        display: block;
        height: 120px !important;
    }
}

/* Fixed Top & Bottom Gradient Lines */
body::before,
body::after {
    content: '';
    display: block;
    position: fixed;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #8d4795 0%, #e94546 25%, #eaff00 45%, #eaff00 55%, #ee7221 75%, #546eb3 100%);
    z-index: 99999;
    pointer-events: none;
}

body:has(.music-player-panel.is-playing)::before,
body:has(.music-player-panel.is-playing)::after {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(to right, #8d4795 0%, #e94546 25%, #eaff00 45%, #eaff00 55%, #ee7221 75%, #546eb3 100%);
    background-size: 50% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;
    animation: border-shimmer 2s infinite linear;
}

@keyframes border-shimmer {
    0% {
        background-position: -200% 0, 0 0;
    }

    100% {
        background-position: 200% 0, 0 0;
    }
}

body::before {
    top: 0;
}

body::after {
    bottom: 0;
}

/* Typewriter Cursor Effect */
.hero-text h1.typing-active::after,
.page-header h1.typing-active::after {
    content: '|';
    animation: blink 0.8s step-end infinite;
    color: var(--cursor-color, inherit);
    /* Driven dynamically by JS based on span color */
    font-weight: 300;
}

.hero-text h1.typing-done::after,
.page-header h1.typing-done::after {
    content: '|';
    animation: blink 0.8s step-end infinite;
    color: var(--player-yellow);
    /* Yellow blinking at the end */
    font-weight: 300;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ==========================================================================
   Responsive Heading Overrides
   ========================================================================== */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.1rem !important;
    }

    .page-header p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.7rem !important;
    }
}

/* ==========================================================================
   Print & Screenshot Layout Fixes
   ========================================================================== */
@media print {

    body,
    html {
        background: #ffffff !important;
        color: #000000 !important;
        height: auto !important;
        overflow: visible !important;
    }

    #global-video-bg,
    .music-player-panel,
    .scroll-to-top,
    .mobile-menu-btn,
    .mobile-nav,
    .header::after,
    #top-reveal-spacer,
    .footer-reveal-spacer {
        display: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }

    .site-solid-wrapper {
        background: #ffffff !important;
    }

    .neon-text,
    h1,
    h2,
    h3,
    p,
    div {
        color: #000000 !important;
        text-shadow: none !important;
    }

    .ticket-card,
    .blog-card,
    .faq-item {
        break-inside: avoid;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* ==========================================================================
   Screenshot Mode (Toggled via 'S' key)
   ========================================================================== */
body.screenshot-mode::before,
body.screenshot-mode::after,
body.screenshot-mode .bottom-gradient-line,
body.screenshot-mode .music-player-panel,
body.screenshot-mode .scroll-to-top,
body.screenshot-mode .mobile-menu-btn,
body.screenshot-mode #global-video-bg {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Text Gradients & Glows */
.neon-text {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.muted-text {
    color: var(--text-muted);
    font-size: 0.9em;
    font-weight: 400;
    display: block;
    margin-top: 4px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-dark));
    color: white;
    box-shadow: 0 10px 20px -5px rgba(249, 115, 22, 0.3);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-orange-dark), var(--brand-orange));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 15px 30px -5px rgba(234, 88, 12, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid #e4e4e7;
}

.btn-outline:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    background: rgba(249, 115, 22, 0.1);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--header-bg);
    transition: var(--transition);
}

.header.scrolled {
    background: var(--header-bg);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 130px;
    padding-top: 6px;
    /* Abstand zur Farbline (body::before, 4px) */
    position: relative;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .header-content {
    height: 90px;
    /* Kompakter beim Scrollen */
}

/* Align lateral elements to the visual center of the protruding large logo */
.header-left-logo {
    z-index: 101;
    display: flex;
    align-items: center;
    margin-top: 22px;
}

.logo {
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    z-index: 10;
}

.logo a {
    display: block;
}

.main-logo-img {
    height: 170px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
    /* mix-blend-mode entfernt, da es Ruckeln verursacht */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled .main-logo-img {
    height: 70px;
}

/* ==========================================================================
   Responsive Header (Mobile + Tablet bis 1024px)
   WAU-Logo ausgeblendet, SP-Logo absolut zentriert, Burger + Lang rechts
   ========================================================================== */
@media (max-width: 1024px) {

    /* Header kompakt, nur Flexbox-Row */
    .header-content {
        height: 65px !important;
        padding-top: 6px !important;
        display: flex !important;
        flex-direction: row;
        justify-content: flex-end;
        /* header-right geht nach rechts (WAU ist versteckt) */
        align-items: center;
        padding-left: 20px;
        padding-right: 20px;
        position: relative;
    }

    /* WAU-Logo auf Mobile verstecken – beide HTML-Strukturen (alt + neu) */
    .header-left-logo,
    .header-content>a:first-child {
        display: none !important;
    }

    /* SP-Logo: absolut zentriert – unabhängig von Links/Rechts-Elementen */
    .logo {
        position: absolute !important;
        left: 50% !important;
        top: 58px !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10;
        pointer-events: none;
        transition: top 0.3s ease !important;
    }

    .logo a {
        pointer-events: auto;
        display: flex;
        align-items: center;
    }

    .main-logo-img {
        height: 85px !important;
        /* Logo in der Mitte grösser */
        max-width: none !important;
        transform: none !important;
        margin-top: 0 !important;
        transition: height 0.3s ease !important;
        filter: none;
    }

    .header.scrolled .main-logo-img {
        height: 56px !important;
        /* Etwas grösser passend zum höheren Header */
    }

    .header.scrolled .header-content {
        height: 75px !important;
        /* Balken nochmals 5px höher */
    }

    .header.scrolled .logo,
    .header.scrolled .header-right {
        top: 43px !important;
    }

    /* Burger: absolut rechts, vertikal zentriert – unabhängig vom Logo */
    .header-right {
        position: absolute !important;
        right: 28px !important;
        top: 58px !important;
        transform: translateY(-50%) !important;
        margin-top: 0 !important;
        display: flex !important;
        align-items: center;
        z-index: 101;
        flex-shrink: 0;
        gap: 15px !important;
        transition: top 0.3s ease !important;
    }

    /* Lang-Switcher im Header ausblenden auf extrem schmalen Mobile Screens */
    .lang-switcher {
        display: none !important;
    }

    /* Mobile-Menu-Burger */
    .mobile-menu-btn {
        display: flex !important;
        flex-shrink: 0;
        position: static !important;
        transform: translateY(3px) !important;
    }

    /* Hero: Padding-Top genau über dem kompakten Header */
    .hero {
        padding-top: 105px;
        padding-bottom: 30px;
    }
}

@media (max-width: 480px) {

    /* Beide Geraete: Galaxy S25 Ultra (412px) und iPhone 17 (~393px) */
    .header-content {
        height: 85px !important;
        /* Header noch höher für mehr Platz nach oben */
        padding-top: 6px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .logo {
        top: 52px !important;
    }

    .main-logo-img {
        height: 80px !important;
    }

    .header.scrolled .main-logo-img {
        height: 52px !important;
    }

    .header.scrolled .header-content {
        height: 75px !important;
    }

    .header.scrolled .logo,
    .header.scrolled .header-right {
        top: 43px !important;
    }

    .mobile-menu-btn span {
        width: 24px;
    }

    .header-right {
        right: 24px !important;
        top: 52px !important;
    }

    .hero {
        padding-top: 100px;
    }

    .mobile-nav {
        padding-top: 110px;
        /* Noch etwas höher auf sehr kleinen Screens */
    }
}

.logo a:hover .main-logo-img {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--neon-purple);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    border-radius: 2px;
}

/* Burger Menu Button (Ersetzt das Desktop-Menü permanent) */
.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 101;
    margin-top: 22px;
}

/* Language Switcher – Desktop */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
}

.header.scrolled .lang-switcher {
    color: var(--text-muted);
}

.lang-switcher .lang-btn {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
    padding: 2px 4px;
    border-radius: 4px;
}

.lang-switcher .lang-btn:hover {
    color: var(--neon-purple);
}

.lang-switcher .lang-btn.active {
    color: var(--neon-purple);
    font-weight: 900;
    pointer-events: none;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
    flex-shrink: 0;
    transform: translateY(3px);
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 250px;
    /* Desktop: Deutlich weiter unten */
    align-items: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform: translateY(-20px);
}

@media (max-width: 1024px) {
    .mobile-nav {
        padding-top: 150px;
        /* Tablet: Ein guter Mittelweg */
    }
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-list li {
    margin: 30px 0;
}

.mobile-nav-list a {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
}

.mobile-nav-list a:hover {
    color: var(--neon-purple);
}

.mobile-lang-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 50px !important;
    text-transform: uppercase;
}

.mobile-lang-nav a {
    font-size: 1.2rem !important;
    font-family: 'Inter', sans-serif !important;
    transition: var(--transition);
}

.mobile-lang-nav span {
    color: var(--text-muted);
    font-weight: 300;
    opacity: 0.5;
}

.mobile-lang-nav a.active {
    color: var(--neon-purple);
}

/* Hero Section */
.hero {
    background: transparent;
    padding-top: 230px;
    padding-bottom: 20px;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
}

/* Abstract Background Glow */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192, 38, 211, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text {
    position: relative;
    width: 100%;
    max-width: 55%;
    padding: 30px 40px 30px 0;
    /* Padding for top, right, bottom */
    z-index: 1;
}

.hero-text::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: -50vw;
    /* Bleed infinitely to the left screen edge */
    background: rgba(255, 255, 255, 0.85);
    /* Semi-transparent white box */
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 650px;
}

.hero-dj-box {
    position: relative;
    width: 100%;
    max-width: 40%;
    padding: 35px 40px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1;
    text-align: center;
    align-self: flex-end;
}

.dj-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-dj-box h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-dj-box .neon-text {
    white-space: normal;
}

.dj-list li {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.dj-list li:last-child {
    margin-bottom: 0;
}

/* Mobile Hero Overrides (Must be after desktop rules!) */
@media (max-width: 1024px) {
    .hero {
        padding-top: 120px !important;
        /* 80px Header + 40px sichtberer Abstand */
        padding-bottom: 40px !important;
        /* 40px sichtberer Abstand unten */
    }

    .hero-text,
    .hero-dj-box {
        max-width: 100% !important;
        padding: 30px !important;
        /* Wieder zurück auf den Standard-Innenabstand */
        background: rgba(255, 255, 255, 0.85) !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }

    .hero-text::before {
        display: none !important;
        /* Disable the full-bleed pseudo element */
    }

    .hero-text h1 {
        font-size: 1.75rem !important;
        margin-bottom: 20px !important;
    }

    .hero-dj-box h3 {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }

    .intro-columns {
        display: block !important;
    }
}

.intro-columns {
    display: block;
    margin-bottom: 40px;
}

.intro-columns p {
    margin-bottom: 0;
    max-width: 100%;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Removed visual element styles */

/* Tickets Section */
.tickets {
    padding: 60px 0;
    background-color: #fafafa;
    border-top: 1px solid #f4f4f5;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.ticket-grid {
    display: grid;
    /* Grid optimized for 3 tickets */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.ticket-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--card-shadow);
}

.ticket-card.featured {
    border-color: rgba(192, 38, 211, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05), 0 0 20px rgba(192, 38, 211, 0.1);
    transform: scale(1.03);
    z-index: 2;
}

.ticket-card:hover {
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.ticket-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.ticket-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(192, 38, 211, 0.3);
    white-space: nowrap;
}

.ticket-header {
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 30px;
}

.ticket-header h3 {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

.ticket-features {
    flex: 1;
    margin-bottom: 40px;
}

.ticket-features li {
    margin-bottom: 16px;
    color: var(--text-main);
    position: relative;
    padding-left: 36px;
    line-height: 1.5;
}

/* Bullet icon setup */
.ticket-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
}

.ticket-action {
    margin-top: auto;
}

/* Info Box / Small print */
.ticket-info-box {
    max-width: 900px;
    margin: 60px auto 0;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px dashed #d4d4d8;
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.ticket-info-box p {
    margin-bottom: 12px;
}

.ticket-info-box p:last-child {
    margin-bottom: 0;
}

.small-print {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 16px;
    border-top: 1px solid var(--card-border);
    padding-top: 16px;
}

/* Footer Section */
.footer {
    padding: 80px 0 40px;
    background: #ffffff;
    border-top: 1px solid #f4f4f5;
}

.footer-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 24px;
    margin-bottom: 80px;
}

img.logo-item {
    width: 140px;
    /* Breite zwingt alle Logos auf exakt dieselben Grafik-Proportionen (332px Basis) */
    height: auto;
    /* Höhe ergibt sich automatisch organisch! */
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

img.logo-item:hover {
    transform: scale(1.08);
    /* Skaliert das Logo beim Hovern 8% grösser */
}

img.move-infinity-footer {
    width: 105px;
    /* Move Infinity 25% kleiner als 140px */
}

img.spaceplanet-footer,
img.recall-footer,
img.sanctuary-footer,
img.we-are-united-footer {
    width: 154px;
    /* 10% grösser als 140px Basis */
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--card-border);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a:hover {
    color: var(--neon-purple);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: left;
        /* Titel linksbündig */
        gap: 20px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-dj-box h3 {
        font-size: 2rem;
    }

    .hero-text>p {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .intro-columns {
        grid-template-columns: 1fr;
        gap: 8px;
        /* Sehr kleiner Abstand für eine kompakte Ansicht */
        margin-bottom: 10px;
        /* Nimmt den großen Block weg */
        text-align: left !important;
    }

    .ticket-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 30px !important;
    }

    .ticket-card.featured {
        transform: scale(1);
    }

    .ticket-card.featured:hover {
        transform: translateY(-8px);
    }

    .ticket-info-box {
        margin-top: 30px;
        /* Gleicher Abstand wie Tickets untereinander */
    }

    .footer-logos {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 0px;
        /* Nimmt unten extrem viel Platz weg */
    }

    .hero-text h1 {
        font-size: 1.8rem;
        /* Etwas kompakter für Handys */
        margin-bottom: 35px;
        /* Etwa eine Zeile (ca. 25px) mehr Marge */
    }

    .hero-dj-box h3 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .tickets {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    /* Fix Header Layout for Mobile */
    .header-content {
        height: 80px;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .header-left-logo {
        display: block !important;
        position: absolute;
        left: 24px;
        top: 34px;
        transform: translateY(-50%) !important;
        transition: top 0.3s ease !important;
    }

    .header-left-logo img {
        height: 22px !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        position: absolute;
        right: 24px;
        top: 34px;
        transform: translateY(-50%) !important;
        gap: 6px;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 15px;
        transform: translateX(-50%);
    }

    .main-logo-img {
        height: 100px;
        /* Deutlich grösser im Ruhezustand */
    }

    .header.scrolled .header-content {
        height: 70px;
    }

    .header.scrolled .main-logo-img {
        height: 48px;
    }

    .header.scrolled .header-left-logo,
    .header.scrolled .mobile-menu-btn {
        top: 29px;
        /* Passt sich proportional dem geschrumpften Header an */
    }


    .footer {
        padding: 40px 0 30px;
        /* Logos weiter nach oben */
    }

    .footer-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        align-items: center;
        gap: 30px 20px;
        /* Etwas mehr vertikaler Abstand zwischen den Zweier-Reihen, kompakt horizontal */
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ==========================================================================
   Advanced Music Player Panel
   ========================================================================== */
:root {
    --player-yellow: #FFE600;
}

.music-player-panel {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 350px;
    background: rgba(0, 0, 0, 0.95);
    /* Deep black */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 230, 0, 0.15);
    /* Yellow shadow */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.music-player-panel.minimized {
    width: auto;
    border-radius: 40px;
    padding: 10px 15px 10px 10px;
    /* slightly less padding on left to tighten the play button */
    gap: 0;
}

.music-player-panel.minimized .player-info,
.music-player-panel.minimized .progress-container,
.music-player-panel.minimized .playlist-menu,
.music-player-panel.minimized .player-controls #prev-btn,
.music-player-panel.minimized .player-controls #next-btn,
.music-player-panel.minimized .player-controls #playlist-toggle-btn {
    display: none !important;
}

.music-player-panel.minimized .player-controls {
    gap: 0;
}

.player-minimize {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.player-minimize:hover {
    opacity: 1;
    color: var(--player-yellow);
}

.music-player-panel.minimized .player-minimize {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-player-panel.minimized .player-minimize svg {
    /* rotate to act as an expand icon */
    transform: rotate(180deg);
}

/* Info & Marquee */
.player-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.marquee-container {
    width: 70%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.track-title {
    display: inline-block;
    padding-left: 100%;
    /* Start offscreen right */
    font-weight: 600;
    font-size: 14px;
    color: var(--player-yellow);
}

.track-title.scroll {
    animation: marquee 12s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.time-and-eq {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* Animated Equalizer */
.equalizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 20px;
    margin-left: 10px;
}

.equalizer .bar {
    display: block;
    width: 4px;
    background: var(--player-yellow);
    border-radius: 2px;
    height: 100%;
    transform-origin: bottom;
    transform: scaleY(0.05);
    box-shadow: 0 0 5px rgba(255, 230, 0, 0.4);
}

.music-player-panel.is-playing.use-css-eq .equalizer .bar {
    animation: eq-bounce 0.8s infinite alternate ease-in-out;
}

.music-player-panel.is-playing.use-css-eq .equalizer .bar:nth-child(1) {
    animation-duration: 0.6s;
    animation-delay: 0.1s;
}

.music-player-panel.is-playing.use-css-eq .equalizer .bar:nth-child(2) {
    animation-duration: 0.8s;
    animation-delay: 0.4s;
}

.music-player-panel.is-playing.use-css-eq .equalizer .bar:nth-child(3) {
    animation-duration: 0.7s;
    animation-delay: 0.2s;
}

.music-player-panel.is-playing.use-css-eq .equalizer .bar:nth-child(4) {
    animation-duration: 0.5s;
    animation-delay: 0.3s;
}

.music-player-panel.is-playing.use-css-eq .equalizer .bar:nth-child(5) {
    animation-duration: 0.9s;
    animation-delay: 0.1s;
}

.music-player-panel.is-playing.use-css-eq .equalizer .bar:nth-child(6) {
    animation-duration: 0.6s;
    animation-delay: 0.5s;
}

.music-player-panel.is-playing.use-css-eq .equalizer .bar:nth-child(7) {
    animation-duration: 0.75s;
    animation-delay: 0.2s;
}

@keyframes eq-bounce {
    0% {
        transform: scaleY(0.2);
    }

    100% {
        transform: scaleY(1);
    }
}

.time-display {
    font-size: 11px;
    color: #a0a0a0;
    font-variant-numeric: tabular-nums;
}

/* Playlist Menu */
.playlist-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    padding-top: 10px;
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Custom Scrollbar for Playlist */
.playlist-menu::-webkit-scrollbar {
    width: 6px;
}

.playlist-menu::-webkit-scrollbar-track {
    background: transparent;
}

.playlist-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 230, 0, 0.5);
    /* Yellow */
    border-radius: 3px;
}

.playlist-header {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.playlist-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.playlist-item {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: none;
    text-align: left;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.playlist-item:hover {
    background: rgba(255, 230, 0, 0.15);
    /* Yellow */
}

.playlist-item.active {
    background: rgba(255, 230, 0, 0.3);
    /* Yellow */
    color: var(--player-yellow);
    font-weight: 600;
}

/* .time-display bereits oben definiert – Duplikat entfernt */

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    container-type: inline-size;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #8d4795 0%, #e94546 25%, #eaff00 45%, #eaff00 55%, #ee7221 75%, #546eb3 100%);
    background-size: 100cqw 100%;
    background-repeat: no-repeat;
    background-position: left center;
    width: 0%;
    transition: width 0.3s linear;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.music-player-panel.is-playing .progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: progress-shimmer 2s infinite linear;
}

@keyframes progress-shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Controls */
.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.ctrl-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), color var(--transition-fast);
    padding: 0;
}

.ctrl-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.ctrl-btn:hover {
    color: var(--player-yellow);
    transform: scale(1.1);
}

.play-pause-btn {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--player-yellow);
    color: #000;
}

.play-pause-btn svg {
    width: 26px;
    height: 26px;
}

.play-pause-btn:hover {
    background: #fff;
    color: var(--player-yellow);
    box-shadow: 0 0 20px rgba(255, 230, 0, 0.6);
    /* Yellow */
}

.play-pause-btn.playing {
    animation: pulse-yellow 2s infinite alternate;
}

@keyframes pulse-yellow {
    0% {
        box-shadow: 0 0 20px rgba(255, 230, 0, 0.5), inset 0 0 10px rgba(255, 230, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 40px rgba(255, 230, 0, 1), inset 0 0 20px rgba(255, 230, 0, 0.5);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .music-player-panel {
        width: 100%;
        bottom: 0;
        left: 0;
        border-radius: 15px 15px 0 0;
        border-bottom: none;
        padding: 15px 20px 25px;
        /* Extra bottom padding for iOS swipe bar area */
        border-left: none;
        border-right: none;
    }

    body {
        padding-bottom: 90px;
        /* Prevent footer text from hiding behind fixed player */
    }
}

/* Bottom Gradient Line Div (body::after übernimmt die visuelle Darstellung) */
.bottom-gradient-line {
    display: none;
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--brand-orange), var(--neon-purple));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, var(--neon-purple), var(--brand-orange));
    color: white;
    /* Ensure SVG stays white on hover */
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    transition: none;
    /* No scaling on SVG to avoid jumping */
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }

    /* Dynamisches Ausweichen, wenn der Audioplayer aktiv/geöffnet ist */
    body.player-expanded .scroll-to-top {
        bottom: 155px !important;
    }

    /* Dynamisches Ausweichen, wenn der Audioplayer minimiert ist */
    body.player-minimized .scroll-to-top {
        bottom: 80px !important;
    }
}

/* ==========================================================================
   Typography and Spacing for Legal Pages (AGB, Datenschutz, Impressum)
   ========================================================================== */
.impressum-content p {
    margin-bottom: 20px;
}

.impressum-content h2 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Ensure spacing between left and right column on mobile for impressum and datenschutz */
.intro-columns .col-left {
    margin-bottom: 50px;
}

/* ==========================================================================
   News / Blog Section
   ========================================================================== */
.blog-section {
    padding: 20px 0 80px 0;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--neon-purple);
}

.blog-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
    background: transparent;
    border-bottom: 3px solid var(--neon-blue);
    transition: var(--transition);
}

.blog-card:hover .blog-card-img {
    border-bottom-color: var(--neon-purple);
}

.blog-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--neon-purple);
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.blog-card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-main);
    line-height: 1.3;
}

.blog-card-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-card-link {
    font-weight: 700;
    color: var(--neon-blue);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.blog-card-link:hover {
    color: var(--neon-purple);
}

/* Blog Single Page Layout */
.blog-single-page .site-solid-wrapper {
    background: var(--bg-color);
}

.blog-single-content {
    background: transparent;
    margin-top: 180px;
    margin-bottom: 60px;
    /* Text seitenbreit */
}

.blog-single-img {
    width: 100%;
    height: 60vh;
    min-height: 300px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-single-text img.blog-single-img-left {
    float: left;
    width: 45%;
    max-width: 500px;
    min-width: 250px;
    height: auto;
    border-radius: 16px;
    margin: 0 40px 40px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .blog-single-img-left {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px 0;
    }
}

.blog-single-text p:first-of-type,
.blog-single-text img+p {
    margin-top: 0;
}

/* Clearfix for the container since it has floated children */
.blog-single-text::after {
    content: "";
    display: table;
    clear: both;
}

.blog-text-columns {
    column-count: 1;
    column-gap: 40px;
    margin-top: 30px;
    clear: both;
}

.blog-text-columns p,
.blog-text-columns ul,
.blog-text-columns li,
.blog-text-columns .btn {
    break-inside: avoid;
    page-break-inside: avoid;
}

@media (min-width: 900px) {
    .blog-text-columns {
        column-count: 2;
    }
}

.blog-single-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-main);
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .blog-single-title {
        font-size: 2.2rem;
    }

    .blog-single-img {
        height: 40vh;
    }
}

.blog-single-meta {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
    font-weight: 600;
}

.blog-single-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

.blog-single-text h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--neon-purple);
}

.blog-single-text p {
    margin-bottom: 20px;
}

.blog-single-text img {
    max-width: 100%;
    border-radius: 12px;
    margin: 40px 0;
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

.blog-navigation a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.blog-navigation a:hover {
    color: var(--neon-purple);
}

.blog-related {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px dashed rgba(0, 0, 0, 0.1);
}

.blog-related-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

/* ==========================================================================
   POPOUT MUSIC PLAYER STYLES
   ========================================================================== */
body.popout-mode .music-player-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    margin: 0;
    transform: none;
    border: none;
    box-shadow: none;
    background: #0a001a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
}

body.popout-mode .player-controls {
    margin-top: 15px;
}

body.popout-mode #player-minimize,
body.popout-mode #popout-btn {
    display: none !important;
}

body.popout-mode .playlist-menu {
    bottom: 90px;
    left: 20px;
    right: 20px;
    width: auto;
}

/* ========================================================================= */
/* FAQ SECTION STYLES */
/* ========================================================================= */

.faq-section {
    padding: 200px 0 100px;
}

.faq-container {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

.faq-container>.section-title,
.faq-container>.page-header {
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.faq-category {
    /* Spacing is handled by grid gap */
}

.faq-category-title {
    font-size: 1.8rem;
    color: var(--neon-purple, #c026d3);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg, #ffffff);
    border: 1px solid var(--card-border, #f4f4f5);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow, 0 10px 30px -10px rgba(0, 0, 0, 0.05));
}

.faq-item:hover {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 15px 30px -5px rgba(234, 88, 12, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main, #0a0a0a);
    transition: color 0.3s ease;
    user-select: none;
}

.faq-item.active .faq-question {
    color: var(--brand-orange, #f97316);
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--text-main, #0a0a0a);
    transition: all 0.3s ease;
}

.faq-icon::before {
    top: 11px;
    left: 4px;
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    top: 4px;
    left: 11px;
    width: 2px;
    height: 16px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::before {
    background-color: var(--brand-orange, #f97316);
}

.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer-wrapper {
    max-height: 1000px;
    transition: max-height 0.6s ease-in-out;
}

.faq-answer {
    padding: 0 25px 25px;
    color: var(--text-muted, #52525b);
    line-height: 1.6;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer a {
    color: var(--brand-orange, #f97316);
    text-decoration: underline;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}