/* --- 1. THEME & SETUP --- */

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* GPU acceleration optimized for performance */
.vinyl-disc.spinning,
.theme-transition {
    transform: translateZ(0);
    will-change: transform;
}

:root {
    --bg-color: #FDFBF6;
    --text-color: #3C3633;
    --text-muted-color: #7a7a7a;
    --accent-color: #A97155;
    --accent-light-color: #C3987F;
    --glass-bg-color: rgba(255, 255, 255, 0.4);
    --border-color: rgba(60, 54, 51, 0.15);
    --glass-shadow-color: rgba(0, 0, 0, 0.08);
    --accent-glow-color: rgba(169, 113, 85, 0.2);
    --ui-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --body-font: 'Lora', Georgia, 'Times New Roman', serif;
    --mono-font: 'Space Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    --liquid-bezier: cubic-bezier(0.25, 1, 0.5, 1);
    --theme-transition-duration: 0.8s;
}

body.dark-mode {
    --bg-color: #1a1d24;
    --text-color: #EAE6E2;
    --text-muted-color: #8892b0;
    --accent-color: #FFD289;
    --accent-light-color: #f7e0c0;
    --glass-bg-color: rgba(38, 43, 53, 0.5);
    --border-color: rgba(234, 230, 226, 0.2);
    --glass-shadow-color: rgba(0, 0, 0, 0.2);
    --accent-glow-color: rgba(255, 210, 137, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--body-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
h1, h2, h3, h4, button, .nav-link { font-family: var(--ui-font); }
h1, h2 { font-family: var(--mono-font); text-shadow: 1px 1px 10px rgba(0,0,0,0.05); transition: text-shadow 0.3s ease; }
h1:hover, h2:hover { text-shadow: 2px 2px 15px var(--accent-glow-color); }
a, button { cursor: pointer; border: none; background: none; color: inherit; font-family: inherit; }
.fancy-text { font-family: var(--body-font); font-style: italic; color: var(--accent-light-color); }
strong { font-weight: 600; color: var(--accent-color); }

/* --- 2. LOADER --- */
#loader { position: fixed; inset: 0; z-index: 99999; background-color: var(--bg-color); display: flex; justify-content: center; align-items: center; transition: opacity 0.75s ease-in-out, visibility 0.75s; opacity: 0; visibility: hidden; }
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-bar { width: 150px; height: 4px; background-color: var(--accent-color); border-radius: 2px; animation: pulse-and-split 2.8s ease-in-out forwards; }
@keyframes pulse-and-split { 0% { transform: scaleX(0.1); opacity: 0.5; } 50% { transform: scaleX(1); opacity: 1; } 90% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(0); opacity: 0; } }

/* --- 3. HEADER & PILL NAVIGATION --- */
header { position: fixed; top: 0; width: 100%; z-index: 9990; padding: 1.5rem 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { 
    font-family: var(--mono-font); 
    font-weight: 700; 
    font-size: 1.5rem; 
    text-decoration: none; 
    display: inline-flex; 
    overflow: visible; 
    white-space: nowrap; 
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
    perspective: 1000px;
    transform-style: preserve-3d;
}

.logo-char { 
    display: inline-block; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                color 0.3s ease,
                text-shadow 0.3s ease,
                filter 0.3s ease; 
    opacity: 1;
    transform: translateZ(0); /* Force GPU layer */
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.logo:hover .logo-char { 
    color: var(--accent-color); 
    text-shadow: 
        0 0 20px var(--accent-glow-color),
        0 5px 15px var(--accent-glow-color),
        0 0 40px var(--accent-color);
    filter: brightness(1.2);
}

/* Hide middle characters with optimized GPU animation */
.logo:hover .logo-char:nth-child(2),
.logo:hover .logo-char:nth-child(3),
.logo:hover .logo-char:nth-child(4),
.logo:hover .logo-char:nth-child(7),
.logo:hover .logo-char:nth-child(8),
.logo:hover .logo-char:nth-child(9) {
    opacity: 0;
    transform: scale(0) translate3d(-20px, 0, 0);
    transition-delay: calc(var(--char-index) * 0.02s);
}

/* Replace space with magical dot */
.logo:hover .logo-char:nth-child(5) {
    font-size: 0; /* Hide the space character */
    transform: translate3d(-15px, 0, 0) scale(1.2);
    transition-delay: 0.4s;
    position: relative;
}

.logo:hover .logo-char:nth-child(5)::before {
    content: '.';
    font-size: 2rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--accent-color);
    text-shadow: 
        0 0 15px var(--accent-glow-color),
        0 0 30px var(--accent-color);
    animation: dot-appear 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    animation-delay: 0.5s;
}

@keyframes dot-appear {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(180deg);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5) rotate(90deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Optimized S and V animation for 60fps */
.logo:hover .logo-char:nth-child(1) {
    transform: translate3d(12px, -2px, 0) scale(1.2);
    transition-delay: 0.2s;
    z-index: 10;
}

.logo:hover .logo-char:nth-child(6) {
    transform: translate3d(-25px, -2px, 0) scale(1.2);
    transition-delay: 0.25s;
    z-index: 10;
}
.main-nav { display: flex; background: var(--glass-bg-color); border: 1px solid var(--border-color); border-radius: 99px; padding: 0.4rem; position: relative; contain: layout style; }
.nav-link { text-decoration: none; padding: 0.4rem 1.2rem; border-radius: 99px; position: relative; z-index: 2; transition: color 0.4s ease; }
.nav-link:hover { color: var(--accent-color); }
.nav-link.active { color: var(--bg-color); transition-delay: 0.1s; }
.nav-link.active:hover { color: var(--bg-color); }
body.dark-mode .nav-link.active { color: #1a1d24; }
body.dark-mode .nav-link.active:hover { color: #1a1d24; }
.nav-link-pill { position: absolute; top: 0.4rem; left: 0.4rem; background: var(--text-color); border-radius: 99px; z-index: 1; transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); opacity: 1; width: 0; height: 0; will-change: transform, width, height; }

/* --- 4. SECTIONS --- */
#fullpage-container { position: relative; }
.fullpage-section { width: 100vw; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; padding: 4rem 0; contain: layout; }
#home { text-align: left; }
#particles-js { position: absolute; inset: 0; z-index: 0; }

/* Optimized Musical Notes Particles */
.musical-note {
    position: absolute;
    font-size: 20px;
    color: var(--accent-color);
    font-family: Arial, sans-serif;
    pointer-events: none;
    opacity: 0.4;
    user-select: none;
    z-index: 1;
    /* Static positioning - no animation for better performance */
}
.hero-container { display: flex; align-items: center; justify-content: center; width: 100%; max-width: none; }
#home .hero-content { position: relative; z-index: 2; max-width: 600px; margin-left: -100px; }

/* Simplified text styling for better performance */
#home h1 { 
    position: relative;
    /* Removed continuous animations */
}

#home h1:hover {
    text-shadow: 0 0 15px var(--accent-glow-color);
    transition: text-shadow 0.3s ease;
}

/* Removed performance-heavy animations */
.cta-button { display: inline-block; background-color: var(--accent-color); color: var(--bg-color); padding: 0.8rem 2rem; border-radius: 99px; text-decoration: none; font-weight: 500; margin-top: 1rem; }
.cta-button::after { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    width: 10px; 
    height: 10px; 
    background: radial-gradient(circle, rgba(255,255,255,0.8), transparent 70%); 
    border-radius: 50%; 
    transform: scale(0) translate(-50%, -50%); 
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); 
    opacity: 0;
}

.cta-button:active::after { 
    transform: scale(80) translate(-50%, -50%); 
    opacity: 1;
    animation: button-ripple-seamless 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes button-ripple-seamless {
    0% {
        transform: scale(0) translate(-50%, -50%);
        opacity: 1;
    }
    30% {
        transform: scale(30) translate(-50%, -50%);
        opacity: 0.8;
    }
    60% {
        transform: scale(60) translate(-50%, -50%);
        opacity: 0.4;
    }
    100% {
        transform: scale(80) translate(-50%, -50%);
        opacity: 0;
    }
}
.section-header { text-align: center; margin-bottom: 3rem; }

/* --- 5. RELEASES SECTION --- */
.releases-container { width: 100%; }
.album-showcase { display: flex; align-items: center; gap: 2rem; margin-bottom: 3rem; }
.album-cover { flex-shrink: 0; }
.album-cover img { 
    width: 200px; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 15px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); 
    transition: all 0.6s var(--liquid-bezier);
    cursor: pointer;
}

.album-cover img:hover {
    transform: scale(1.02) rotate(2deg);
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.3),
        0 0 20px var(--accent-glow-color);
}
.album-info h2 { margin-bottom: 0.5rem; }
.album-info p { margin: 0; }
.music-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; width: 100%; max-width: 700px; margin: 0 auto; }
.music-player { padding: 1.5rem 2rem; display: flex; align-items: center; gap: 1.5rem; }

