/* ==========================================================================
   LOGIX MUSIC - Modern DJ Website Styles
   ========================================================================== */

/* CSS Custom Properties */
:root {
    /* Colors - Light Theme */
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary-color: #ff4757;
    --accent-color: #ff3742;
    --glow-orange: #ff8a65;
    --glow-red: #ff5722;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    
    /* RGBA Color Variables */
    --primary-rgba-20: rgba(255, 107, 53, 0.2);
    --primary-rgba-30: rgba(255, 107, 53, 0.3);
    --primary-rgba-40: rgba(255, 107, 53, 0.4);
    --secondary-rgba-10: rgba(255, 71, 87, 0.1);
    --secondary-rgba-20: rgba(255, 71, 87, 0.2);
    --secondary-rgba-30: rgba(255, 71, 87, 0.3);
    --secondary-rgba-40: rgba(255, 71, 87, 0.4);
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-overlay: rgba(0, 0, 0, 0.1);
    --bg-modal: rgba(0, 0, 0, 0.5);
    
    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #ffffff;
    
    /* Border Colors */
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-rgba-20) 0%, var(--secondary-rgba-20) 100%);
    --gradient-animated: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-dark));
    --gradient-glow: linear-gradient(45deg, var(--glow-orange), var(--glow-red), #e91e63);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;
    
    /* Spacing */
    --nav-height: 80px;
    --container-padding: 2rem;
    --section-padding: 6rem 0;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 50%;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-overlay: rgba(255, 255, 255, 0.1);
    --bg-modal: rgba(0, 0, 0, 0.8);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;
    
    --border-primary: #334155;
    --border-secondary: #475569;
    
    --gradient-hero: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 71, 87, 0.2) 100%);
    --gradient-animated: linear-gradient(-45deg, #ff6b35, #ff4757, #ff3742, #e55a2b);
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: color var(--transition-normal), background-color var(--transition-normal);
    overflow-x: hidden;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        var(--shadow-lg),
        0 10px 30px var(--primary-rgba-40),
        0 0 50px var(--secondary-rgba-30);
}

.btn-primary:hover::after {
    opacity: 0.2;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    transition: transform 0.1s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
    transform: translateY(-2px);
}

/* Audio Control */
.audio-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.audio-control:hover {
    transform: scale(1.1);
}

.audio-control button {
    background: none;
    border: none;
    color: var(--text-inverse);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-control.enabled {
    background: var(--gradient-secondary);
    animation: pulse 2s infinite;
}


/* Navigation Theme Toggle */
.nav-theme-toggle {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.nav-theme-toggle button {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    padding: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.nav-theme-toggle button:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-primary);
    z-index: 100;
    transition: border-bottom-color var(--transition-normal);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: var(--border-primary);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-brand > * {
    vertical-align: middle;
}

.brand-text {
    color: var(--primary-color);
}

.brand-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    color: var(--text-primary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--bg-tertiary);
    box-shadow: 0 0 20px var(--primary-rgba-20);
    transform: translateY(-2px);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Clickable Avatar Animation */
.clickable-avatar {
    cursor: pointer;
    transition: all var(--transition-normal);
}

.clickable-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.clickable-avatar.clicked {
    animation: avatarClick 0.6s ease;
}


/* Waveform Animations */
.waveform-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.waveform {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 60px;
    position: relative;
    will-change: transform;
}


.wave-bar {
    width: 6px;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: waveAnimation 1.5s ease-in-out infinite;
    position: relative;
    box-shadow: 0 0 10px var(--primary-rgba-40);
    transition: all 0.3s ease;
}

.wave-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    border-radius: 3px;
    opacity: 0;
    animation: waveGlow 1.5s ease-in-out infinite;
}


.wave-bar:nth-child(odd) {
    animation-delay: 0.1s;
}

.wave-bar:nth-child(even) {
    animation-delay: 0.3s;
}

.wave-bar:nth-child(3n) {
    animation-delay: 0.5s;
}


.waveform:hover .wave-bar {
    animation-duration: 0.8s;
    box-shadow: 0 0 25px var(--secondary-rgba-40);
}


/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: var(--nav-height);
    box-sizing: border-box;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-animated);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.1;
    z-index: 1;
}

