/* CSS Variables - Ancient Swamp Magic Theme */
:root {
    /* Primary Colors - Ancient Stone & Moss */
    --swamp-bg-dark: #000000;
    --swamp-bg-light: #0a0a08;
    --swamp-accent: #1a1a15;
    
    /* Ancient Mystical Colors */
    --ancient-moss: #5a6b3a;
    --old-parchment: #8b7d6b;
    --weathered-stone: #6b6b5a;
    --deep-shadow: #3a3a2d;
    --mystic-purple: #5a4a6b;
    --blood-rust: #6b4a3a;
    --fog-color: rgba(90, 107, 58, 0.05);
    
    /* Glass Card Colors - Ancient Patina */
    --glass-bg: rgba(10, 10, 8, 0.95);
    --glass-border: rgba(90, 107, 58, 0.4);
    --glass-shadow: rgba(0, 0, 0, 0.98);
    
    /* Ancient Typography */
    --font-primary: 'Crimson Text', serif;
    --font-headers: 'Cinzel', serif;
    --font-mystical: 'Uncial Antiqua', cursive;
    --font-ancient: 'IM Fell DW Pica', serif;
    --font-creepy: 'Nosifer', cursive;
    
    /* Spacing */
    --section-gap: 3rem;
    --card-padding: 2rem;
    --border-radius: 20px;
    
    /* Z-index layers */
    --z-background: -10;
    --z-content: 10;
    --z-modal: 1000;
    --z-audio-controls: 999;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--swamp-bg-dark);
    color: var(--ancient-moss);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    /* Prevent layout shifts during loading */
    visibility: hidden;
}

body.loaded {
    visibility: visible;
}

/* Background Layers */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-background);
    pointer-events: none;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    will-change: transform;
}

.bg-primary {
    background: radial-gradient(circle at center, var(--swamp-bg-light) 0%, var(--swamp-bg-dark) 30%, #000000 100%);
    animation: breathe 8s ease-in-out infinite, creepyColorShift 25s ease-in-out infinite;
}

.bg-swamp {
    background-image: url('./tone/swamp_1.jpeg');
    background-size: 110% 110%;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: hue-rotate(0deg) saturate(0.6) contrast(2.0) brightness(0.4);
    animation: swampSway 50s ease-in-out infinite, creepyHueShift 80s linear infinite, zoomPulse 30s ease-in-out infinite;
}

/* Enhanced trippy floating elements */
.background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle 3px at 20% 30%, rgba(90, 107, 58, 0.3) 0%, transparent 70%),
        radial-gradient(circle 2px at 80% 70%, rgba(90, 74, 107, 0.25) 0%, transparent 60%),
        radial-gradient(circle 4px at 40% 80%, rgba(107, 74, 58, 0.2) 0%, transparent 50%),
        radial-gradient(circle 1px at 70% 20%, rgba(107, 107, 90, 0.25) 0%, transparent 60%),
        radial-gradient(circle 3px at 10% 60%, rgba(90, 107, 58, 0.3) 0%, transparent 55%),
        radial-gradient(circle 2px at 90% 40%, rgba(139, 125, 107, 0.2) 0%, transparent 45%),
        radial-gradient(circle 1px at 30% 90%, rgba(107, 107, 90, 0.25) 0%, transparent 50%),
        radial-gradient(circle 4px at 60% 10%, rgba(90, 74, 107, 0.15) 0%, transparent 65%);
    animation: particleFloat 30s linear infinite, particleGlow 12s ease-in-out infinite, particleDance 18s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
}

.background-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        conic-gradient(from 0deg at 30% 40%, transparent, rgba(90, 107, 58, 0.04), transparent),
        conic-gradient(from 180deg at 70% 60%, transparent, rgba(90, 74, 107, 0.03), transparent),
        conic-gradient(from 90deg at 50% 80%, transparent, rgba(107, 74, 58, 0.03), transparent),
        conic-gradient(from 270deg at 20% 20%, transparent, rgba(107, 107, 90, 0.03), transparent);
    animation: spiralRotate 80s linear infinite, spiralPulse 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}