/* Vinyl Animation with Liquid Effects */
.vinyl-container { flex-shrink: 0; position: relative; transition: all 0.8s var(--liquid-bezier); }
.vinyl-container:hover { transform: scale(1.1) translateY(-5px); }
.vinyl-disc { 
    width: 60px; 
    height: 60px; 
    background: linear-gradient(145deg, #1a1a1a, #333); 
    border-radius: 50%; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 
        inset 0 0 15px rgba(0,0,0,0.8), 
        inset 0 0 25px rgba(0,0,0,0.6),
        0 4px 20px rgba(0,0,0,0.4),
        0 1px 0 rgba(255,255,255,0.1); 
    transition: all 0.8s var(--liquid-bezier); 
    border: 1px solid rgba(255,255,255,0.1);
}

/* Pastel Vinyl Color Variants with soft, light gradients */
.vinyl-purple { 
    background: linear-gradient(145deg, #e0d1f7, #c8b6e6, #f3ebff);
    box-shadow: 
        inset 0 0 15px rgba(200, 182, 230, 0.4), 
        inset 0 0 25px rgba(0,0,0,0.3),
        0 4px 20px rgba(200, 182, 230, 0.3),
        0 1px 0 rgba(255,255,255,0.3);
}

.vinyl-blue { 
    background: linear-gradient(145deg, #dbeafe, #bfdbfe, #eff6ff);
    box-shadow: 
        inset 0 0 15px rgba(191, 219, 254, 0.4), 
        inset 0 0 25px rgba(0,0,0,0.3),
        0 4px 20px rgba(191, 219, 254, 0.3),
        0 1px 0 rgba(255,255,255,0.3);
}

.vinyl-orange { 
    background: linear-gradient(145deg, #fed7aa, #fdba74, #fff7ed);
    box-shadow: 
        inset 0 0 15px rgba(253, 186, 116, 0.4), 
        inset 0 0 25px rgba(0,0,0,0.3),
        0 4px 20px rgba(253, 186, 116, 0.3),
        0 1px 0 rgba(255,255,255,0.3);
}

.vinyl-green { 
    background: linear-gradient(145deg, #dcfce7, #bbf7d0, #f0fdf4);
    box-shadow: 
        inset 0 0 15px rgba(187, 247, 208, 0.4), 
        inset 0 0 25px rgba(0,0,0,0.3),
        0 4px 20px rgba(187, 247, 208, 0.3),
        0 1px 0 rgba(255,255,255,0.3);
}
.vinyl-disc:hover { 
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.8), 
        inset 0 0 30px rgba(0,0,0,0.6),
        0 8px 30px var(--accent-glow-color),
        0 2px 0 rgba(255,255,255,0.2); 
}

.vinyl-center { 
    width: 10px; 
    height: 10px; 
    background: radial-gradient(circle, var(--accent-color), var(--accent-light-color)); 
    border-radius: 50%; 
    z-index: 3; 
    box-shadow: 
        inset 0 1px 2px rgba(0,0,0,0.3),
        0 1px 3px rgba(0,0,0,0.4);
}

.vinyl-groove { 
    position: absolute; 
    border: 1px solid rgba(255,255,255,0.15); 
    border-radius: 50%; 
    box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
}
.vinyl-groove:nth-child(2) { width: 50px; height: 50px; border-width: 0.5px; }
.vinyl-groove:nth-child(3) { width: 40px; height: 40px; border-width: 0.5px; }
.vinyl-groove:nth-child(4) { width: 30px; height: 30px; border-width: 0.5px; }

/* Tonearm Styling - positioned to touch the vinyl */
.tonearm { position: absolute; top: 10px; right: 8px; transform-origin: right center; transition: transform 0.6s var(--liquid-bezier); z-index: 4; }
.tonearm-base { width: 4px; height: 4px; background: var(--text-color); border-radius: 50%; margin-bottom: 2px; }
.tonearm-arm { width: 2px; height: 30px; background: linear-gradient(to bottom, var(--text-color), var(--accent-color)); border-radius: 1px; position: relative; transform-origin: top center; }
.tonearm-needle { width: 1.5px; height: 6px; background: var(--accent-color); position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); border-radius: 0 0 50% 50%; }

.tonearm.playing { transform: rotate(25deg); }

@keyframes vinyl-spin { 
    to { transform: rotate(360deg); } 
}
.vinyl-disc.spinning { 
    animation: vinyl-spin 3s linear infinite;
}

.music-player .track-controls { flex-grow: 1; }
.track-info h4 { font-family: var(--mono-font); font-size: 1.1rem; margin-bottom: 0.25rem; }
.track-info p { font-size: 0.9rem; color: var(--text-muted-color); margin-bottom: 1.25rem; }
.player-controls { display: flex; align-items: center; gap: 1rem; width: 100%; }
.play-btn { font-size: 1.5rem; line-height: 1; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--accent-color); transition: all 0.8s var(--liquid-bezier); position: relative; overflow: hidden; border-radius: 50%; cursor: pointer; border: none; background: transparent; z-index: 10; }
.play-btn:hover { transform: scale(1.3) rotate(15deg); color: var(--accent-light-color); background: radial-gradient(circle, var(--accent-glow-color), transparent); }
.play-btn.playing { font-size: 1.2rem; animation: pulse-play 2s ease-in-out infinite; }
@keyframes pulse-play { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.timer { font-family: var(--mono-font); font-size: 0.8rem; color: var(--text-muted-color); }
.progress-bar { flex-grow: 1; height: 8px; background-color: var(--border-color); border-radius: 4px; cursor: pointer; position: relative; overflow: hidden; transition: height 0.3s ease; z-index: 10; }
.progress-bar:hover { height: 10px; }
.progress-bar::after { display: none; }
.progress-fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--accent-color), var(--accent-light-color)); border-radius: 4px; transition: width 0.1s linear; position: relative; overflow: hidden; box-shadow: 0 0 10px var(--accent-glow-color); }
/* Removed shimmer animation */
.repeat-btn { font-size: 1.2rem; color: var(--text-muted-color); transition: color 0.3s ease, transform 0.3s ease; z-index: 10; cursor: pointer; border: none; background: transparent; position: relative; }
.repeat-btn.active { color: var(--accent-color); transform: rotate(360deg); }


