:root {
    --midnight: #050316;
    --deep-purple: #2c1570;
    --deep-blue: #091537;
    --accent-gold: #f1c87b;
    --accent-soft: #f5e9d7;
    --text-light: #f8f7ff;
    --text-muted: #c8c6e6;
    --nav-bg: rgba(5, 3, 22, 0.82);
    --card-bg: rgba(15, 11, 40, 0.95);
    --border-subtle: rgba(241, 200, 123, 0.18);
    --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.45);
    --transition-fast: 0.2s ease-out;
    --transition-med: 0.35s ease-out;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --max-width: 1120px;
    /* New Social Icon Colors */
    --spotify-green: #1DB954;
    --youtube-red: #FF0000;
    --apple-blue: #007AFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
    /* This background provides the main site color/gradient */
    background: radial-gradient(circle at top, #140c3f 0, #050316 45%, #02000c 100%);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

/* ==========================
   HEADER & NAV (Existing styles preserved)
   ========================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: linear-gradient(
            to bottom,
            rgba(5, 3, 22, 0.95),
            rgba(5, 3, 22, 0.75),
            transparent
    );
    border-bottom: 1px solid rgba(88, 71, 160, 0.5);
}

.site-header.scrolled {
    background: var(--nav-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    position: relative;
}

/* Brand Link Styling (Updated for FA Icon) */
.brand-link {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    cursor: pointer;
}

.brand-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;

    /* FIX: Centering and sizing adjustment for FA icon */
    border-radius: 999px;
    background: rgba(241, 200, 123, 0.1);
    padding: 12px;
    width: 48px;
    height: 48px;
    display: flex; /* <-- CHANGED to 'flex' for robust centering */
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.brand-link:hover .brand-icon {
    transform: rotate(-4deg);
    color: var(--accent-soft);
}

.brand-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.brand-subtitle {
    display: none;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.nav-links a {
    position: relative;
    padding-bottom: 0.25rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), #ffffff);
    transition: width var(--transition-fast);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--accent-soft);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(241, 200, 123, 0.5);
    background: radial-gradient(circle at top, #3d2377, #120b2a);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 15px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent-soft);
    position: relative;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span::before {
    top: -5px;
}

.nav-toggle span::after {
    top: 5px;
}

.nav-toggle.open span {
    transform: rotate(45deg);
}

.nav-toggle.open span::before {
    transform: rotate(-90deg);
    top: 0;
}

.nav-toggle.open span::after {
    opacity: 0;
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        background: transparent;
        border-bottom: none;
        transition:
                max-height 0.25s ease-out,
                opacity 0.25s ease-out,
                padding 0.25s ease-out,
                background 0.25s ease-out;
    }

    .nav-links.open {
        padding: 1rem 1.5rem 1.5rem;
        max-height: 260px;
        opacity: 1;
        pointer-events: auto;
        background: radial-gradient(circle at top, #2a195f 0, #050316 40%, #050316 100%);
        border-bottom: 1px solid rgba(88, 71, 160, 0.6);
    }

    .nav-toggle {
        display: flex;
    }
}

/* ==========================
   SECTIONS / HERO
   ========================== */

.section {
    padding: 6rem 0 4.5rem;
}

/* --- HERO SECTION STYLES --- */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 5.5rem; /* space for fixed header */
    /* ADJUSTED: Increased padding-bottom to accommodate the tracks at the bottom */
    padding-bottom: 8.5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--text-light);
    background: #050316;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
}