/* Enhanced Animations */
@keyframes breathe {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    33% { 
        transform: scale(1.02) rotate(0.2deg); 
        opacity: 0.9; 
    }
    66% { 
        transform: scale(0.98) rotate(-0.1deg); 
        opacity: 0.95; 
    }
}

@keyframes swampSway {
    0%, 100% { 
        transform: translateX(0) translateY(0) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateX(-15px) translateY(-8px) rotate(0.5deg) scale(1.01); 
    }
    50% { 
        transform: translateX(10px) translateY(5px) rotate(-0.3deg) scale(0.99); 
    }
    75% { 
        transform: translateX(8px) translateY(-12px) rotate(0.2deg) scale(1.01); 
    }
}

@keyframes creepyHueShift {
    0% { filter: hue-rotate(0deg) saturate(0.8) contrast(1.5) brightness(0.6); }
    15% { filter: hue-rotate(20deg) saturate(1.2) contrast(1.8) brightness(0.5); }
    30% { filter: hue-rotate(-15deg) saturate(0.6) contrast(2.0) brightness(0.4); }
    45% { filter: hue-rotate(35deg) saturate(1.0) contrast(1.6) brightness(0.7); }
    60% { filter: hue-rotate(-25deg) saturate(0.9) contrast(1.9) brightness(0.3); }
    75% { filter: hue-rotate(15deg) saturate(1.1) contrast(1.7) brightness(0.6); }
    90% { filter: hue-rotate(-10deg) saturate(0.7) contrast(2.1) brightness(0.4); }
    100% { filter: hue-rotate(0deg) saturate(0.8) contrast(1.5) brightness(0.6); }
}

@keyframes creepyColorShift {
    0%, 100% { 
        background: radial-gradient(circle at center, var(--swamp-bg-light) 0%, var(--swamp-bg-dark) 50%, #000000 100%); 
    }
    25% { 
        background: radial-gradient(circle at 20% 80%, #0d1a0d 0%, #020a02 50%, #0a0202 100%); 
    }
    50% { 
        background: radial-gradient(circle at 80% 20%, #1a0d1a 0%, #0a0208 50%, #000000 100%); 
    }
    75% { 
        background: radial-gradient(circle at 60% 70%, #0d1a0d 0%, #020a02 50%, #020202 100%); 
    }
}

@keyframes creepyRainbowShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 50% 25%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 75%; }
}

@keyframes rainbowShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes hueShift {
    0% { filter: hue-rotate(0deg) saturate(1.8) contrast(1.2); }
    16% { filter: hue-rotate(15deg) saturate(2.2) contrast(1.4); }
    33% { filter: hue-rotate(30deg) saturate(2.0) contrast(1.3); }
    50% { filter: hue-rotate(45deg) saturate(1.6) contrast(1.1); }
    66% { filter: hue-rotate(25deg) saturate(1.9) contrast(1.4); }
    83% { filter: hue-rotate(-10deg) saturate(2.1) contrast(1.5); }
    100% { filter: hue-rotate(0deg) saturate(1.8) contrast(1.2); }
}

@keyframes zoomPulse {
    0%, 100% { background-size: 110% 110%; }
    25% { background-size: 118% 118%; }
    50% { background-size: 125% 125%; }
    75% { background-size: 115% 115%; }
}

/* Dynamic Swamp Background Cycling */
/* Removed - using single background image now */

@keyframes colorShift {
    0%, 100% { 
        background: radial-gradient(circle at center, var(--swamp-bg-light) 0%, var(--swamp-bg-dark) 70%); 
    }
    33% { 
        background: radial-gradient(circle at 30% 70%, #1a2e1a 0%, #0a1a0a 70%); 
    }
    66% { 
        background: radial-gradient(circle at 70% 30%, #1a2e1a 0%, #0a1a0a 70%); 
    }
}

@keyframes drift {
    0% { transform: translate(-10%, -10%) rotate(0deg) scale(1); }
    25% { transform: translate(-12%, -12%) rotate(90deg) scale(1.02); }
    50% { transform: translate(-15%, -15%) rotate(180deg) scale(0.98); }
    75% { transform: translate(-13%, -13%) rotate(270deg) scale(1.01); }
    100% { transform: translate(-10%, -10%) rotate(360deg) scale(1); }
}

@keyframes textBreathe {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
        background-position: 20% 30%, 80% 70%, 40% 80%, 70% 20%, 10% 60%, 90% 40%, 30% 90%, 60% 10%; 
    }
    25% { 
        transform: translateY(-40px) translateX(15px) rotate(90deg); 
        background-position: 25% 35%, 85% 75%, 45% 85%, 75% 25%, 15% 65%, 95% 45%, 35% 95%, 65% 15%; 
    }
    50% { 
        transform: translateY(-25px) translateX(-30px) rotate(180deg); 
        background-position: 30% 40%, 70% 60%, 50% 70%, 60% 40%, 20% 70%, 80% 30%, 40% 80%, 70% 30%; 
    }
    75% { 
        transform: translateY(-55px) translateX(25px) rotate(270deg); 
        background-position: 15% 25%, 75% 65%, 35% 75%, 65% 35%, 25% 55%, 85% 35%, 25% 85%, 75% 25%; 
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(360deg); 
        background-position: 20% 30%, 80% 70%, 40% 80%, 70% 20%, 10% 60%, 90% 40%, 30% 90%, 60% 10%; 
    }
}

@keyframes particleDance {
    0%, 100% { 
        filter: hue-rotate(0deg) brightness(1); 
    }
    16% { 
        filter: hue-rotate(60deg) brightness(1.2); 
    }
    33% { 
        filter: hue-rotate(120deg) brightness(0.9); 
    }
    50% { 
        filter: hue-rotate(180deg) brightness(1.1); 
    }
    66% { 
        filter: hue-rotate(240deg) brightness(1.3); 
    }
    83% { 
        filter: hue-rotate(300deg) brightness(0.8); 
    }
}

@keyframes spiralPulse {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1); 
    }
    50% { 
        opacity: 1.0; 
        transform: scale(1.2); 
    }
}

@keyframes spiralRotate {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.05); }
    50% { transform: rotate(180deg) scale(0.95); }
    75% { transform: rotate(270deg) scale(1.02); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-20px) translateX(5px) rotate(1deg); }
    50% { transform: translateY(-10px) translateX(-8px) rotate(-0.5deg); }
    75% { transform: translateY(-30px) translateX(3px) rotate(0.8deg); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px var(--ancient-moss); }
    50% { box-shadow: 0 0 30px var(--ancient-moss), 0 0 50px var(--ancient-moss); }
}

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