/* --- 6. NEWS & ABOUT SECTIONS --- */
.press-release { text-align: left; padding: 3rem; max-width: 800px; background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.process-timeline { position: relative; display: grid; gap: 3rem; max-width: 800px; margin: 0 auto; }
.process-timeline::before { content: ''; position: absolute; top: 20px; bottom: 20px; left: 45px; width: 2px; background: var(--border-color); border-radius: 2px; transform-origin: top; transition: transform 1.5s var(--liquid-bezier) 0.5s; transform: scaleY(0); }
#about.active .process-timeline.is-visible::before { transform: scaleY(1); }
.process-item { display: flex; align-items: flex-start; gap: 2.5rem; }
.process-number { font-size: 1.5rem; font-weight: 700; color: var(--accent-color); background-color: var(--bg-color); transition: all var(--theme-transition-duration) ease; width: 90px; flex-shrink: 0; text-align: center; z-index: 2; }

/* --- 7. NEWS MODAL --- */
#news-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9995; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0.5s; }
#news-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95); width: 90%; max-width: 800px; max-height: 80vh; overflow-y: auto; padding: 3rem; z-index: 9996; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--liquid-bezier), transform 0.5s var(--liquid-bezier), visibility 0.5s; -webkit-overflow-scrolling: touch; background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 20px; box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
#news-modal-overlay.active, #news-modal.active { opacity: 1; visibility: visible; }
#news-modal.active { transform: translate(-50%, -50%) scale(1); }
#news-modal h2 { margin-bottom: 1rem; }
#news-modal p { margin-bottom: 1.5rem; }
#close-modal-btn { position: absolute; top: 1rem; right: 1.5rem; font-size: 2.5rem; line-height: 1; font-weight: 300; transition: transform 0.3s ease, color 0.3s ease; }
#close-modal-btn:hover { transform: rotate(180deg) scale(1.2); color: var(--accent-color); text-shadow: 0 0 10px var(--accent-glow-color); }

/* --- 8. ALWAYS-VISIBLE FOOTER --- */
.site-footer { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9980; padding: 1rem 0; text-align: center; font-size: 0.9rem; color: var(--text-muted-color); background: linear-gradient(to top, var(--bg-color) 60%, transparent); pointer-events: none; }

/* --- 9. COMPONENTS & EFFECTS --- */
.glass-card { background: var(--glass-bg-color); border: 1px solid var(--border-color); border-radius: 20px; box-shadow: 0 8px 30px var(--glass-shadow-color); transition: transform 0.3s ease, box-shadow 0.3s ease; contain: layout style; }
.glass-card::before { display: none; }
.music-player:hover, .press-release:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px var(--glass-shadow-color); }
.music-player { position: relative; overflow: hidden; }
.music-player::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent-glow-color), transparent 70%); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.music-player:hover::after { opacity: 1; }
/* Optimized background image */
.floating-bg-image { 
    position: absolute; 
    right: 5%; 
    top: 50%; 
    width: 380px; 
    height: 480px; 
    background: url('background-day.png') no-repeat center center; 
    background-size: cover; 
    border-radius: 20px; 
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2); 
    transform: translateY(-50%) rotate(-5deg); 
    z-index: 1;
    /* Removed continuous animations and parallax for performance */
}