/* Lighthouse Beam Effect (Existing styles preserved) */
.lighthouse-beam-effect {
    position: absolute;
    top: 0;
    right: 0;
    width: 70vw;
    height: 70vh;
    pointer-events: none;
    z-index: 3;
    background:
            radial-gradient(
                    circle
                    at 85% 15%,
                    rgba(255, 255, 255, 0.1) 0%,
                    rgba(241, 200, 123, 0.25) 5%,
                    transparent 40%
            );
    mix-blend-mode: screen;
    transform: rotate(-5deg);
    opacity: 0.85;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
            radial-gradient(circle at 10% -10%, rgba(122, 81, 161, 0.4), transparent 55%),
            radial-gradient(circle at 90% -40%, rgba(12, 173, 210, 0.35), transparent 55%),
            radial-gradient(circle at 50% 120%, rgba(241, 200, 123, 0.32), transparent 65%);
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at center, rgba(5, 3, 22, 0.55), transparent 62%),
                /* Increased bottom opacity to blend tracks better */
            linear-gradient(to top, rgba(5, 3, 22, 0.95) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

.hero-inner {
    position: relative;
    z-index: 4;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.hero-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: clamp(2.6rem, 3.6vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title span {
    display: block;
    background: linear-gradient(90deg, #ffffff, #f1c87b, #d1c9ff);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    margin-top: 0.9rem;
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
}

.hero-meta {
    display: none;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    /* Added margin-bottom to separate CTAs from the new track previews */
    margin-bottom: 2rem;
}

.hero-copy {
    position: relative;
    padding: 2.2rem;
    border-radius: 24px;
    max-width: none;
    /* Changed background to be more transparent/less heavy since the tracks are below it */
    background: radial-gradient(circle at top, rgba(5, 3, 22, 0.8), rgba(5, 3, 22, 0.7));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(241, 200, 123, 0.34);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7);
}

/* --- INTEGRATED TRACK PREVIEW STYLES --- */
.track-previews-container {
    margin-top: 1.5rem; /* Gap below CTA buttons */
    /* Align with the inner content of .hero-copy */
}

.track-previews-header {
    text-align: left;
    margin-bottom: 0.7rem;
}

.track-previews-kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: var(--accent-gold);
    font-weight: 700;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(241, 200, 123, 0.4);
}

.track-previews-grid {
    display: grid;
    /* On desktop, show 2 columns for a compact vertical stacking within the hero-copy */
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.track-previews-container .song-card {
    padding: 0.8rem 1rem;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* Reduced background transparency to make them stand out slightly more on the hero copy */
    background: rgba(15, 11, 40, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);

    border-radius: var(--radius-lg); /* Use the slightly rounded look */
    border: 1px solid var(--border-subtle);
}

.track-previews-container .song-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-gold);
}

.track-previews-container .song-info {
    flex-grow: 1;
    padding-right: 0.5rem;
    line-height: 1.1;
    order: 1;
}

.track-previews-container .song-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    white-space: normal; /* ADDED: Allow wrapping */
    overflow: visible; /* ADDED: Allow content */
    text-overflow: clip; /* ADDED: Prevent ellipsis */
}

.track-previews-container .song-meta-row {
    margin-top: 0.1rem;
    gap: 0.5rem;
    font-size: 0.65rem;
}

.track-previews-container .song-pill {
    padding: 0;
    border: none;
    background: transparent;
    color: var(--accent-gold);
    font-weight: 700;
}

.track-previews-container .song-duration {
    color: var(--text-muted);
    opacity: 1;
}

