/* ==========================================================================
   Design System & Variable Declarations
   ========================================================================== */
:root {
    --bg: #000000;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-dim: rgba(255, 255, 255, 0.3);
    
    /* Inverted film color tokens */
    --accent-cyan: #00e5ff;
    --accent-amber: #ff9f43;
    
    /* Typography */
    --font-display: 'Helvetica Neue', Arial, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-hover: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html, body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-display);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ambient glow backgrounds (Ultra-premium aesthetics) */
body::before, body::after {
    content: "";
    position: fixed;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

body::before {
    top: -100px;
    left: -100px;
    background: var(--accent-cyan);
    animation: drift-slow 20s infinite alternate ease-in-out;
}

body::after {
    bottom: -150px;
    right: -100px;
    background: var(--accent-amber);
    animation: drift-slow 25s infinite alternate-reverse ease-in-out;
}

@keyframes drift-slow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

/* ==========================================================================
   Container Layout
   ========================================================================== */
.container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 24px 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

/* ==========================================================================
   Hero Header
   ========================================================================== */
.hero {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.artist-name {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    padding-left: 0.25em; /* Offset letter-spacing to center text perfectly */
    margin-bottom: 12px;
    line-height: 1.1;
}

.artist-name .divider {
    color: var(--accent-cyan);
    font-weight: 300;
    margin: 0 4px;
    animation: pulse-color 4s infinite alternate;
}

@keyframes pulse-color {
    0% { color: var(--accent-cyan); }
    100% { color: var(--accent-amber); }
}

.track-title {
    font-size: 1.15rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    padding-left: 0.4em; /* Offset letter-spacing to center text perfectly */
    color: var(--text-muted);
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding-top: 16px;
    width: 60%;
}

/* ==========================================================================
   Artwork Block
   ========================================================================== */
.artwork-section {
    width: 100%;
    max-width: 420px;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.artwork-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8),
                0 0 40px rgba(0, 229, 255, 0.03),
                0 0 60px rgba(255, 159, 67, 0.02);
    transition: var(--transition-smooth);
}

.artwork-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-amber)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0.15;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.track-artwork {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Artwork Hover Effects */
.artwork-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9),
                0 0 50px rgba(0, 229, 255, 0.08),
                0 0 80px rgba(255, 159, 67, 0.05);
}

.artwork-frame:hover .track-artwork {
    transform: scale(1.04);
}

.artwork-frame:hover::before {
    opacity: 0.4;
}

/* ==========================================================================
   Streaming Funnel
   ========================================================================== */
.funnel-section {
    width: 100%;
    max-width: 480px;
}

.streaming-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stream-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    transition: var(--transition-hover);
    position: relative;
    overflow: hidden;
}

/* Row-specific borders and accent highlights on hover */
.stream-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0;
    transition: var(--transition-hover);
}

/* Spotify hover accents (Cyan) */
.stream-link.spotify::after {
    background-color: var(--accent-cyan);
}
.stream-link.spotify:hover {
    color: var(--accent-cyan);
    border-color: rgba(0, 229, 255, 0.3);
    background-color: rgba(0, 229, 255, 0.02);
}

/* Apple Music hover accents (Amber) */
.stream-link.apple::after {
    background-color: var(--accent-amber);
}
.stream-link.apple:hover {
    color: var(--accent-amber);
    border-color: rgba(255, 159, 67, 0.3);
    background-color: rgba(255, 159, 67, 0.02);
}

/* YouTube hover accents (Cyan again for balance) */
.stream-link.youtube::after {
    background-color: var(--accent-cyan);
}
.stream-link.youtube:hover {
    color: var(--accent-cyan);
    border-color: rgba(0, 229, 255, 0.3);
    background-color: rgba(0, 229, 255, 0.02);
}

.stream-link:hover::after {
    width: 100%;
}

/* Action button inside links */
.action-btn {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-hover);
}

.arrow {
    transition: var(--transition-hover);
    display: inline-block;
}

.stream-link:hover .action-btn {
    opacity: 1;
}

.stream-link:hover .arrow {
    transform: translateX(6px);
}

/* ==========================================================================
   Footer Metadata
   ========================================================================== */
.footer {
    width: 100%;
    padding: 60px 24px 40px 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-info {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.booking-contact {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.booking-contact a {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 2px;
    transition: var(--transition-hover);
}

.booking-contact a:hover {
    color: var(--accent-amber);
    border-color: var(--accent-amber);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 600px) {
    .container {
        padding: 50px 18px 30px 18px;
    }
    
    .artist-name {
        font-size: 1.85rem;
        letter-spacing: 0.18em;
        padding-left: 0.18em; /* Offset letter-spacing on mobile */
    }
    
    .track-title {
        font-size: 0.95rem;
        letter-spacing: 0.3em;
        padding-left: 0.3em; /* Offset letter-spacing on mobile */
        width: 80%;
    }
    
    .artwork-section {
        margin-bottom: 40px;
    }
    
    .stream-link {
        padding: 18px 22px;
        font-size: 0.75rem;
    }
    
    .footer {
        padding: 40px 18px 30px 18px;
    }
}