/* Simple, reliable image loading */
body.dark-mode .floating-bg-image { 
    background-image: url('background-night.png'); 
}
/* Removed float animation for performance */
#theme-toggle { position: fixed; bottom: 5rem; right: 2rem; z-index: 9990; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--border-color); background: var(--glass-bg-color); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
#theme-toggle:hover { transform: scale(1.15) rotate(20deg); box-shadow: 0 8px 20px var(--accent-glow-color); }
#theme-toggle svg { position: absolute; transition: transform 0.5s var(--liquid-bezier), opacity 0.3s ease; }
.sun-icon { opacity: 0; transform: rotate(-90deg); } .moon-icon { opacity: 1; transform: rotate(0deg); }
body.dark-mode .sun-icon { opacity: 1; transform: rotate(0deg); } body.dark-mode .moon-icon { opacity: 0; transform: rotate(90deg); }
.theme-transition { position: fixed; inset: 0; background-color: var(--bg-color); z-index: 99999; pointer-events: none; }

/* --- 10. ADDITIONAL ANIMATIONS --- */
.glass-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px var(--glass-shadow-color);
}

/* Removed continuous floating animation for performance */
.float-animation {
    /* Static element - no animation */
}

.cta-button {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 16px var(--accent-glow-color);
}

.cta-button::before { display: none; }

/* Fixed and enhanced navigation pill */
.nav-link-pill {
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-link-pill::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -200%;
    width: 300%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: rotate(25deg);
    transition: left 1s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
}

.nav-link:hover ~ .nav-link-pill::before,
.nav-link.active ~ .nav-link-pill::before {
    left: 100%;
    opacity: 1;
}