/* Additional Trippy Effects */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes psychedelicGlow {
    0% { 
        box-shadow: 
            0 0 5px rgba(90, 107, 58, 0.4),
            0 0 10px rgba(90, 107, 58, 0.2),
            0 0 15px rgba(90, 107, 58, 0.1);
    }
    25% { 
        box-shadow: 
            0 0 8px rgba(90, 74, 107, 0.5),
            0 0 16px rgba(90, 74, 107, 0.3),
            0 0 24px rgba(90, 74, 107, 0.15);
    }
    50% { 
        box-shadow: 
            0 0 10px rgba(107, 74, 58, 0.6),
            0 0 20px rgba(107, 74, 58, 0.4),
            0 0 30px rgba(107, 74, 58, 0.2);
    }
    75% { 
        box-shadow: 
            0 0 8px rgba(139, 125, 107, 0.5),
            0 0 16px rgba(139, 125, 107, 0.3),
            0 0 24px rgba(139, 125, 107, 0.15);
    }
    100% { 
        box-shadow: 
            0 0 5px rgba(90, 107, 58, 0.4),
            0 0 10px rgba(90, 107, 58, 0.2),
            0 0 15px rgba(90, 107, 58, 0.1);
    }
}

@keyframes textWave {
    0%, 100% { transform: translateY(0px); }
    25% { transform: translateY(-3px); }
    50% { transform: translateY(0px); }
    75% { transform: translateY(3px); }
}

@keyframes backgroundShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Audio Controls */
.audio-controls {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-audio-controls);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(10, 26, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.audio-toggle {
    background: var(--ancient-moss);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--swamp-bg-dark);
    transition: all 0.3s ease;
}

.audio-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--ancient-moss);
}

.audio-panel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.volume-slider {
    width: 100px;
    height: 4px;
    background: var(--swamp-accent);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--ancient-moss);
    border-radius: 50%;
    cursor: pointer;
}

