:root {
    --bg-primary: #0a0b0e;
    --bg-secondary: #111318;
    --card-bg: rgba(18, 20, 26, 0.65);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-border-glow: rgba(6, 135, 245, 0.25);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --color-accent: #0687f5;
    --color-accent-hover: #3b9ffd;
    --color-pink: #ec4899;
    
    --glow-accent: 0 0 20px rgba(6, 135, 245, 0.3);
    
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
}

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(6, 135, 245, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 135, 245, 0.02) 0%, transparent 40%);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0; /* content starts at the top, header is hidden initially */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Typography & Links */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

@media (max-width: 640px) {
    .container {
        padding: 2.5rem 1rem;
    }
}

/* Section Header */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 11, 14, 0);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

@media (max-width: 640px) {
    header {
        padding: 1rem 1rem;
    }
}

/* Sticky Shrink/Reveal Header & Morphing Animation */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
        header {
            animation: show-header auto linear both;
            animation-timeline: scroll(block root);
            animation-range: 60px 130px;
        }
        
        .logo {
            animation: header-logo-reveal auto linear both;
            animation-timeline: scroll(block root);
            animation-range: 60px 130px;
            transform-origin: left center;
        }
        
        .hero-title {
            animation: hero-title-morph auto linear both;
            animation-timeline: scroll(block root);
            animation-range: 60px 130px;
            transform-origin: left center;
        }
        
        .header-socials {
            animation: header-socials-reveal auto linear both;
            animation-timeline: scroll(block root);
            animation-range: 200px 270px;
            transform-origin: right center;
        }
        
        .hero-socials {
            animation: hero-socials-morph auto linear both;
            animation-timeline: scroll(block root);
            animation-range: 200px 270px;
            transform-origin: left center;
        }
    }
}

