/* TuneTwist Dark Glassmorphism Theme - Der Club Page */
/* Version 2.0 - Enhanced with Dark Theme */

/* Reset & Base für main content */
main * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff006e;
    --secondary: #00ff88;
    --accent: #3b82f6;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass: rgba(255, 255, 255, 0.05);
    --cover-color: #ff006e;
    --cover-accent: #00ff88;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
}

/* Header Overrides für Dark Theme */
header {
    background-color: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1000;
}

header .logo img {
    filter: brightness(1.2);
}

header nav ul li a {
    color: var(--light) !important;
    opacity: 0.9;
    transition: all 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary) !important;
    opacity: 1;
}

/* Mobile Menu Overrides */
.hamburger span {
    background-color: var(--light) !important;
}

.nav-mobile {
    background-color: rgba(10, 10, 10, 0.98) !important;
    backdrop-filter: blur(20px);
}

.nav-mobile ul li a {
    color: var(--light) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile ul li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary) !important;
}

/* Club Page Wrapper mit dark theme */
.club-page-wrapper {
    background-color: var(--dark);
    color: var(--light);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    background: rgba(255, 0, 110, 0.3);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.1s ease;
    z-index: 10000;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.5);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

/* Loading State */
.loading-container {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-wave {
    display: flex;
    gap: 5px;
}

.loading-wave div {
    width: 10px;
    height: 60px;
    background: var(--gradient);
    border-radius: 5px;
    animation: wave 1.2s ease-in-out infinite;
}

.loading-wave div:nth-child(2) { animation-delay: 0.1s; }
.loading-wave div:nth-child(3) { animation-delay: 0.2s; }
.loading-wave div:nth-child(4) { animation-delay: 0.3s; }
.loading-wave div:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

/* Hero Section mit Hintergrundbild */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background-image: url('/assets/images/homepagebild1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Mobile: Fix für iOS/Android Background-Attachment Bug */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        background-position: center center;
        /* Fallback für ältere Browser */
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
}

/* iOS specific fix */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        background-attachment: scroll;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.3) 100%);
    animation: float 20s ease-in-out infinite;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 10, 10, 0.5) 70%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    width: 100%;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@keyframes glow {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 20px var(--primary)); }
    50% { filter: brightness(1.2) drop-shadow(0 0 40px var(--primary)); }
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: var(--light);
}

.btn-hero {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.5);
}

.btn-hero:hover::before {
    width: 300px;
    height: 300px;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.welcome-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--glass) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.welcome-container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(80px);
}

.welcome-container h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-container p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    color: var(--light);
}