.minimize-btn {
    background: none;
    border: 1px solid var(--glass-border);
    color: var(--ancient-moss);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.minimize-btn:hover {
    background: var(--glass-border);
}

/* Main Container */
.main-container {
    position: relative;
    z-index: var(--z-content);
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    animation: slideInUp 1s ease-out;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: var(--section-gap);
    padding: 4rem 0;
}

.title-primary {
    font-family: var(--font-headers);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    background: linear-gradient(45deg, var(--ancient-moss), var(--mystic-purple), var(--blood-rust), var(--weathered-stone), var(--ancient-moss));
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--ancient-moss);
    margin-bottom: 1rem;
    animation: glow 3s ease-in-out infinite, textWave 2s ease-in-out infinite, creepyRainbowShift 12s ease-in-out infinite;
    position: relative;
}

.title-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(57, 255, 57, 0.1), transparent);
    animation: titleGlow 4s ease-in-out infinite;
    z-index: -1;
    border-radius: 10px;
}

.subtitle {
    font-family: var(--font-ancient);
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--weathered-stone);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.8;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    margin-bottom: var(--section-gap);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px var(--glass-shadow),
        inset 0 1px 0 rgba(64, 160, 64, 0.3),
        0 0 30px rgba(64, 160, 64, 0.1);
    transition: all 0.4s ease;
    animation: slideInUp 0.6s ease-out;
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 25px 50px var(--glass-shadow),
        inset 0 1px 0 rgba(64, 160, 64, 0.5),
        0 0 50px rgba(64, 160, 64, 0.2);
    border-color: var(--ancient-moss);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--ancient-moss), 
        var(--mystic-purple), 
        var(--blood-rust), 
        var(--weathered-stone),
        var(--ancient-moss), 
        transparent
    );
    background-size: 400% 100%;
    opacity: 0.7;
    animation: borderFlow 12s linear infinite;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(64, 160, 64, 0.2), rgba(128, 64, 160, 0.1), transparent);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.4s ease;
    opacity: 0;
}

.glass-card:hover::after {
    width: 200px;
    height: 200px;
    opacity: 0.4;
}

.glass-card h2 {
    font-family: var(--font-mystical);
    font-size: 2.5rem;
    color: var(--old-parchment);
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 20px var(--ancient-moss);
    letter-spacing: 0.1em;
}

/* Connect Section */
.connect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(90, 107, 58, 0.15);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    text-decoration: none;
    color: var(--old-parchment);
    transition: all 0.3s ease;
    font-family: var(--font-ancient);
    font-weight: 500;
    box-shadow: 0 0 15px rgba(90, 107, 58, 0.1);
}

.link-item:hover {
    background: rgba(139, 125, 107, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(90, 107, 58, 0.3);
    animation: psychedelicGlow 1.5s infinite;
}

.link-icon {
    font-size: 1.5rem;
}

/* Hero Section */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    border: 2px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(57, 255, 57, 0.4);
}

.tagline-block {
    background: linear-gradient(135deg, rgba(90, 107, 58, 0.3), rgba(90, 74, 107, 0.2));
    border: 2px solid var(--ancient-moss);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(90, 107, 58, 0.4);
}

.tagline-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(90, 107, 58, 0.2), transparent);
    animation: pulse 4s ease-in-out infinite;
}

.tagline-block::after {
    display: none;
}

.tagline {
    font-family: var(--font-mystical);
    font-size: 1.3rem;
    color: var(--old-parchment);
    text-align: center;
    font-weight: 600;
    position: relative;
    z-index: 2;
    letter-spacing: 0.05em;
}

.bio-narrative p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--old-parchment);
    text-shadow: 0 0 10px rgba(90, 107, 58, 0.3);
    font-family: var(--font-primary);
}

/* Featured Tracks */
.tracks-tabs {
    width: 100%;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(90, 107, 58, 0.15);
    border: 1px solid var(--glass-border);
    color: var(--weathered-stone);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-ancient);
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 0 10px rgba(90, 107, 58, 0.1);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--ancient-moss);
    color: var(--old-parchment);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 107, 58, 0.4);
}