.nav-link:hover ~ .nav-link-pill,
.nav-link.active ~ .nav-link-pill {
    border-radius: 15px;
    transform: scale(1.05);
    box-shadow: 
        0 4px 12px var(--accent-glow-color),
        0 0 15px var(--accent-glow-color),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Simplified glow effect */
.pulse-glow:hover {
    box-shadow: 0 0 20px var(--accent-glow-color);
    transition: box-shadow 0.3s ease;
}

/* Text reveal animations */
@keyframes text-reveal {
    0% { 
        opacity: 0; 
        transform: translateY(20px) rotateX(90deg); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) rotateX(0deg); 
    }
}

.text-reveal {
    animation: text-reveal 0.8s var(--liquid-bezier) forwards;
}

/* Enhanced smooth scale bounce animation */
.scale-bounce:hover {
    animation: scale-bounce-smooth 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes scale-bounce-smooth {
    0% { 
        transform: scale(1) rotate(0deg); 
    }
    30% { 
        transform: scale(1.15) rotate(3deg);
        filter: brightness(1.1);
    }
    60% {
        transform: scale(0.95) rotate(-2deg);
        filter: brightness(1.05);
    }
    100% { 
        transform: scale(1.08) rotate(1deg);
        filter: brightness(1.02);
    }
}

/* Simplified rotating elements */
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-slow {
    animation: rotate-slow 15s linear infinite;
}

/* Simplified gradient shift */
@keyframes gradient-shift-simple {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.gradient-shift {
    background: linear-gradient(-45deg, var(--accent-color), var(--accent-light-color));
    background-size: 200% 200%;
    animation: gradient-shift-simple 3s ease infinite;
}

/* --- 11. PRACTICAL FEATURES --- */

/* Feature 1: Volume Control Slider - Optimized */
.volume-control {
    position: fixed;
    bottom: 9rem;
    right: 2rem;
    width: 140px;
    background: var(--glass-bg-color);
    padding: 1.2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px var(--glass-shadow-color);
    z-index: 9999;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    contain: layout style;
}

.volume-control.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
    transition: all 0.3s ease;
}

.volume-slider {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--accent-glow-color);
}

.volume-label {
    font-family: var(--mono-font);
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Feature 2: Keyboard Shortcuts Help */
.shortcuts-help {
    position: fixed;
    bottom: 2.5rem;
    left: 2rem;
    background: var(--glass-bg-color);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px var(--glass-shadow-color);
    font-family: var(--mono-font);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-30px) scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    max-width: 240px;
    pointer-events: none;
    contain: layout style;
}

.shortcuts-help.show {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    transition: all 0.3s ease;
}

.shortcuts-help h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.shortcut-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.shortcut-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.shortcut-item:hover {
    transform: translateX(5px);
    color: var(--accent-color);
}

.shortcut-key {
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Feature 3: Progress Indicator */
.listening-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--border-color);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.listening-progress.show {
    opacity: 1;
}

.progress-fill-total {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light-color));
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-glow-color);
}


/* --- 12. EXTENSIVE ANIMATIONS --- */

/* Removed float animation for performance */

/* Removed complex animation */

/* Enhanced magical shortcuts bounce */
@keyframes shortcuts-bounce-magical {
    0% { 
        transform: translate3d(-40px, 0, 0) scale(0.6) rotateY(45deg); 
        opacity: 0; 
        filter: blur(8px);
    }
    40% { 
        transform: translate3d(10px, 0, 0) scale(1.1) rotateY(-10deg); 
        opacity: 0.8; 
        filter: blur(2px);
    }
    70% {
        transform: translate3d(-5px, 0, 0) scale(0.95) rotateY(5deg); 
        opacity: 0.9; 
        filter: blur(1px);
    }
    100% { 
        transform: translate3d(0, 0, 0) scale(1) rotateY(0deg); 
        opacity: 1; 
        filter: blur(0px);
    }
}


/* Optimized glass card */

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.2) 30%, 
        rgba(255,255,255,0.4) 50%,
        rgba(255,255,255,0.2) 70%, 
        transparent 100%);
    transform: skewX(-25deg);
    transition: left 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-card:hover::before {
    left: 100%;
}

/* Enhanced magical music player hover effects */
.music-player {
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, box-shadow, filter;
    position: relative;
}

.music-player:hover {
    transform: translate3d(0, -12px, 0) scale(1.02) rotateX(2deg);
    box-shadow: 
        0 20px 40px var(--glass-shadow-color),
        0 0 30px var(--accent-glow-color),
        inset 0 1px 0 rgba(255,255,255,0.2);
    filter: brightness(1.05);
}

.music-player::after { display: none; }

.vinyl-disc.spinning {
    animation: vinyl-spin 3s linear infinite;
    will-change: transform;
}

.play-btn {
    transition: transform 0.2s ease, color 0.2s ease;
}

.play-btn::before { display: none; }

.play-btn:hover {
    transform: scale(1.1);
    color: var(--accent-light-color);
}

@keyframes play-btn-ripple {
    0% { transform: scale(0); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.3; }
}