.track-previews-container .song-visuals {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.track-previews-container .song-thumb {
    width: 30px; /* Reduced thumb size for pill style */
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(241, 200, 123, 0.55);
}

.track-previews-container .song-play {
    width: 26px; /* Reduced play button size for pill style */
    height: 26px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.track-previews-container .song-play-icon {
    border-width: 4px 0 4px 7px;
    margin-left: 1px;
}
/* END INTEGRATED TRACK PREVIEW STYLES */


/* --- ORIGINAL TRACK PREVIEW STYLES (now defunct, keeping for reference to old class) --- */
/* The original .track-previews class that was removed from index.html */
/*
.track-previews {
    position: relative;
    z-index: 10;
    margin-top: -3rem;
    padding-bottom: 1.5rem;
}

.track-previews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}
*/
/* ------------------------------------------------------------------------------------ */

.hero-title,
.hero-subtitle,
.hero-meta,
.hero-note {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
            transform var(--transition-fast),
            box-shadow var(--transition-fast),
            background var(--transition-fast),
            border-color var(--transition-fast),
            color var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: radial-gradient(circle at 0 0, #f1c87b, #d4a857);
    color: #180b24;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

.btn-ghost {
    background: rgba(15, 11, 40, 0.8);
    border-color: rgba(241, 200, 123, 0.45);
    color: var(--accent-soft);
}

.btn-ghost:hover {
    background: rgba(27, 21, 66, 0.95);
    transform: translateY(-1px);
}

.hero-note {
    display: none;
}

.hero-portrait-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    /* REMOVED: solid background color here, relying on transparency */
    background: radial-gradient(circle at top, rgba(241, 200, 123, 0.35), transparent 70%);
    box-shadow: var(--shadow-soft);
    max-width: 420px;
    margin-left: auto;
}

.hero-portrait-inner {
    position: relative;
    border-radius: calc(var(--radius-xl) - 4px);
    overflow: hidden;
    /* REMOVED: solid background color here */
    background: transparent;
    border: 1px solid rgba(241, 200, 123, 0.45);
}

.hero-portrait-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.02);
    transform: scale(1.02);
}

.hero-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(5, 3, 22, 0.85);
    border: 1px solid rgba(241, 200, 123, 0.7);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #4ef39c;
    box-shadow: 0 0 8px rgba(78, 243, 156, 0.8);
}

.hero-quote {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-left: 2px solid rgba(241, 200, 123, 0.6);
    padding-left: 0.75rem;
}

.hero-quote em {
    font-style: italic;
    color: var(--accent-soft);
}

.hero-quote span {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(241, 200, 123, 0.8);
}

/* ==========================
   GENERIC SECTION UTILITIES (Existing styles preserved)
   ========================== */

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.26em;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0.5rem auto 0;
}

.section-alt {
    background: radial-gradient(circle at top, #140b38 0, #050316 55%, #02000c 100%);
}

/* ==========================
   ABOUT (Video Background - Existing styles preserved)
   ========================== */

.about-section-with-video {
    position: relative;
    overflow: hidden;
    /* Remove default section background, rely on video */
    background: var(--midnight);
}

.about-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0; /* Background layer */
    overflow: hidden;
}

.about-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%) brightness(0.85); /* Made brightness lower for better contrast */
}

.about-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 3, 22, 0.45);
    pointer-events: none;
    z-index: 1;
}

.about-section-shell {
    max-width: 1400px;
    margin: 2.5rem auto 0;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2; /* Ensure content stays above the video overlay */
}

.about-tagline {
    color: var(--accent-soft);
    font-weight: 600;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.1rem 0 0.5rem;
}

.about-stat {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(241, 200, 123, 0.35);
    background: rgba(15, 11, 40, 0.9);
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
            transform var(--transition-fast);
}

.about-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(241, 200, 123, 0.9);
}

.about-stat.active {
    background: radial-gradient(circle at 0 0, #f1c87b, #d4a857);
    color: #1a0e24;
    border-color: rgba(241, 200, 123, 0.9);
    transform: translateY(-1px);
}

.about-highlight {
    margin-top: 0.4rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}


.about-hero {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(241, 200, 123, 0.55);
    background: transparent;
    min-height: 360px;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.03);
    transform: scale(1.04);
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(to top, rgba(5, 3, 22, 0.95) 0%, rgba(5, 3, 22, 0.6) 35%, transparent 80%);
    pointer-events: none;
}