.tab-panel {
    display: none;
    animation: slideInUp 0.3s ease-out;
}

.tab-panel.active {
    display: block;
}

/* SoundCloud Embeds */
.soundcloud-embed {
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    transition: all 0.3s ease;
    position: relative;
    min-height: 450px;
    background: rgba(26, 46, 26, 0.3);
}

.soundcloud-embed:hover {
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(57, 255, 57, 0.3);
}

.soundcloud-embed iframe {
    width: 100%;
    border: none;
    border-radius: 13px;
    background: transparent;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Loading indicator */
.soundcloud-embed::before {
    content: 'Loading SoundCloud player...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-green);
    font-family: var(--font-mono);
    font-size: 1rem;
    z-index: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* SoundCloud Error Handling and Fallbacks */
.soundcloud-embed.loaded::before {
    opacity: 0;
    pointer-events: none;
}

.soundcloud-fallback {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 46, 26, 0.9);
    border-radius: 13px;
    z-index: 2;
}

.fallback-content {
    text-align: center;
    padding: 2rem;
}

.fallback-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.fallback-content p {
    color: var(--accent-green);
    font-family: var(--font-mono);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.fallback-link {
    display: inline-block;
    background: var(--accent-green);
    color: var(--swamp-bg-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fallback-link:hover {
    background: var(--accent-lime);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57, 255, 57, 0.4);
}

/* Loading state improvements */
.soundcloud-embed:not(.loaded):not(.error)::before {
    animation: pulse 2s ease-in-out infinite;
}

.soundcloud-embed.error iframe {
    opacity: 0.3;
    pointer-events: none;
}

/* Track Descriptions */
.track-description {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(90, 107, 58, 0.05), rgba(139, 125, 107, 0.03));
    border: 1px solid rgba(90, 107, 58, 0.2);
    border-radius: 15px;
    margin-top: 2rem;
}

.track-description h3 {
    font-family: var(--font-mystical);
    font-size: 1.8rem;
    color: var(--old-parchment);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--ancient-moss);
    letter-spacing: 0.05em;
}

.description-text {
    color: var(--old-parchment);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
    font-family: var(--font-primary);
}

.beats-text {
    color: var(--weathered-stone);
    font-family: var(--font-ancient);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Genres and Style Information */
.genres {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(90, 107, 58, 0.1);
    border-left: 4px solid var(--ancient-moss);
    border-radius: 0 10px 10px 0;
}

.genres h4 {
    font-family: var(--font-mystical);
    color: var(--old-parchment);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--ancient-moss);
    letter-spacing: 0.05em;
}

.genres-text {
    color: var(--ancient-moss);
    font-family: var(--font-ancient);
    font-weight: 600;
    font-size: 1rem;
}

/* Featured Tracks Lists */
.featured-tracks {
    margin-top: 2rem;
}

.featured-tracks h4 {
    font-family: var(--font-mystical);
    color: var(--old-parchment);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--ancient-moss);
    letter-spacing: 0.05em;
}

.track-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(26, 26, 21, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(90, 107, 58, 0.2);
}

.track-list::-webkit-scrollbar {
    width: 14px;
}

.track-list::-webkit-scrollbar-track {
    background: var(--swamp-bg-dark);
    border-radius: 7px;
    border: 1px solid rgba(90, 107, 58, 0.2);
}

.track-list::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--ancient-moss), var(--mystic-purple), var(--blood-rust), var(--weathered-stone));
    background-size: 300% 300%;
    border-radius: 7px;
    border: 2px solid var(--swamp-bg-dark);
    animation: creepyRainbowScroll 8s ease-in-out infinite, thumbGlow 4s ease-in-out infinite;
}

.track-list::-webkit-scrollbar-thumb:hover {
    animation: creepyRainbowScroll 4s ease-in-out infinite, thumbGlow 2s ease-in-out infinite;
    box-shadow: 0 0 15px var(--ancient-moss);
}

.track-item {
    padding: 0.8rem;
    background: rgba(90, 107, 58, 0.05);
    border: 1px solid rgba(90, 107, 58, 0.2);
    border-radius: 8px;
    color: var(--old-parchment);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-primary);
}