/* Floating particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

.particle {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite linear;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    left: 40%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    left: 50%;
    animation-delay: 8s;
    animation-duration: 20s;
}

.particle:nth-child(6) {
    width: 6px;
    height: 6px;
    left: 60%;
    animation-delay: 10s;
    animation-duration: 17s;
}

.particle:nth-child(7) {
    width: 3px;
    height: 3px;
    left: 70%;
    animation-delay: 12s;
    animation-duration: 19s;
}

.particle:nth-child(8) {
    width: 5px;
    height: 5px;
    left: 80%;
    animation-delay: 14s;
    animation-duration: 21s;
}

.particle:nth-child(9) {
    width: 4px;
    height: 4px;
    left: 90%;
    animation-delay: 16s;
    animation-duration: 18s;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-avatar {
    margin-bottom: 2rem;
}

.hero-image {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 6px solid var(--primary-color);
    box-shadow: 
        var(--shadow-xl),
        0 0 60px var(--primary-rgba-40),
        0 0 100px var(--secondary-rgba-20);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    will-change: transform;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-rgba-30), transparent, var(--secondary-rgba-30), transparent);
    animation: rotate 4s linear infinite;
    z-index: -1;
}

.hero-image:hover {
    transform: scale(1.05);
    box-shadow: 
        var(--shadow-xl),
        0 0 80px var(--primary-rgba-40),
        0 0 120px var(--secondary-rgba-40);
}

.hero-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-title::after {
    content: 'LOGIX MUSIC';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: titlePulse 2s ease-in-out infinite;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.hero-bg-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    filter: brightness(0.3) contrast(1.2);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-rgba-40) 0%, var(--secondary-rgba-30) 100%);
    mix-blend-mode: multiply;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, var(--primary-rgba-20) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--secondary-rgba-20) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(255, 55, 66, 0.05) 0%, transparent 50%);
    z-index: 1;
    animation: patternMove 30s ease-in-out infinite;
}

.waveform-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.waveform {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 60px;
    position: relative;
    will-change: transform;
}

.wave-bar {
    width: 6px;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: waveAnimation 1.5s ease-in-out infinite;
    position: relative;
    box-shadow: 0 0 10px var(--primary-rgba-40);
    transition: all 0.3s ease;
}

.wave-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    border-radius: 3px;
    opacity: 0;
    animation: waveGlow 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(odd) {
    animation-delay: 0.1s;
}

.wave-bar:nth-child(even) {
    animation-delay: 0.3s;
}

.wave-bar:nth-child(3n) {
    animation-delay: 0.5s;
}

.waveform:hover .wave-bar {
    animation-duration: 0.8s;
    box-shadow: 0 0 25px var(--secondary-rgba-40);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

section.visible .section-title {
    animation: slideInUp 0.6s ease 0.2s both;
}

section.visible .section-subtitle {
    animation: slideInUp 0.6s ease 0.4s both;
}

section.visible .bio-content,
section.visible .sets-grid,
section.visible .events-container,
section.visible .contact-content {
    animation: slideInUp 0.8s ease 0.6s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    overflow: hidden;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: titleUnderline 1s ease 0.8s both;
}

@keyframes titleUnderline {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Bio Section */
.bio-section {
    background: var(--bg-secondary);
}

.bio-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.bio-image {
    position: relative;
}

.bio-avatar {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-xl);
}

.bio-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}


/* Stats Section */
.stats-section {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

@supports (display: grid) {
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-circle:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.stat-circle::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    background: var(--bg-primary);
    z-index: 1;
}

.stat-number {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
}

.stat-plus {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 120px;
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 480px;
    }
    
    .stat-circle {
        width: 100px;
        height: 100px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-plus {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 200px;
    }
    
    .stat-circle {
        width: 120px;
        height: 120px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-plus {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
        max-width: 140px;
    }
}

/* Sets Section */
.sets-section {
    background: var(--bg-primary);
}

/* Sets Filters */
.sets-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.filter-btn:hover {
    background: var(--bg-primary);
    border-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    color: var(--text-inverse);
    box-shadow: var(--shadow-lg);
}

.filter-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 1.5rem;
    text-align: center;
}

.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Focus styles for accessibility */
.filter-btn:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive filters */
@media (max-width: 768px) {
    .sets-filters {
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
    
    .filter-count {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
    }
}

@media (max-width: 480px) {
    .sets-filters {
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 80px;
        flex: 1;
        max-width: 110px;
    }
    
    .filter-count {
        font-size: 0.7rem;
        padding: 0.1rem 0.3rem;
    }
}

.sets-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

@supports (display: grid) {
    .sets-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
}


.set-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid transparent;
}

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

.set-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        var(--shadow-xl),
        0 20px 40px rgba(255, 107, 53, 0.2),
        0 0 60px rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
}

.set-card:hover::before {
    opacity: 0.05;
}

.set-card > * {
    position: relative;
    z-index: 2;
}

.set-card .set-label {
    position: absolute;
    top: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-inverse);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.set-card .set-label:first-of-type {
    right: 1rem;
}

.set-card .set-label:nth-of-type(2) {
    right: 1rem;
    top: 3rem;
}

.set-embed {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.set-info {
    padding: 1.5rem;
}

.set-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.set-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Events Section */
.events-section {
    background: var(--bg-secondary);
}

.events-container {
    max-width: 800px;
    margin: 0 auto;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@supports (display: grid) {
    .events-grid {
        display: grid;
        gap: 1.5rem;
    }
}

.event-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 80px;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.event-info p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.event-actions {
    display: flex;
    gap: 0.5rem;
}

.event-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.event-btn-primary {
    background: var(--primary-color);
    color: var(--text-inverse);
}

.event-btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
}

.event-btn:disabled,
.event-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.no-events {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-events i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--text-inverse);
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}