.about-hero-content {
    position: absolute;
    left: 2.2rem;
    right: 2.2rem;
    bottom: 2.1rem;
    max-width: 520px;
    padding: 1.8rem 1.9rem;
    border-radius: 24px;
    background: rgba(5, 3, 22, 0.88);
    border: 1px solid rgba(241, 200, 123, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.about-hero-title {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.about-hero-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.about-hero-moods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
    margin-bottom: 0.4rem;
}

/* ==========================
   MUSIC SECTION – INTERACTIVE PLAYER (Existing styles preserved/modified)
   ========================== */

.music-grid {
    display: grid;
    /* On large screens (desktop), force 4 columns for a compact, organized feel */
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1120px; /* Use max-width for better centering on massive screens */
    margin: 0 auto;
}

.song-card {
    position: relative;
    /* Reset desktop-only full catalog padding */
    padding: 1.1rem;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    transition:
            transform var(--transition-med),
            box-shadow var(--transition-med),
            border-color var(--transition-med),
            background var(--transition-med);

    /* Ensure content flows horizontally */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    min-width: 0;
}

.song-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75);
    border-color: rgba(241, 200, 123, 0.65);
    background: radial-gradient(circle at top, rgba(241, 200, 123, 0.04), rgba(5, 3, 22, 0.98));
}

.song-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left, rgba(241, 200, 123, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-med);
    pointer-events: none;
    z-index: 1;
}

.song-card:hover::before {
    opacity: 1;
}