.track-item:hover {
    background: rgba(90, 107, 58, 0.15);
    border-color: var(--ancient-moss);
    transform: translateX(5px);
    color: var(--ancient-moss);
}

.track-artist {
    color: var(--old-parchment);
    font-weight: 600;
    font-family: var(--font-ancient);
}

/* Legacy placeholder styles (fallback) */
.track-embed-placeholder {
    background: linear-gradient(135deg, rgba(57, 255, 57, 0.1), rgba(0, 255, 204, 0.05));
    border: 2px dashed var(--glass-border);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.track-embed-placeholder:hover {
    background: linear-gradient(135deg, rgba(57, 255, 57, 0.2), rgba(0, 255, 204, 0.1));
    border-color: var(--accent-green);
}

.play-button {
    font-size: 4rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.track-embed-placeholder:hover .play-button {
    transform: scale(1.2);
    color: var(--accent-lime);
}

.track-embed-placeholder h3 {
    font-family: var(--font-trippy);
    font-size: 1.8rem;
    color: var(--accent-lime);
    margin-bottom: 1rem;
}

.track-embed-placeholder p {
    color: rgba(57, 255, 57, 0.8);
    font-style: italic;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.photo-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border: 2px solid var(--glass-border);
    border-radius: 15px;
}

.photo-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.2) saturate(1.3);
    box-shadow: 0 15px 30px rgba(57, 255, 57, 0.4);
}

/* Rider Content */
.rider-content h3 {
    font-family: var(--font-mystical);
    color: var(--old-parchment);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    text-shadow: 0 0 10px var(--ancient-moss);
    letter-spacing: 0.05em;
}

.rider-list {
    list-style: none;
    padding-left: 0;
}

.rider-list li {
    position: relative;
    padding: 0.8rem 0 0.8rem 2rem;
    border-bottom: 1px solid rgba(90, 107, 58, 0.2);
    color: var(--old-parchment);
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.rider-list li:hover {
    color: var(--ancient-moss);
    padding-left: 2.5rem;
}

.rider-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--ancient-moss);
    font-size: 0.8rem;
}

/* Video Gallery */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 100%;
}

.video-item {
    background: rgba(90, 107, 58, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1rem;
    transition: all 0.3s ease;
    max-width: 100%;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(90, 107, 58, 0.3);
    border-color: var(--ancient-moss);
}

.performance-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-caption h4 {
    font-family: var(--font-mystical);
    color: var(--old-parchment);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.video-caption p {
    color: var(--weathered-stone);
    font-style: italic;
    font-family: var(--font-primary);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    animation: slideInUp 0.3s ease-out;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--accent-green);
    border: none;
    color: var(--swamp-bg-dark);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-lime);
    transform: scale(1.1);
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid var(--accent-green);
}