.play-btn.playing {
    box-shadow: 
        0 0 25px var(--accent-glow-color),
        0 0 50px var(--accent-color),
        inset 0 1px 0 rgba(255,255,255,0.2);
    animation: play-btn-magical-pulse 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    transform: scale(1.1);
}

@keyframes play-btn-magical-pulse {
    0%, 100% { 
        box-shadow: 
            0 0 25px var(--accent-glow-color),
            0 0 50px var(--accent-color),
            inset 0 1px 0 rgba(255,255,255,0.2);
        transform: scale(1.1);
        filter: brightness(1.1);
    }
    50% { 
        box-shadow: 
            0 0 35px var(--accent-glow-color),
            0 0 70px var(--accent-color),
            0 0 100px var(--accent-light-color),
            inset 0 2px 0 rgba(255,255,255,0.3);
        transform: scale(1.15);
        filter: brightness(1.2);
    }
}

/* Progress bar simplified */
.progress-bar {
    position: relative;
    transition: height 0.2s ease;
}

/* Navigation pill simplified */
.nav-link-pill {
    transition: transform 0.4s var(--liquid-bezier);
    border-radius: 99px;
    will-change: transform;
}

/* Logo character simplified */
.logo-char {
    transition: all 0.4s var(--liquid-bezier);
}

/* Optimized musical notes floating */
.musical-note {
    animation: floatNote 8s ease-in-out infinite;
    animation-delay: var(--note-delay, 0s);
    will-change: transform, opacity;
}

/* Complex animation removed for performance */

/* Enhanced Music Player Controls */
.track-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.track-duration {
    color: var(--accent-color);
    font-family: var(--mono-font);
    font-weight: 700;
}

.track-status {
    color: var(--text-muted-color);
    font-style: italic;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--accent-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.volume-btn:hover {
    background: var(--accent-glow-color);
}

.volume-slider {
    width: 60px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
}

.progress-handle {
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-bar:hover .progress-handle,
.progress-bar:focus .progress-handle {
    opacity: 1;
}

.progress-bar {
    cursor: pointer;
    position: relative;
}

.share-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--text-muted-color);
}

.share-btn:hover {
    color: var(--accent-color);
    background: var(--accent-glow-color);
    transform: scale(1.1);
}

.repeat-btn[data-mode="on"] {
    color: var(--accent-color);
    background: var(--accent-glow-color);
}

/* Header Controls */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.queue-toggle-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.queue-toggle-btn:hover {
    background: var(--accent-glow-color);
    color: var(--accent-color);
}

/* Global Music Player */
.global-player {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 1000;
    padding: 1rem;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--glass-shadow-color);
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.global-player-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.current-track-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.current-track-artwork {
    width: 40px;
    height: 40px;
    position: relative;
}

.vinyl-mini {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.vinyl-mini.spinning {
    animation: vinyl-spin 3s linear infinite;
}

.vinyl-center-mini {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.current-track-details h4 {
    margin: 0;
    font-size: 0.9rem;
}

.current-track-details p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted-color);
}

.global-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.global-controls button {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.global-controls button:hover {
    background: var(--accent-glow-color);
    transform: scale(1.1);
}

.global-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 2;
}