/* Song Info on the left */
.song-info {
    flex-grow: 1;
    z-index: 2;
    min-width: 0;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.song-title {
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    line-height: 1.1;
    white-space: normal;
}

.song-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.74rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.song-pill {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(241, 200, 123, 0.65);
    color: var(--accent-soft);
    white-space: nowrap;
    flex-shrink: 0;
}

.song-duration {
    white-space: nowrap;
    opacity: 0.85;
}

/* Song Visuals on the right */
.song-visuals {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
    z-index: 2;
}

.song-thumb {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(241, 200, 123, 0.55);
    background: radial-gradient(circle at top, #3a1f76, #050316 70%);
}

.song-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform var(--transition-med), filter var(--transition-med), opacity var(--transition-med);
}

/* Play/Pause Button */
.song-play {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(241, 200, 123, 0.6);
    background: radial-gradient(circle at 0 0, #f1c87b, #d4a857);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.65);
    transition: transform var(--transition-fast), background var(--transition-fast);
}

/* Play/Pause Icon styles remain the same */
.song-play-icon {
    position: relative;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent #1b0e24;
    margin-left: 1px;
}

.song-card.playing .song-play-icon {
    width: 10px;
    height: 10px;
    border: none;
}

.song-card.playing .song-play-icon::before,
.song-card.playing .song-play-icon::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 2px;
    background: #1b0e24;
}

.song-card.playing .song-play-icon::before {
    left: 1px;
}

.song-card.playing .song-play-icon::after {
    right: 1px;
}

.song-card.playing .song-play {
    background: radial-gradient(circle at 0 0, #ffffff, #f1c87b);
    transform: translateY(-1px);
}

/* Equalizer styles remain the same */
.song-eq {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1px;
    padding: 6px;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

.song-eq .eq-bar {
    width: 2px;
    border-radius: 999px;
    background: #f1c87b;
    transform-origin: bottom;
    height: 8px;
    animation: none;
}
/* Keyframes remain the same */
@keyframes eqBounce {
    0% { transform: scaleY(0.6); }
    50% { transform: scaleY(1.6); }
    100% { transform: scaleY(0.7); }
}

.song-card.playing .song-thumb img {
    filter: saturate(1.18) contrast(1.06);
    opacity: 0.16;
}

.song-card.playing .song-eq {
    opacity: 1;
}

.song-card.playing .song-eq .eq-bar:nth-child(1) {
    animation: eqBounce 0.45s infinite ease-in-out;
}
.song-card.playing .song-eq .eq-bar:nth-child(2) {
    animation: eqBounce 0.56s infinite ease-in-out;
}
.song-card.playing .song-eq .eq-bar:nth-child(3) {
    animation: eqBounce 0.42s infinite ease-in-out;
}
.song-card.playing .song-eq .eq-bar:nth-child(4) {
    animation: eqBounce 0.6s infinite ease-in-out;
}

/* Removed unneeded song-main styling */
.song-main {
    min-width: 0;
}


.song-note {
    margin-top: 1.75rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.song-note span {
    color: var(--accent-soft);
}

/* ==========================
   GALLERY (Existing styles preserved)
   ========================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(241, 200, 123, 0.35);
    background: radial-gradient(circle at top, #3a1f76, #050316 70%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
    transition:
            transform var(--transition-fast),
            box-shadow var(--transition-fast),
            border-color var(--transition-fast);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform var(--transition-med), filter var(--transition-med);
    filter: saturate(1.02);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
    opacity: 0;
    transition: opacity var(--transition-med);
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8);
    border-color: rgba(241, 200, 123, 0.7);
}

.gallery-item:hover img {
    transform: scale(1.12);
    filter: saturate(1.12) contrast(1.05);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox (Existing styles preserved) */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(2, 0, 12, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
    z-index: 60;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
}

.lightbox-inner img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: rgba(5, 3, 22, 0.85);
    border-radius: 999px;
    border: 1px solid rgba(241, 200, 123, 0.7);
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
}

/* ==========================
   STORY / LIGHTHOUSE SECTION (Existing styles preserved)
   ========================== */

.story-section {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 2px;
    background: radial-gradient(circle at top, rgba(241, 200, 123, 0.45), transparent 70%);
    box-shadow: var(--shadow-soft);
    margin-top: 1rem;
}

.story-inner {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: radial-gradient(circle at top, #160e3d 0, #050316 55%, #02000c 100%);
    border: 1px solid rgba(241, 200, 123, 0.6);
    padding: 2.2rem 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem;
    align-items: center;
}

.story-text h3 {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 1.4rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.story-text p {
    font-size: 0.94rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.story-visual {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(241, 200, 123, 0.65);
    background: radial-gradient(circle at 0 0, #3a1f76, #050316 65%);
    aspect-ratio: 16 / 9;
}

.story-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0, rgba(241, 200, 123, 0.3), transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
}

/* ==========================
   VIDEO (Existing styles preserved)
   ========================== */

.video-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.video-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(241, 200, 123, 0.55);
    background: #000;
    margin-bottom: 1rem;
    padding-top: 56.25%; /* 16:9 */
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-caption {
    font-size: 0.92rem;
    color: var(--text-muted);
    text-align: center;
}

/* ==========================
   CONTACT (Existing styles preserved)
   ========================== */

.contact-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 2rem 1.7rem;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at top, rgba(241, 200, 123, 0.16), transparent 70%),
    rgba(5, 3, 22, 0.9);
    border: 1px solid rgba(241, 200, 123, 0.55);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-email {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 0.85rem;
    word-break: break-all;
    overflow-wrap: anywhere;
}

/* ==========================
   FOOTER (ENHANCED - Existing styles preserved)
   ========================== */

footer {
    border-top: 1px solid rgba(88, 71, 160, 0.6);
    padding: 3rem 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.footer-col h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-soft);
    margin-bottom: 1.2rem;
}

.footer-nav-links a {
    display: block;
    padding: 0.35rem 0;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-nav-links a:hover {
    color: var(--accent-gold);
}

.social-media-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

/* Styling for Font Awesome Social Icons */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(241, 200, 123, 0.3);
    background: rgba(15, 11, 40, 0.9);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-icon {
    font-size: 1.15rem;
    transition: color 0.3s ease;
}

/* Hover/Color Swap Logic using FA icon classes */
.spotify-icon-fa { color: var(--text-muted); }
.spotify-link:hover .social-icon { color: var(--spotify-green); }
.spotify-link:hover { transform: translateY(-3px); border-color: var(--spotify-green); }

.youtube-icon-fa { color: var(--text-muted); }
.youtube-link:hover .social-icon { color: var(--youtube-red); }
.youtube-link:hover { transform: translateY(-3px); border-color: var(--youtube-red); }

.apple-icon-fa { color: var(--text-muted); }
.apple-link:hover .social-icon { color: var(--apple-blue); }
.apple-link:hover { transform: translateY(-3px); border-color: var(--apple-blue); }

/* ... rest of footer styles ... */

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    border-top: 1px solid rgba(88, 71, 160, 0.4);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.footer-copyright .footer-oopstack {
    opacity: 0.9;
}

.footer-copyright .footer-oopstack a {
    color: var(--accent-gold);
}

.bg-audio-toggle {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 70;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(241, 200, 123, 0.55);
    background: rgba(5, 3, 22, 0.88);
    color: var(--accent-soft);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.bg-audio-toggle.playing {
    background: radial-gradient(circle at 0 0, #f1c87b, #d4a857);
    color: #180b24;
}

.bg-audio-toggle:disabled {
    opacity: 0.5;
    cursor: default;
}

/* ==========================
   REVEAL ANIMATIONS / RESPONSIVE
   ========================== */

@media (max-width: 1200px) and (min-width: 961px) {
    /* Adjust grid for slightly smaller desktops */
    .music-grid {
        grid-template-columns: repeat(4, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 960px) {
    /* Tablet Portrait */
    .music-grid {
        /* Switch to 2 columns on tablets */
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }

    .hero-copy {
        margin: 0 auto;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-portrait-card {
        margin: 2.2rem auto 0;
    }

    .story-inner {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.8rem 1.4rem 1.6rem;
    }

    /* Mobile/Tablet Track Preview Adjustments for new position */
    .hero-copy {
        padding-bottom: 1.5rem; /* Reduced padding for mobile to allow tracks to fill space */
    }

    .track-previews-container {
        margin-top: 1.5rem;
    }

    .track-previews-grid {
        /* On tablet, show 2 columns */
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .track-previews-container .song-card {
        /* Keep pill-style for tablet */
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col {
        text-align: center;
    }
    .social-media-links {
        justify-content: center;
        margin-top: 0.5rem;
    }

    /* Full Music Section overrides (needed to be explicit for the Music section) */
    .music-grid .song-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .music-grid .song-visuals {
        order: -1;
        width: 100%;
        justify-content: flex-start;
    }

    .music-grid .song-info {
        width: 100%;
    }

    /* Track Preview Adjustments within the Hero Copy */
    .track-previews-container .song-card {
        /* Keep horizontal layout for pills even on smaller screens */
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.7rem 0.9rem;
    }

    .track-previews-container .song-visuals {
        order: 2;
        width: auto;
        justify-content: flex-end;
    }

    .track-previews-container .song-info {
        order: 1;
        width: auto;
        flex-grow: 1;
        padding-right: 0.5rem;
    }

    .track-previews-container .song-title {
        font-size: 0.85rem;
    }

    .track-previews-container .song-thumb {
        width: 28px;
        height: 28px;
    }

    .track-previews-container .song-play {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4.5rem 0 3.5rem;
    }

    .hero {
        padding-top: 5rem;
        padding-bottom: 4rem;
        min-height: 100vh;
    }

    .track-previews-grid {
        grid-template-columns: 1fr; /* Stack pills vertically on smallest screens */
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-quote {
        font-size: 0.82rem;
    }

    .brand-title {
        font-size: 1.2rem;
        letter-spacing: 0.06em;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
        padding: 6px;
        font-size: 1.2rem;
    }

    .contact-card {
        padding: 1.6rem 1.2rem;
    }

    .contact-email {
        font-size: 0.82rem;
        letter-spacing: 0.12em;
    }

    /* stack ABOUT content cleanly on mobile */
    .about-hero {
        min-height: 0;
    }

    .about-hero-image {
        /* FIX: Ensure the image occupies a decent size on mobile */
        max-height: 300px;
        width: auto;
        margin: 0 auto;
    }

    .about-hero-overlay {
        background: linear-gradient(to bottom, rgba(5, 3, 22, 0.2) 0%, rgba(5, 3, 22, 0.9) 95%);
    }

    .about-hero-content {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 1.5rem 1.3rem 1.4rem;
        padding: 1.2rem; /* Reduced padding for mobile content box */
    }

    .about-hero-title {
        font-size: 1.1rem;
    }

    .about-hero {
        border-radius: 24px;
    }
    .footer-col.footer-branding {
        text-align: center;
        /* Center the flex item (brand-link) itself */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}