.modal-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.modal-nav-btn {
    background: var(--accent-green);
    border: none;
    color: var(--swamp-bg-dark);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.modal-nav-btn:hover {
    background: var(--accent-lime);
    transform: scale(1.1);
}

.modal-counter {
    color: var(--accent-green);
    font-family: var(--font-mono);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        padding: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .connect-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .video-gallery {
        grid-template-columns: 1fr;
    }
    
    .audio-controls {
        bottom: 1rem;
        right: 1rem;
    }
    
    .glass-card h2 {
        font-size: 2rem;
    }
    
    .title-primary {
        font-size: 3rem;
    }
    
    /* Header Connect Responsive */
    .header-connect {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .connect-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    /* Section Header Responsive */
    .section-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .section-header h2 {
        margin-bottom: 1rem;
    }
    
    .download-btn {
        align-self: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 1.5rem;
    }
    
    .modal-content {
        max-width: 95vw;
    }
    
    .audio-panel {
        display: none;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .bio-narrative p {
        font-size: 1rem;
    }
    
    /* Small Screen Connect */
    .header-connect {
        gap: 1rem;
    }
    
    .connect-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .download-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .download-icon {
        font-size: 1rem;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

button:focus,
.link-item:focus {
    outline: 2px solid var(--accent-lime);
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .background-container,
    .audio-controls,
    .modal-overlay {
        display: none !important;
    }
    
    .glass-card {
        background: white;
        color: black;
        border: 1px solid #ccc;
    }
}

/* Enhanced Audio Controls with Trippy Effects */
.audio-controls:hover {
    animation: psychedelicGlow 2s ease-in-out infinite;
}

.audio-toggle.playing {
    animation: psychedelicGlow 2s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
    background: var(--swamp-bg-dark);
    border-radius: 7px;
    border: 1px solid rgba(90, 107, 58, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--ancient-moss), var(--mystic-purple), var(--blood-rust), var(--weathered-stone));
    background-size: 300% 300%;
    border-radius: 7px;
    border: 2px solid var(--swamp-bg-dark);
    animation: creepyRainbowScroll 8s ease-in-out infinite, thumbGlow 4s ease-in-out infinite;
}

::-webkit-scrollbar-thumb:hover {
    animation: creepyRainbowScroll 4s ease-in-out infinite, thumbGlow 2s ease-in-out infinite;
    box-shadow: 0 0 15px var(--ancient-moss);
}

/* Additional trippy cursor effects */
.modal-trigger:hover,
.tab-btn:hover,
.link-item:hover {
    cursor: pointer;
    position: relative;
}

.modal-trigger:hover::before {
    content: '✨';
    position: absolute;
    top: -15px;
    right: -15px;
    animation: particleFloat 2s ease-in-out infinite, sparkle 1s ease-in-out infinite;
    pointer-events: none;
    font-size: 1.2rem;
}

.tab-btn:hover::before {
    content: '🌀';
    position: absolute;
    top: -10px;
    left: -10px;
    animation: spiralSpin 1.5s linear infinite;
    pointer-events: none;
    font-size: 1rem;
}

.link-item:hover::before {
    content: '💫';
    position: absolute;
    top: -8px;
    right: -8px;
    animation: twinkle 0.8s ease-in-out infinite;
    pointer-events: none;
    font-size: 0.9rem;
}

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

@keyframes orbitalMove {
    0% { transform: rotate(0deg) translateX(80px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

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

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.3) rotate(180deg); opacity: 0.7; }
}

@keyframes spiralSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes twinkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    25% { transform: scale(1.4); opacity: 0.6; }
    50% { transform: scale(0.8); opacity: 1; }
    75% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes rainbowShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes titleGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes borderFlow {
    0% { background-position: -400% 0; }
    100% { background-position: 400% 0; }
}

@keyframes rippleExpand {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.8; }
    50% { opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

@keyframes breathingBorder {
    0%, 100% { border-color: var(--accent-green); box-shadow: 0 0 10px var(--accent-green); }
    25% { border-color: var(--accent-lime); box-shadow: 0 0 15px var(--accent-lime); }
    50% { border-color: var(--accent-yellow); box-shadow: 0 0 20px var(--accent-yellow); }
    75% { border-color: var(--accent-blue); box-shadow: 0 0 15px var(--accent-blue); }
}

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

@keyframes creepyRainbowScroll {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes thumbGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(90, 107, 58, 0.5); }
    50% { box-shadow: 0 0 20px rgba(139, 125, 107, 0.8), 0 0 30px rgba(107, 107, 90, 0.6); }
}

/* Header Connect Links */
.header-connect {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.connect-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(90, 107, 58, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: var(--old-parchment);
}

.connect-link:hover {
    background: rgba(90, 107, 58, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(90, 107, 58, 0.4);
    border-color: var(--ancient-moss);
}

.connect-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(90, 107, 58, 0.3), transparent);
    transition: all 0.5s ease;
}

.connect-link:hover::before {
    left: 100%;
}

/* Section Headers with Download Buttons */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--ancient-moss), var(--old-parchment));
    border: none;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    color: var(--swamp-bg-dark);
    font-family: var(--font-ancient);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 107, 58, 0.4);
    background: linear-gradient(135deg, var(--old-parchment), var(--weathered-stone));
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(57, 255, 57, 0.3);
}

.download-btn::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: all 0.6s ease;
}

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

.download-icon {
    font-size: 1.1rem;
    animation: bounce 2s ease-in-out infinite;
}

.download-btn:hover .download-icon {
    animation: bounceHover 0.6s ease-in-out;
}

/* Download Button Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes bounceHover {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.1); }
} 