/* Contact Section */
.contact-section {
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        var(--shadow-lg),
        0 10px 30px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}


/* Contact Form */
.contact-form {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
    position: relative;
}

.form-group {
    position: relative;
}

.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.form-group:focus-within::after {
    transform: scaleX(1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 3px rgba(255, 107, 53, 0.2),
        0 0 20px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
    background: var(--bg-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    padding: 3rem 0;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    transform: translateY(-5px) rotate(10deg) scale(1.1);
    box-shadow: 
        var(--shadow-md),
        0 10px 25px rgba(255, 107, 53, 0.3);
    border: 2px solid rgba(255, 107, 53, 0.5);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-link:hover::before {
    opacity: 0.1;
}

.social-link[data-platform="instagram"]:hover { color: #e4405f; }
.social-link[data-platform="youtube"]:hover { color: #ff0000; }
.social-link[data-platform="tiktok"]:hover { color: #000000; }
.social-link[data-platform="soundcloud"]:hover { color: var(--orange-red); }
.social-link[data-platform="mixcloud"]:hover { color: #314359; }

.footer-info {
    text-align: right;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.footer-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: underline;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-modal);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-primary);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-body h4 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --container-padding: 1.5rem;
        --section-padding: 4rem 0;
    }
    
    .hero-image {
        width: 150px;
        height: 150px;
    }
    
    .bio-content {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .bio-avatar {
        height: 250px;
    }
    
    .contact-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 3rem 0;
        --nav-height: 70px;
    }
    
    /* Reduce animation intensity on mobile */
    .particle-mobile-hidden {
        display: none;
    }
    
    .hero-section::before,
    .hero-section::after {
        animation-duration: 30s;
    }
    
    .particle {
        animation-duration: 25s;
    }
    
    /* Reduce waveform complexity on mobile */
    .wave-bar::after {
        display: none;
    }
    
    /* Navigation - iPhone 15 fix */
    .navbar {
        padding-top: env(safe-area-inset-top, 25px);
    }
    
    .nav-container {
        height: calc(var(--nav-height) + env(safe-area-inset-top, 25px));
    }
    
    .nav-brand {
        align-items: center;
    }
    
    .brand-logo {
        width: 35px;
        height: 35px;
        border: 2px solid var(--primary-color);
    }
    
    .nav-menu {
        position: fixed;
        top: calc(var(--nav-height) + env(safe-area-inset-top, 25px));
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-top: 1px solid var(--border-primary);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 99;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-hamburger {
        display: flex;
    }
    
    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero */
    .hero-section {
        padding-top: calc(var(--nav-height) + env(safe-area-inset-top, 25px));
    }

    .hero-avatar {
        margin-top: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Bio */
    .bio-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .bio-avatar {
        height: 200px;
        width: 200px;
        margin: 0 auto;
    }
    
    /* Sets */
    .sets-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    /* Theme and Audio Controls */
    .nav-theme-toggle {
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-image {
        width: 120px;
        height: 120px;
    }
    
    .hero-image::before {
        animation-duration: 6s;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .event-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
}

/* Print Styles */
@media print {
    .navbar,
    .audio-control,
    .theme-toggle,
    .modal {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        page-break-after: always;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-particles,
    .hero-section::before,
    .hero-section::after,
    .hero-image::before,
    .wave-bar::after {
        display: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border-primary: #000000;
        --border-secondary: #000000;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    }
}

/* ==========================================================================
   ANIMATION KEYFRAMES - Organized by Category
   ========================================================================== */

/* === HERO ANIMATIONS === */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 5px var(--primary-rgba-30)); }
    100% { filter: drop-shadow(0 0 20px var(--secondary-rgba-40)); }
}

@keyframes titlePulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.02); }
}

@keyframes patternMove {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%, 40% 70%; 
    }
    50% { 
        background-position: 30% 30%, 70% 70%, 60% 30%; 
    }
}

/* === WAVEFORM ANIMATIONS === */
@keyframes waveAnimation {
    0%, 100% { 
        height: 20px; 
        box-shadow: 0 0 5px var(--primary-rgba-30);
    }
    50% { 
        height: 60px; 
        box-shadow: 0 0 20px var(--secondary-rgba-40);
    }
}

@keyframes waveGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.8; }
}


/* === INTERACTION ANIMATIONS === */
@keyframes avatarClick {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.15) rotate(5deg); }
    50% { transform: scale(1.2) rotate(-5deg); }
    75% { transform: scale(1.15) rotate(3deg); }
}

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


/* === ENTRANCE ANIMATIONS === */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleUnderline {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

/* === MODAL ANIMATIONS === */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}