/* Benefits Section mit Hintergrundbild */
.benefits-section {
    padding: 80px 20px;
    position: relative;
    background-image: url('/assets/images/homepagebild3.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 500px;
}

/* Mobile: Disable parallax */
@media (max-width: 768px) {
    .benefits-section {
        background-attachment: scroll;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
}

/* iOS specific fix */
@supports (-webkit-touch-callout: none) {
    .benefits-section {
        background-attachment: scroll;
    }
}

.benefits-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefits-container h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.benefit {
    background: linear-gradient(135deg, var(--glass) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.benefit:nth-child(1) { animation-delay: 0.2s; }
.benefit:nth-child(2) { animation-delay: 0.4s; }

.benefit::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.benefit:hover {
    transform: translateY(-10px);
    border-color: transparent;
}

.benefit:hover::before {
    opacity: 0.5;
}

.icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefit h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.benefit p {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Membership Section */
.umembership-section {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.umembership-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.05;
    transform: translate(-50%, -50%);
    filter: blur(100px);
}

.umembership-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.umembership-container h2 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.umembership-container > p {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 60px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.umembership-card {
    background: linear-gradient(135deg, var(--glass) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.umembership-card:nth-child(1) { animation-delay: 0.1s; }
.umembership-card:nth-child(2) { animation-delay: 0.2s; }
.umembership-card:nth-child(3) { animation-delay: 0.3s; }
.umembership-card:nth-child(4) { animation-delay: 0.4s; }

.umembership-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient);
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.umembership-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: transparent;
}

.umembership-card:hover::before {
    opacity: 0.3;
}

/* Most Popular Card */
.uf-card-mostpopular {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.uf-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.umembership-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.uf-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.uf-benefits-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.uf-benefits-list li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    opacity: 0.9;
}

.uf-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

.uf-btn-card {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.3);
}

.uf-btn-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.uf-btn-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.5);
}

.uf-btn-card:hover::before {
    width: 200px;
    height: 200px;
}

/* Community Section mit Hintergrundbild */
.community-section {
    padding: 100px 20px;
    position: relative;
    background-image: url('/assets/images/homepagebild2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 500px;
}

/* Mobile: Disable parallax */
@media (max-width: 768px) {
    .community-section {
        background-attachment: scroll;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
}

/* iOS specific fix */
@supports (-webkit-touch-callout: none) {
    .community-section {
        background-attachment: scroll;
    }
}

.community-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.5) 100%);
}

.community-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.community-container h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-container p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* Particles */
.particle {
    position: fixed;
    pointer-events: none;
    opacity: 0;
    animation: particleFloat 4s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }
    100% {
        opacity: 0;
        transform: translate(var(--x), var(--y)) scale(1);
    }
}

/* Footer Styles - Override für Dark Theme Compatibility */
footer {
    background-color: #1a1a1a !important;
    color: var(--light) !important;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 100;
}

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

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

footer nav ul li {
    display: inline;
}

footer nav ul li a {
    color: var(--light) !important;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

footer nav ul li a:hover {
    color: var(--primary) !important;
    opacity: 1;
}

footer p {
    text-align: center;
    color: var(--light) !important;
    opacity: 0.7;
    margin: 0;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    display: none;
    z-index: 3000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner p,
.cookie-banner label {
    color: var(--light) !important;
    margin-bottom: 10px;
}

.cookie-banner a {
    color: var(--secondary) !important;
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

.cookie-controls {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-controls button {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#accept-cookies {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.3);
}

#accept-cookies:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.5);
}

#reject-cookies {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#reject-cookies:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Cookie Icon */
.cookie-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 0, 110, 0.5);
    transition: all 0.3s ease;
    z-index: 2000;
}

.cookie-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 0, 110, 0.7);
}

.cookie-icon i {
    color: white;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        min-height: 70vh;
        padding-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Welcome Section Mobile */
    .welcome-container {
        padding: 30px 20px;
    }
    
    .welcome-container h2 {
        font-size: 2rem;
    }
    
    .welcome-container p {
        font-size: 1rem;
    }
    
    /* Benefits Section Mobile */
    .benefits-section {
        padding: 40px 15px;
        min-height: auto;
    }
    
    .benefits-container h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit {
        padding: 25px 20px;
    }
    
    .benefit .icon {
        font-size: 3rem;
    }
    
    .benefit h3 {
        font-size: 1.4rem;
    }
    
    .benefit p {
        font-size: 0.95rem;
    }
    
    /* Membership Section Mobile */
    .umembership-section {
        padding: 50px 15px;
    }
    
    .umembership-container h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .umembership-container > p {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .umembership-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .umembership-card {
        padding: 30px 20px;
        margin-bottom: 0;
    }
    
    .uf-card-mostpopular {
        transform: scale(1);
        margin: 0 auto;
    }
    
    .umembership-card h3 {
        font-size: 1.6rem;
    }
    
    .uf-price {
        font-size: 2rem;
    }
    
    .uf-benefits-list li {
        font-size: 0.9rem;
        padding: 8px 0 8px 25px;
    }
    
    /* Community Section Mobile */
    .community-section {
        padding: 50px 15px;
        min-height: auto;
    }
    
    .community-container h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .community-container p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    /* Footer Mobile */
    footer nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-controls button {
        width: 100%;
    }
    
    /* Modal anpassen */
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    /* Cursor auf Mobile verstecken */
    .cursor,
    .cursor-follower {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Noch kleinere Screens */
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .umembership-container h2 {
        font-size: 2rem;
    }
    
    .artist-title {
        font-size: 1.8rem;
    }
    
    .intro-title {
        font-size: 1.8rem;
    }
    
    .uf-btn-card {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Touch-friendly elements */
@media (hover: none) and (pointer: coarse) {
    .control-btn,
    .now-playing-btn,
    .uf-btn-card,
    .btn-hero {
        min-height: 44px;
        min-width: 44px;
    }
    
    .umembership-card:hover {
        transform: none;
    }
    
    .benefit:hover {
        transform: none;
    }
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease-out forwards;
}