@keyframes show-header {
    to {
        background: rgba(10, 11, 14, 0.9);
        border-bottom-color: var(--card-border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
        padding: 0.75rem 2rem;
    }
}

@keyframes header-logo-reveal {
    from {
        opacity: 0;
        transform: translate(40px, 60px) scale(1.4);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes header-socials-reveal {
    from {
        opacity: 0;
        transform: translate(-40px, 60px) scale(1.2);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes hero-title-morph {
    to {
        opacity: 0;
        transform: translate(-40px, -60px) scale(0.65);
    }
}

@keyframes hero-socials-morph {
    to {
        opacity: 0;
        transform: translate(40px, -60px) scale(0.8);
    }
}

/* Fallback class for scroll header when CSS scroll timeline is not supported */
header.visible-bg {
    background: rgba(10, 11, 14, 0.9) !important;
    border-color: var(--card-border) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    padding: 0.75rem 2rem !important;
}

/* Fallback classes for JS morphing */
.js-fallback-init .logo, 
.js-fallback-init .header-socials {
    opacity: 0;
    transition: var(--transition-smooth);
}

.js-fallback-init .logo {
    transform: translate(40px, 60px) scale(1.4);
}

.js-fallback-init .header-socials {
    transform: translate(-40px, 60px) scale(1.2);
}

.logo.visible, .header-socials.visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

.hero-title.hidden-morph {
    opacity: 0 !important;
    transform: translate(-40px, -60px) scale(0.65) !important;
}


.hero-socials.hidden-morph {
    opacity: 0 !important;
    transform: translate(40px, -60px) scale(0.8) !important;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.logo:hover {
    color: var(--color-accent);
    text-shadow: 0 0 15px rgba(6, 135, 245, 0.4);
}

.header-socials {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.social-link {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
}

.social-link.instagram:hover {
    border-color: var(--color-pink);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

.social-link.bluesky:hover {
    border-color: var(--color-accent);
    box-shadow: var(--glow-accent);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 5rem;
}

@media (max-width: 968px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding-bottom: 3rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-badge {
    align-self: flex-start;
    background: rgba(6, 135, 245, 0.1);
    border: 1px solid rgba(6, 135, 245, 0.25);
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

@media (max-width: 968px) {
    .hero-badge {
        align-self: center;
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    transition: var(--transition-smooth);
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 520px;
    font-weight: 300;
}

@media (max-width: 968px) {
    .hero-subtitle {
        margin: 0 auto;
    }
}

.hero-streaming-title {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.streaming-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

@media (max-width: 968px) {
    .streaming-badges {
        justify-content: center;
    }
}

.streaming-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.streaming-badge svg {
    flex-shrink: 0;
}

.streaming-badge:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.streaming-badge.spotify:hover {
    background: rgba(29, 185, 84, 0.08);
    border-color: #1db954;
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.25);
}

.streaming-badge.apple:hover {
    background: rgba(252, 60, 84, 0.08);
    border-color: #fc3c54;
    box-shadow: 0 0 15px rgba(252, 60, 84, 0.25);
}

.streaming-badge.youtube:hover {
    background: rgba(255, 0, 0, 0.08);
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.25);
}

.streaming-badge.beatport:hover {
    background: rgba(1, 244, 153, 0.08);
    border-color: #01f499;
    box-shadow: 0 0 15px rgba(1, 244, 153, 0.25);
}

.streaming-badge.bandcamp:hover {
    background: rgba(98, 154, 169, 0.08);
    border-color: #629aa9;
    box-shadow: 0 0 15px rgba(98, 154, 169, 0.25);
}

.hero-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    transition: var(--transition-smooth);
}

@media (max-width: 968px) {
    .hero-socials {
        justify-content: center;
    }
}

.hero-social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.hero-social-btn:hover {
    color: var(--text-primary);
}

.hero-social-btn.instagram:hover {
    background: rgba(236, 72, 153, 0.08);
    border-color: var(--color-pink);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.25);
}

.hero-social-btn.bluesky:hover {
    background: rgba(6, 135, 245, 0.08);
    border-color: var(--color-accent);
    box-shadow: var(--glow-accent);
}


/* Hero Spotlight Release */
.hero-spotlight {
    display: flex;
    justify-content: center;
}

.spotlight-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 135, 245, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.spotlight-card:hover {
    border-color: var(--card-border-glow);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), var(--glow-accent);
}

.spotlight-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-accent);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 10;
}

.spotlight-player {
    border: 0;
    width: 100%;
    aspect-ratio: 350 / 475;
    height: auto;
    border-radius: 8px;
    margin-top: 1.25rem;
    background: #14161c;
    display: block; /* removes baseline inline gap */
}

.spotlight-info {
    margin-top: 1rem;
}

.spotlight-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin: 0;
}

.spotlight-info p {
    color: var(--text-secondary);
    margin: 0.2rem 0 0 0;
    font-size: 0.85rem;
}

/* Originals Grid */
.originals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 400px));
    justify-content: center;
    gap: 2rem;
}

@media (max-width: 640px) {
    .originals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.track-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.track-card:hover {
    border-color: var(--card-border-glow);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), var(--glow-accent);
}

.track-card iframe {
    width: 100%;
    border-radius: 8px;
    background: #14161c;
    display: block; /* removes baseline inline gap */
    border: none; /* removes browser default iframe borders */
}

.track-card-standard iframe {
    aspect-ratio: 350 / 455;
    height: auto;
}

.track-card-tall iframe {
    aspect-ratio: 350 / 485;
    height: auto;
}


/* DJ Mixes Section */
.mixes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 2rem;
}

@media (max-width: 968px) {
    .mixes-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 640px) {
    .mixes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.mix-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 1.25rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mix-card:hover {
    border-color: var(--card-border-glow);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), var(--glow-accent);
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #14161c;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mixcloud-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    height: 120px;
    background: #14161c;
}

.mixcloud-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.mix-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin: 0;
}

.mix-info p {
    color: var(--text-secondary);
    margin: 0.2rem 0 0 0;
    font-size: 0.85rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    background: rgba(10, 11, 14, 0.95);
    padding: 3rem 2rem;
    margin-top: 6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-cyan);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.4);
}

/* Scroll-driven Entry Animations */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        .reveal-on-scroll {
            animation: reveal-up auto linear backwards;
            animation-timeline: view();
            animation-range: entry 0% entry 75%;
        }
    }
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
}

/* Fallback styles for scroll animation when unsupported (JS adds this) */
.reveal-fallback {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-fallback.revealed {
    opacity: 1;
    transform: translateY(0);
}