.global-progress-bar {
    flex: 1;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.global-progress-fill {
    height: 100%;
    background: var(--accent-color);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.global-current-time,
.global-duration {
    font-size: 0.8rem;
    font-family: var(--mono-font);
    color: var(--text-muted-color);
    min-width: 35px;
}

/* Playlist Queue */
.playlist-queue {
    position: fixed;
    top: 50%;
    right: -400px;
    transform: translateY(-50%);
    width: 350px;
    max-height: 70vh;
    z-index: 1001;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--glass-shadow-color);
    border-radius: 12px;
    transition: right 0.3s ease;
}

.playlist-queue.open {
    right: 2rem;
}

.queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.queue-header h3 {
    margin: 0;
    font-size: 1rem;
}

.queue-close-btn {
    background: none;
    border: none;
    color: var(--text-muted-color);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.queue-close-btn:hover {
    color: var(--accent-color);
    background: var(--accent-glow-color);
}

.queue-content {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.queue-item:hover {
    background: var(--accent-glow-color);
}

.queue-item.active {
    background: var(--accent-glow-color);
    color: var(--accent-color);
}

.queue-number {
    font-family: var(--mono-font);
    font-weight: 700;
    width: 30px;
}

.queue-title {
    flex: 1;
}

.queue-duration {
    font-family: var(--mono-font);
    font-size: 0.8rem;
    color: var(--text-muted-color);
}

.queue-controls {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shuffle-btn,
.queue-clear-btn {
    background: none;
    border: none;
    color: var(--text-muted-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.shuffle-btn:hover,
.queue-clear-btn:hover {
    color: var(--accent-color);
    background: var(--accent-glow-color);
}

.shuffle-btn.active {
    color: var(--accent-color);
    background: var(--accent-glow-color);
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .global-player {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        padding: 0.75rem;
    }
    
    .global-player-content {
        gap: 0.75rem;
    }
    
    .volume-control {
        display: none; /* Hide volume control on mobile to save space */
    }
    
    .playlist-queue {
        width: 300px;
        right: -320px;
    }
    
    .playlist-queue.open {
        right: 1rem;
    }
    
    .track-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Vinyl Touch Improvements for Mobile */
@media (hover: none) and (pointer: coarse) {
    .vinyl-container {
        padding: 1rem;
        cursor: pointer;
    }
    
    .vinyl-disc {
        width: 80px;
        height: 80px;
    }
    
    .play-btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Skip Links for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    font-family: var(--ui-font);
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Focus States for Accessibility */
.play-btn:focus,
.volume-btn:focus,
.share-btn:focus,
.repeat-btn:focus,
.progress-bar:focus,
.queue-toggle-btn:focus,
.global-play-btn:focus,
.global-prev-btn:focus,
.global-next-btn:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Removed section reveal animation */

@keyframes section-reveal-smooth {
    0% { 
        opacity: 0; 
        transform: translate3d(0, 80px, 0) scale(0.95) rotateX(10deg);
        filter: blur(15px) brightness(1.2);
    }
    40% {
        opacity: 0.6;
        transform: translate3d(0, -10px, 0) scale(1.02) rotateX(-2deg);
        filter: blur(5px) brightness(1.05);
    }
    100% { 
        opacity: 1; 
        transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
        filter: blur(0px) brightness(1);
    }
}

/* Seamless magical theme toggle */
#theme-toggle {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, box-shadow;
}

#theme-toggle:hover {
    transform: scale(1.15) rotate(20deg);
    box-shadow: 
        0 8px 25px var(--accent-glow-color),
        0 0 20px var(--accent-color);
    filter: brightness(1.1);
    animation: theme-toggle-pulse-seamless 2s linear infinite;
}

@keyframes theme-toggle-pulse-seamless {
    0% {
        box-shadow: 
            0 8px 25px var(--accent-glow-color),
            0 0 20px var(--accent-color);
    }
    50% {
        box-shadow: 
            0 12px 35px var(--accent-glow-color),
            0 0 30px var(--accent-color),
            0 0 50px var(--accent-light-color);
    }
    100% {
        box-shadow: 
            0 8px 25px var(--accent-glow-color),
            0 0 20px var(--accent-color);
    }
}

/* Seamless magical album cover hover */
.album-cover img {
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, filter, box-shadow;
}

.album-cover img:hover {
    transform: scale(1.05) rotate(3deg);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.3),
        0 0 25px var(--accent-glow-color),
        0 0 50px var(--accent-color);
    animation: album-cover-magic-seamless 4s linear infinite;
}

@keyframes album-cover-magic-seamless {
    0% {
        filter: brightness(1.1) contrast(1.1) saturate(1.2) hue-rotate(0deg);
    }
    25% {
        filter: brightness(1.15) contrast(1.15) saturate(1.3) hue-rotate(5deg);
    }
    50% {
        filter: brightness(1.2) contrast(1.2) saturate(1.4) hue-rotate(10deg);
    }
    75% {
        filter: brightness(1.15) contrast(1.15) saturate(1.3) hue-rotate(5deg);
    }
    100% {
        filter: brightness(1.1) contrast(1.1) saturate(1.2) hue-rotate(0deg);
    }
}

/* Seamless magical tonearm animation */
.tonearm.playing {
    transform: rotate(25deg);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    animation: tonearm-glow-seamless 3s linear infinite;
}

@keyframes tonearm-glow-seamless {
    0% {
        filter: brightness(1) drop-shadow(0 1px 3px rgba(0,0,0,0.2));
    }
    25% {
        filter: brightness(1.05) drop-shadow(0 2px 6px var(--accent-glow-color));
    }
    50% {
        filter: brightness(1.1) drop-shadow(0 3px 9px var(--accent-glow-color));
    }
    75% {
        filter: brightness(1.05) drop-shadow(0 2px 6px var(--accent-glow-color));
    }
    100% {
        filter: brightness(1) drop-shadow(0 1px 3px rgba(0,0,0,0.2));
    }
}

/* Button press simplified */
.cta-button, .play-btn, .repeat-btn {
    transition: transform 0.2s ease;
}

.cta-button:active, .play-btn:active, .repeat-btn:active {
    transform: scale(0.95);
}

/* Enhanced smooth text reveal animation */
[data-splitting] .char { display: inline-block; }

@keyframes text-char-reveal-smooth {
    0% { 
        opacity: 0; 
        transform: translate3d(0, 40px, 0) rotateX(90deg) scale(0.8);
        filter: blur(8px);
    }
    60% {
        opacity: 0.8;
        transform: translate3d(0, -5px, 0) rotateX(10deg) scale(1.05);
        filter: blur(2px);
    }
    100% { 
        opacity: 1; 
        transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
        filter: blur(0px);
    }
}

/* Seamless page scroll indicator animation */
.listening-progress {
    animation: progress-bar-slide-in-seamless 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes progress-bar-slide-in-seamless {
    0% { 
        transform: translateY(-15px) scaleX(0); 
        opacity: 0; 
        filter: blur(5px);
    }
    30% {
        transform: translateY(-8px) scaleX(0.3); 
        opacity: 0.3; 
        filter: blur(3px);
    }
    60% {
        transform: translateY(-3px) scaleX(0.7); 
        opacity: 0.7; 
        filter: blur(1px);
    }
    100% { 
        transform: translateY(0px) scaleX(1); 
        opacity: 1; 
        filter: blur(0px);
    }
}

/* --- 13. ANIMATION UTILITIES --- */
/* Enhanced smooth utility animations with GPU acceleration */
@keyframes fadeInUp { 
    from { 
        opacity: 0; 
        transform: translate3d(0, 30px, 0) scale(0.95); 
        filter: blur(5px);
    } 
    to { 
        opacity: 1; 
        transform: translate3d(0, 0, 0) scale(1); 
        filter: blur(0px);
    } 
}

@keyframes slideInLeft { 
    from { 
        opacity: 0; 
        transform: translate3d(-40px, 0, 0) rotateY(30deg); 
        filter: blur(3px);
    } 
    to { 
        opacity: 1; 
        transform: translate3d(0, 0, 0) rotateY(0deg); 
        filter: blur(0px);
    } 
}

@keyframes slideInRight { 
    from { 
        opacity: 0; 
        transform: translate3d(40px, 0, 0) rotateY(-30deg); 
        filter: blur(3px);
    } 
    to { 
        opacity: 1; 
        transform: translate3d(0, 0, 0) rotateY(0deg); 
        filter: blur(0px);
    } 
}

.anim-reveal { opacity: 1; }

.stagger-children > * { 
    opacity: 1; 
    transform: translate3d(0, 0, 0); 
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
    will-change: transform, opacity;
}
[data-splitting] .char { 
    display: inline-block; 
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) both; 
    animation-delay: calc(var(--char-index) * 0.04s); 
    transform-origin: center bottom; 
    will-change: transform, opacity, filter;
}

[data-splitting] .word { 
    display: inline-block; 
    margin-right: 0.3em; 
}

[data-splitting] .word:last-child { 
    margin-right: 0; 
}

.process-item { opacity: 1; }

.music-player { opacity: 1; }

/* --- 11. RESPONSIVENESS --- */
@media (max-width: 900px) {
    .floating-bg-image { display: none; }
    #home .hero-content { padding-right: 2rem; max-width: 100%; }
    .hero-container { justify-content: center; text-align: center; }
    #home { text-align: center; }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .container { padding: 0 1.5rem; }
    .header-container { flex-direction: column; gap: 1rem; }
    .main-nav { padding: 0.3rem; flex-wrap: wrap; justify-content: center; gap: 0.2rem; }
    .nav-link { padding: 0.4rem 1rem; font-size: 0.9rem; }
    .nav-link-pill { display: none; }
    .nav-link.active { background: var(--text-color); }
    .press-release, .music-player { padding: 1.5rem; }
    #theme-toggle { bottom: 1.5rem; right: 1.5rem; }
    .site-footer { font-size: 0.8rem; }
    
    /* Mobile-specific vinyl layout */
    .vinyl-disc { width: 50px; height: 50px; }
    .vinyl-center { width: 6px; height: 6px; }
    .vinyl-groove:nth-child(2) { width: 38px; height: 38px; }
    .vinyl-groove:nth-child(3) { width: 28px; height: 28px; }
    .vinyl-groove:nth-child(4) { width: 20px; height: 20px; }
    
    /* Mobile tonearm adjustments */
    .tonearm { top: 3px; right: -3px; }
    .tonearm-base { width: 3px; height: 3px; }
    .tonearm-arm { width: 1.5px; height: 25px; }
    .tonearm-needle { width: 1px; height: 4px; }
    
    /* Mobile music player layout */
    .music-player { flex-direction: column; gap: 1rem; text-align: center; }
    .vinyl-container { align-self: center; }
    
    /* Touch-friendly sizing */
    .play-btn { font-size: 1.8rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
    .progress-bar { height: 12px; }
    .progress-bar:hover { height: 12px; }
    
    /* Reduce animation intensity on mobile */
    .glass-card:hover { transform: translateY(-5px) scale(1.01); }
    .scale-bounce:hover { animation: none; transform: scale(1.02); }
    
    /* Better mobile spacing */
    .fullpage-section { padding: 2rem 0 60px; }
    .section-header { margin-bottom: 2rem; }
    .music-grid { gap: 1rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    .hero-content { max-width: 100%; padding-right: 0; }
    .tagline { font-size: 1rem; line-height: 1.6; }
    .cta-button { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
    .music-player { padding: 1rem; }
    .press-release { padding: 2rem 1.5rem; }
    
    /* Mobile modal optimization */
    #news-modal { 
        width: 95%; 
        max-height: 90vh; 
        padding: 2rem 1.5rem; 
        top: 50%;
        transform: translate(-50%, -50%);
    }
    #news-modal.active {
        transform: translate(-50%, -50%) scale(1);
    }
}