/* ==========================================================================
   KOEL MUSIC - CINEMATIC CORE (REFACTORED)
   ========================================================================== */
   
:root {
    --gold-primary: #D4AF37;
    --gold-light: #F9E596;
    --gold-dark: #8A6D2B;
    --bg-dark: #070706;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: #fff;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    cursor: auto; 
}

/* ==========================================================================
   STRICT BRAND COLOR ENFORCEMENT
   ========================================================================== */
a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}
a:hover {
    color: #fff;
    opacity: 0.8;
}

a[href^="mailto:"], 
a[href^="tel:"], 
.contact-item a {
    color: var(--gold-primary) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

a[href^="mailto:"]:hover, 
a[href^="tel:"]:hover, 
.contact-item a:hover {
    color: var(--gold-light) !important;
    border-bottom-color: var(--gold-light);
}

/* ==========================================================================
   GLOBAL BACKGROUNDS & NAVIGATION
   ========================================================================== */
.koel-bg-grain {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(138, 109, 43, 0.25) 0%, var(--bg-dark) 70%);
    z-index: 0;
    pointer-events: none !important;
}
.koel-bg-grain::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
}

.koel-fixed-nav {
    position: fixed;
    top: 2.5rem;
    right: 3rem;
    z-index: 100;
}
.koel-fixed-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}
.koel-fixed-nav a {
    color: var(--gold-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* ==========================================================================
   GLOBAL SEAMLESS 3D VINYL
   ========================================================================== */
.koel-global-vinyl-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(85vh, 85vw); 
    height: min(85vh, 85vw);
    z-index: 2;
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1); 
    pointer-events: none !important;
}

body.is-inner-page .koel-global-vinyl-container {
    left: 72%; 
    width: 70vh; 
    height: 70vh;
    opacity: 0.9; 
    z-index: 0;
}

.vinyl-record {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #111;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 15px #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vinyl-grooves {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: repeating-radial-gradient(#151514 0px, #151514 2px, #0a0a09 3px, #0a0a09 4px);
}
.vinyl-sheen {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 45deg, transparent 0deg, rgba(255,255,255,0.06) 45deg, transparent 90deg, rgba(212,175,55,0.08) 135deg, transparent 180deg, rgba(255,255,255,0.06) 225deg, transparent 270deg, rgba(212,175,55,0.08) 315deg, transparent 360deg);
}

.vinyl-label {
    position: relative;
    width: 32%;
    height: 32%;
    border-radius: 50%;
    background: radial-gradient(circle, #222222, #070706);
    border: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.9);
}
.label-inner { text-align: center; color: var(--gold-primary); }
.label-brand { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: 0.1em; }
.label-subtitle { display: block; font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 0.5rem; letter-spacing: 0.2em; color: #888; }
.spindle-hole { width: 12px; height: 12px; background: #000; border-radius: 50%; margin: 4px auto 0; box-shadow: inset 0 2px 5px rgba(0,0,0,0.9); }

/* ==========================================================================
   HOMEPAGE HERO SCROLL EXPERIENCE
   ========================================================================== */
.koel-center-stage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none !important;
}

.ambient-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    z-index: 1;
    animation: pulseLight 8s infinite alternate ease-in-out;
    pointer-events: none !important;
}
.light-left {
    width: 45vw; height: 45vw; left: -15vw; top: 10vh;
    background: radial-gradient(circle, rgba(212,175,55,0.4) 0%, rgba(138,109,43,0) 70%);
}
.light-right {
    width: 40vw; height: 40vw; right: -10vw; bottom: 5vh;
    background: radial-gradient(circle, rgba(249,229,150,0.35) 0%, rgba(138,109,43,0) 70%);
    animation-delay: -4s;
}
@keyframes pulseLight {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    100% { transform: scale(1.1) translate(5vw, -5vh); opacity: 0.6; }
}

.typography-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    pointer-events: none;
}
.stage-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(3.5rem, 8vw, 8rem); 
    line-height: 1.1;
    margin: 0;
    width: 100%;
    max-width: 90vw; 
    overflow-wrap: break-word;
    text-transform: uppercase;
    background: linear-gradient(135deg, #F9E596 0%, #D4AF37 40%, #8A6D2B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.8));
}
.stage-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    letter-spacing: 0.35em;
    color: #fff;
    text-transform: uppercase;
    margin-top: 1.5rem;
    font-weight: 500; 
    max-width: 80vw;
}
.char {
    display: inline-block;
    transform-origin: center bottom;
    will-change: transform, opacity;
}
.stage-title .char {
    background: linear-gradient(135deg, #F9E596 0%, #D4AF37 40%, #8A6D2B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scroll-track { padding-top: 50vh; }
.scroll-section { height: 75vh; }

/* ==========================================================================
   INNER PAGES (Services, Artists, Releases, Contact)
   ========================================================================== */
.koel-inner-page {
    position: relative;
    z-index: 10;
    padding-bottom: 15vh;
    width: 60vw;
    padding-left: 10vw;
    box-sizing: border-box;
}

.inner-header {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    justify-content: center;
    text-align: left; 
}

.inner-header .stage-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(3.5rem, 8vw, 8rem);
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(135deg, #F9E596 0%, #D4AF37 40%, #8A6D2B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.8));
}

.inner-header .stage-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    font-weight: 500; 
    letter-spacing: 0.4em;
    color: #fff;
    text-transform: uppercase;
    margin-top: 1rem;
}

/* Premium Grid Interface */
.koel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin: 0;
    padding: 0;
}
.koel-grid h3 {
    font-family: 'Montserrat', sans-serif;
    background: rgba(20, 20, 18, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 4px;
    padding: 2rem;
    color: #F4F4F0;
    font-size: 0.85rem;
    font-weight: 500; 
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-align: left;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
    margin: 0;
    cursor: default;
}
.koel-grid h3:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold-light);
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.contact-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    padding-left: 10vw;
    width: 60vw;
    padding-bottom: 80px; 
    box-sizing: border-box;
}
.contact-page .inner-header {
    height: auto;
    width: auto;
    margin-bottom: 3rem;
}
.contact-page .contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500; 
    letter-spacing: 0.1em;
    padding-bottom: 0; 
}

/* ==========================================================================
   AUDIO PLAYER (Minimalist Footer Bar)
   ========================================================================== */
.audio-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    box-sizing: border-box;
    pointer-events: auto;
    z-index: 100;
}
.play-btn {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.play-btn:hover { background: var(--gold-primary); color: #000; }

/* Minimalist track rule replacing the EQ */
.minimal-track-line {
    flex-grow: 1;
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    margin: 0 3rem;
    position: relative;
}
.minimal-track-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 15%; /* Static or progress indicator accent */
    height: 3px;
    background: var(--gold-primary);
}

.timecode { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 600; 
    font-size: 0.75rem; 
    letter-spacing: 0.15em; 
    color: var(--gold-primary); 
}

/* ==========================================================================
   SEAMLESS SWUP PAGE TRANSITIONS
   ========================================================================== */
.transition-fade {
    transition: opacity 0.4s ease;
    opacity: 1;
}
html.is-animating .transition-fade {
    opacity: 0;
}
