/* =========================================================
   PHANTOM HEARTBEATS - THE SITE

   Apple Music-inspired design
========================================================= */


/* =========================================================
   FONT
========================================================= */

@font-face {

    font-family: "Metropolitan";

    src:
        url("fonts/Metropolitan.ttf")
        format("truetype");

    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {

    scroll-behavior: smooth;
}


body {

    position: relative;

    /*
     * Updated dynamically by player.js
     * from the currently playing artwork.
     */

    --cover-color-1: 255, 181, 60;
    --cover-color-2: 255, 145, 0;
    --cover-color-3: 255, 210, 90;

    background: #fafaf8;

    color: #000000;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        Helvetica,
        Arial,
        sans-serif;

    padding-bottom: 140px;

    overflow-x: hidden;
}


button,
a,
input {

    font: inherit;
}


/* =========================================================
   DYNAMIC ARTWORK BACKGROUND
========================================================= */

body::before {

    content: "";

    position: fixed;

    inset: -30%;

    z-index: -3;

    pointer-events: none;

    /*
     * These colors come directly from the
     * artwork of the song currently playing.
     *
     * Higher opacity = stronger artwork presence.
     */

    background:

        radial-gradient(
            circle at 10% 15%,
            rgba(
                var(--cover-color-1),
                0.70
            ),
            transparent 32%
        ),

        radial-gradient(
            circle at 88% 18%,
            rgba(
                var(--cover-color-2),
                0.60
            ),
            transparent 34%
        ),

        radial-gradient(
            circle at 48% 52%,
            rgba(
                var(--cover-color-3),
                0.45
            ),
            transparent 40%
        ),

        radial-gradient(
            circle at 82% 84%,
            rgba(
                var(--cover-color-1),
                0.50
            ),
            transparent 36%
        ),

        radial-gradient(
            circle at 20% 88%,
            rgba(
                var(--cover-color-2),
                0.40
            ),
            transparent 36%
        );

    filter:
        blur(65px)
        saturate(1.5);

    transform:
        translate3d(
            0,
            0,
            0
        )
        scale(1.06);

    animation:
        backgroundDrift
        20s
        ease-in-out
        infinite
        alternate;

    will-change:
        transform;

    /*
     * Smoothly transition the atmosphere
     * when player.js changes the colors.
     */

    transition:
        background 3.5s ease,
        filter 3.5s ease;
}


/*
 * Soft readable veil over the artwork colors.
 *
 * Lower opacity here = stronger background colors.
 */

body::after {

    content: "";

    position: fixed;

    inset: 0;

    z-index: -2;

    pointer-events: none;

    background:

        linear-gradient(
            180deg,
            rgba(
                250,
                250,
                248,
                0.38
            ) 0%,

            rgba(
                250,
                250,
                248,
                0.52
            ) 45%,

            rgba(
                250,
                250,
                248,
                0.68
            ) 100%
        );

    backdrop-filter:
        blur(10px)
        saturate(1.15);

    -webkit-backdrop-filter:
        blur(10px)
        saturate(1.15);
}


@keyframes backgroundDrift {

    0% {

        transform:
            translate3d(
                -3%,
                -2%,
                0
            )
            scale(1.03);
    }

    25% {

        transform:
            translate3d(
                2%,
                -4%,
                0
            )
            scale(1.08);
    }

    50% {

        transform:
            translate3d(
                4%,
                2%,
                0
            )
            scale(1.12);
    }

    75% {

        transform:
            translate3d(
                -2%,
                4%,
                0
            )
            scale(1.08);
    }

    100% {

        transform:
            translate3d(
                -4%,
                1%,
                0
            )
            scale(1.03);
    }
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background:
        rgba(
            250,
            250,
            248,
            0.68
        );

    backdrop-filter:
        blur(24px)
        saturate(1.15);

    -webkit-backdrop-filter:
        blur(24px)
        saturate(1.15);

    border-bottom:
        1px solid
        rgba(
            0,
            0,
            0,
            0.08
        );
}


.header-inner {

    width:
        min(
            1400px,
            calc(100% - 48px)
        );

    margin: 0 auto;

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.logo {

    font-size: 13px;

    font-weight: 700;

    letter-spacing: -0.02em;

    color: #000000;

    text-decoration: none;
}


.main-nav {

    display: flex;

    gap: 28px;
}


.nav-button {

    border: none;

    background: none;

    cursor: pointer;

    color: #888888;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.nav-button:hover,
.nav-button.active {

    color: #000000;
}


/* =========================================================
   MAIN
========================================================= */

main {

    position: relative;

    z-index: 1;

    width:
        min(
            1400px,
            calc(100% - 48px)
        );

    margin: 0 auto;
}


.page {

    display: block;
}


.page.hidden,
.hidden {

    display: none;
}


/* =========================================================
   GENERAL
========================================================= */

.eyebrow {

    color: #777777;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.section-header {

    padding-bottom: 18px;

    border-bottom:
        1px solid
        rgba(
            0,
            0,
            0,
            0.12
        );
}


/* =========================================================
   HERO
========================================================= */

.hero {

    padding:
        120px
        0
        100px;
}


.hero h1 {

    margin-top: 0;

    font-family:
        "Metropolitan",
        sans-serif;

    font-size:
        clamp(
            70px,
            11vw,
            160px
        );

    line-height: 0.88;

    letter-spacing: -0.075em;

    font-weight: normal;
}


.hero .eyebrow {

    margin-top: 80px;
}


/* =========================================================
   LATEST RELEASE
========================================================= */

.latest-release {

    padding-bottom: 120px;
}


.latest-release .section-header {

    margin-bottom: 40px;
}


.featured-release {

    display: grid;

    grid-template-columns:
        minmax(
            300px,
            520px
        )
        1fr;

    gap: 70px;

    align-items: end;
}


.release-artwork {

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    cursor: pointer;

    background: #eeeeec;
}


.release-artwork img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.4s ease;
}


.release-artwork:hover img {

    transform:
        scale(1.015);
}


.release-info {

    padding-bottom: 8px;
}


.release-info h2 {

    margin-top: 14px;

    font-size:
        clamp(
            42px,
            5vw,
            76px
        );

    line-height: 0.95;

    letter-spacing: -0.055em;

    font-weight: 700;
}


.release-description {

    margin-top: 18px;

    color: #777777;

    font-size: 14px;
}


.release-meta {

    margin-top: 8px;

    color: #888888;

    font-size: 12px;
}


.play-album-button {

    margin-top: 32px;

    border: none;

    background: #000000;

    color: #ffffff;

    padding:
        14px
        22px;

    border-radius: 999px;

    cursor: pointer;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.08em;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.play-album-button:hover {

    opacity: 0.75;

    transform:
        translateY(-1px);
}


/* =========================================================
   CATALOG SECTIONS
========================================================= */

.catalog-section {

    padding-bottom: 120px;
}


.catalog-section .section-header {

    margin-bottom: 30px;
}


/* =========================================================
   RELEASE GRID
========================================================= */

.release-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 24px;
}


.release-card {

    cursor: pointer;

    min-width: 0;
}


.release-card-artwork {

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #eeeeec;
}


.release-card-artwork img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}


.release-card:hover
.release-card-artwork img {

    transform:
        scale(1.025);
}


.release-card-info {

    padding-top: 14px;
}


.release-card-info h3 {

    font-size: 16px;

    font-weight: 600;

    letter-spacing: -0.02em;
}


.release-card-info p {

    margin-top: 5px;

    color: #888888;

    font-size: 12px;
}


/* =========================================================
   EMPTY CATEGORIES
========================================================= */

.empty-category {

    min-height: 100px;

    display: flex;

    align-items: center;

    color: #999999;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.12em;
}


/* =========================================================
   TRACKLIST
========================================================= */

.track-section {

    padding-bottom: 140px;

    overflow: hidden;
}


.track-section:not(.hidden) {

    animation:
        tracklistReveal
        0.5s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        )
        both;
}


@keyframes tracklistReveal {

    from {

        opacity: 0;

        transform:
            translateY(-18px);

        filter:
            blur(5px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);

        filter:
            blur(0);
    }
}


.track-section.closing {

    animation:
        tracklistClose
        0.45s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        )
        both;
}


@keyframes tracklistClose {

    from {

        opacity: 1;

        transform:
            translateY(0);

        filter:
            blur(0);
    }

    to {

        opacity: 0;

        transform:
            translateY(-12px);

        filter:
            blur(4px);
    }
}


.tracklist {

    width: 100%;
}


/* =========================================================
   TRACK
========================================================= */

.track {

    position: relative;

    display: grid;

    grid-template-columns:
        50px
        1fr
        auto;

    align-items: center;

    min-height: 72px;

    border-bottom:
        1px solid
        rgba(
            0,
            0,
            0,
            0.08
        );

    cursor: pointer;

    opacity: 0;

    transform:
        translateY(-8px);

    animation:
        trackReveal
        0.4s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        )
        forwards;

    transition:
        background 0.2s ease,
        padding 0.2s ease,
        transform 0.2s ease;
}


.track:hover {

    background:
        rgba(
            0,
            0,
            0,
            0.025
        );
}


.track:nth-child(1) {
    animation-delay: 0.05s;
}

.track:nth-child(2) {
    animation-delay: 0.09s;
}

.track:nth-child(3) {
    animation-delay: 0.13s;
}

.track:nth-child(4) {
    animation-delay: 0.17s;
}

.track:nth-child(5) {
    animation-delay: 0.21s;
}

.track:nth-child(6) {
    animation-delay: 0.25s;
}

.track:nth-child(7) {
    animation-delay: 0.29s;
}

.track:nth-child(8) {
    animation-delay: 0.33s;
}

.track:nth-child(9) {
    animation-delay: 0.37s;
}

.track:nth-child(10) {
    animation-delay: 0.41s;
}

.track:nth-child(11) {
    animation-delay: 0.45s;
}

.track:nth-child(12) {
    animation-delay: 0.49s;
}

.track:nth-child(13) {
    animation-delay: 0.53s;
}

.track:nth-child(14) {
    animation-delay: 0.57s;
}

.track:nth-child(15) {
    animation-delay: 0.61s;
}


@keyframes trackReveal {

    from {

        opacity: 0;

        transform:
            translateY(-8px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


.track-number {

    color: #999999;

    font-size: 12px;
}


.track-name {

    font-size: 16px;

    font-weight: 500;

    letter-spacing: -0.02em;
}

.track-artist {
    margin-top: 4px;
    color: #888888;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.track-duration {

    color: #999999;

    font-size: 12px;
}


/* =========================================================
   ACTIVE TRACK
========================================================= */

.track.active {

    background:
        rgba(
            0,
            0,
            0,
            0.035
        );

    border-radius: 8px;
}


.track.active .track-number,
.track.active .track-name {

    color: #000000;
}


.track.active .track-number::before {

    content: "▶";

    margin-right: 0.45rem;

    font-size: 0.55rem;
}


/* =========================================================
   SOCIALS
========================================================= */

.socials-section {

    padding:
        120px
        0
        160px;
}


.socials-section h2 {

    margin-top: 20px;

    font-size:
        clamp(
            50px,
            8vw,
            120px
        );

    line-height: 0.9;

    letter-spacing: -0.065em;

    font-weight: 700;
}


.social-links {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 50px;
}


.social-links a {

    color: #000000;

    text-decoration: none;

    border:
        1px solid
        rgba(
            0,
            0,
            0,
            0.12
        );

    padding:
        14px
        20px;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.social-links a:hover {

    background: #000000;

    color: #ffffff;
}


/* =========================================================
   MUSIC PLAYER
========================================================= */

.music-player {

    /*
     * These variables are updated dynamically
     * by player.js from the current artwork.
     */

    --cover-color-1: 255, 255, 255;
    --cover-color-2: 255, 255, 255;

    position: fixed;

    left: 50%;

    bottom: 1.5rem;

    transform:
        translateX(-50%);

    width:
        min(
            1100px,
            calc(100% - 3rem)
        );

    min-height: 82px;

    display: grid;

    grid-template-columns:
        minmax(
            190px,
            1fr
        )
        minmax(
            280px,
            1.5fr
        )
        minmax(
            150px,
            1fr
        );

    align-items: center;

    gap: 2rem;

    padding:
        0.9rem
        1.2rem;

    color: #ffffff;

    background:

        radial-gradient(
            circle at 8% 50%,
            rgba(
                var(--cover-color-1),
                0.20
            ),
            transparent 42%
        ),

        radial-gradient(
            circle at 92% 50%,
            rgba(
                var(--cover-color-2),
                0.15
            ),
            transparent 45%
        ),

        radial-gradient(
            circle at 50% 100%,
            rgba(
                var(--cover-color-1),
                0.07
            ),
            transparent 55%
        ),

        linear-gradient(
            135deg,
            rgba(
                16,
                16,
                16,
                0.97
            ),
            rgba(
                30,
                30,
                30,
                0.95
            )
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    border-radius: 18px;

    box-shadow:

        0 18px 50px
        rgba(
            0,
            0,
            0,
            0.22
        ),

        0 0 45px
        rgba(
            var(--cover-color-1),
            0.08
        );

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    z-index: 100;

    overflow: hidden;

    animation:
        playerAppear
        0.7s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        )
        both;

    transition:
        background 0.8s ease,
        box-shadow 0.8s ease;
}


/* =========================================================
   TRACK INFO
========================================================= */

.player-track-info {

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 0.8rem;
}


.player-track-info img {

    width: 54px;

    height: 54px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 8px;

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}


.player-track-info img.changing {

    opacity: 0;

    transform:
        scale(0.94);
}


.player-track-text {

    min-width: 0;
}


.player-title {

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size: 0.85rem;

    font-weight: 600;

    letter-spacing: 0.02em;
}


.player-artist {

    margin-top: 0.25rem;

    font-size: 0.68rem;

    opacity: 0.45;

    letter-spacing: 0.04em;
}


/* =========================================================
   PLAYER CENTER
========================================================= */

.player-center {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 0.45rem;
}


/* =========================================================
   PLAYER CONTROLS
========================================================= */

.player-controls {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 1.1rem;
}


.player-control {

    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: 0;

    color: #ffffff;

    background: transparent;

    cursor: pointer;

    opacity: 0.65;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        background 0.2s ease;
}


.player-control:hover {

    opacity: 1;

    transform:
        scale(1.12);
}


.player-control:active {

    transform:
        scale(0.92);
}


.control-icon {

    font-size: 0.85rem;

    line-height: 1;
}


.player-play {

    width: 38px;

    height: 38px;

    border-radius: 50%;

    color: #111111;

    background: #ffffff;

    opacity: 1;

    box-shadow:
        0 4px 15px
        rgba(
            0,
            0,
            0,
            0.18
        );
}


.player-play:hover {

    transform:
        scale(1.07);

    background: #ffffff;
}


.player-play.playing {

    transform:
        scale(1.02);
}


/* =========================================================
   PLAYER PROGRESS
========================================================= */

.player-progress {

    display: grid;

    grid-template-columns:
        32px
        minmax(
            0,
            1fr
        )
        32px;

    align-items: center;

    gap: 0.5rem;

    font-size: 0.58rem;

    font-variant-numeric:
        tabular-nums;

    opacity: 0.55;
}


#progress {

    width: 100%;

    height: 3px;

    margin: 0;

    appearance: none;

    -webkit-appearance: none;

    cursor: pointer;

    background:

        linear-gradient(
            to right,
            #ffffff 0%,
            #ffffff var(--progress, 0%),
            rgba(
                255,
                255,
                255,
                0.18
            )
            var(--progress, 0%),
            rgba(
                255,
                255,
                255,
                0.18
            )
            100%
        );

    border-radius: 10px;
}


#progress::-webkit-slider-thumb {

    appearance: none;

    -webkit-appearance: none;

    width: 9px;

    height: 9px;

    border: 0;

    border-radius: 50%;

    background: #ffffff;

    opacity: 0;

    transition:
        opacity 0.2s ease;
}


#progress:hover::-webkit-slider-thumb {

    opacity: 1;
}


#progress::-moz-range-thumb {

    width: 9px;

    height: 9px;

    border: 0;

    border-radius: 50%;

    background: #ffffff;

    opacity: 0;
}


#progress:hover::-moz-range-thumb {

    opacity: 1;
}


/* =========================================================
   VOLUME
========================================================= */

.player-volume {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 0.6rem;

    font-size: 0.62rem;

    opacity: 0.6;
}


.volume-icon {

    font-size: 0.8rem;

    transition:
        transform 0.2s ease;
}


.player-volume:hover
.volume-icon {

    transform:
        scale(1.1);
}


#volume {

    width: 80px;

    height: 3px;

    appearance: none;

    -webkit-appearance: none;

    cursor: pointer;

    background:

        linear-gradient(
            to right,
            #ffffff 0%,
            #ffffff var(--volume, 100%),
            rgba(
                255,
                255,
                255,
                0.18
            )
            var(--volume, 100%),
            rgba(
                255,
                255,
                255,
                0.18
            )
            100%
        );

    border-radius: 10px;
}


#volume::-webkit-slider-thumb {

    appearance: none;

    -webkit-appearance: none;

    width: 8px;

    height: 8px;

    border: 0;

    border-radius: 50%;

    background: #ffffff;
}


#volume::-moz-range-thumb {

    width: 8px;

    height: 8px;

    border: 0;

    border-radius: 50%;

    background: #ffffff;
}


/* =========================================================
   PLAYER APPEAR
========================================================= */

@keyframes playerAppear {

    from {

        opacity: 0;

        transform:
            translateX(-50%)
            translateY(20px);

        filter:
            blur(5px);
    }

    to {

        opacity: 1;

        transform:
            translateX(-50%)
            translateY(0);

        filter:
            blur(0);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .music-player {

        grid-template-columns:
            1fr
            auto;

        gap: 1rem;

        width:
            calc(
                100% - 1.5rem
            );

        bottom: 0.75rem;

        padding:
            0.75rem
            0.9rem;
            
            
    }


    .player-center {

        grid-column:
            1 / -1;

        grid-row: 2;
    }


    .player-track-info {

        grid-column: 1;
    }


    .player-volume {

        grid-column: 2;
    }
}


@media (max-width: 500px) {

    .music-player {

        width:
            calc(
                100% - 1rem
            );

        border-radius: 14px;
    }


    .player-track-info img {

        width: 46px;

        height: 46px;
    }


    .player-title {

        font-size: 0.78rem;
    }


    .player-volume {

        gap: 0.35rem;
    }


    #volume {

        width: 55px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (
    prefers-reduced-motion: reduce
) {

    html {

        scroll-behavior: auto;
    }


    body::before {

        animation: none;
    }


    .track,
    .track-section:not(.hidden),
    .music-player {

        animation: none;
    }
}

/* =========================================================
   PHANTOM HEARTBEATS — DISCOGRAPHY MOBILE UPGRADE
========================================================= */

@media (max-width: 800px) {

    /* -----------------------------------------------------
       GLOBAL
    ----------------------------------------------------- */

    body {
        padding-bottom: 125px;
    }

    main {
        width: calc(100% - 30px);
    }

    /* -----------------------------------------------------
       HEADER
    ----------------------------------------------------- */

    .header-inner {
        width: calc(100% - 30px);
        height: 62px;
    }

    .logo {
        font-size: 12px;
    }

    .main-nav {
        gap: 16px;
    }

    .nav-button {
        font-size: 9px;
        letter-spacing: 0.06em;
    }

    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .hero {
        padding: 70px 0 65px;
    }

    .hero h1 {
        font-size: clamp(58px, 18vw, 105px);
        line-height: 0.84;
        letter-spacing: -0.075em;
        max-width: 100%;
    }

    .hero .eyebrow {
        margin-top: 45px;
        font-size: 9px;
    }

    /* -----------------------------------------------------
       LATEST RELEASE
    ----------------------------------------------------- */

    .latest-release {
        padding-bottom: 75px;
    }

    .latest-release .section-header {
        margin-bottom: 22px;
    }

    .section-header {
        padding-bottom: 13px;
    }

    .eyebrow {
        font-size: 9px;
    }

    .featured-release {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .release-artwork {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .release-info {
        padding-bottom: 0;
    }

    .release-info h2 {
        margin-top: 10px;

        font-size: clamp(
            38px,
            11vw,
            58px
        );

        line-height: 0.92;
    }

    .release-description {
        margin-top: 14px;
        font-size: 13px;
        line-height: 1.5;
    }

    .release-meta {
        margin-top: 7px;
        font-size: 10px;
    }

    .play-album-button {
        margin-top: 23px;
        padding: 13px 19px;
        font-size: 10px;
    }

    /* -----------------------------------------------------
       CATALOG
    ----------------------------------------------------- */

    .catalog-section {
        padding-bottom: 75px;
    }

    .catalog-section .section-header {
        margin-bottom: 20px;
    }

    /* 2-column mobile grid */
    .release-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 13px;
    }

    .release-card-info {
        padding-top: 10px;
    }

    .release-card-info h3 {
        font-size: 14px;
        line-height: 1.15;
    }

    .release-card-info p {
        margin-top: 4px;
        font-size: 10px;
        line-height: 1.3;
    }

    .empty-category {
        min-height: 75px;
        font-size: 9px;
    }

    /* -----------------------------------------------------
       TRACKLIST
    ----------------------------------------------------- */

    .track-section {
        padding-bottom: 100px;
    }

    .track {
        grid-template-columns:
            34px
            minmax(0, 1fr)
            auto;

        min-height: 61px;

        padding: 0;

        gap: 8px;
    }

    .track-number {
        font-size: 10px;
    }

    .track-name {
        min-width: 0;

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        font-size: 14px;
        font-weight: 500;
    }

    .track-duration {
        font-size: 10px;
        white-space: nowrap;
    }

    .track.active {
        border-radius: 6px;
    }

    .track.active .track-number::before {
        margin-right: 0.25rem;
        font-size: 0.45rem;
    }

    /* -----------------------------------------------------
       SOCIALS
    ----------------------------------------------------- */

    .socials-section {
        padding: 75px 0 120px;
    }

    .socials-section h2 {
        margin-top: 14px;

        font-size: clamp(
            45px,
            13vw,
            75px
        );

        line-height: 0.88;
    }

    .social-links {
        gap: 8px;
        margin-top: 32px;
    }

    .social-links a {
        padding: 11px 15px;
        font-size: 10px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 500px) {

    main {
        width: calc(100% - 24px);
    }

    .header-inner {
        width: calc(100% - 24px);
    }

    .main-nav {
        gap: 12px;
    }

    .nav-button {
        font-size: 8px;
    }

    /* -----------------------------------------------------
       HERO
    ----------------------------------------------------- */

    .hero {
        padding: 55px 0 55px;
    }

    .hero h1 {
        font-size: 20vw;
    }

    .hero .eyebrow {
        margin-top: 34px;
    }

    /* -----------------------------------------------------
       LATEST RELEASE
    ----------------------------------------------------- */

    .featured-release {
        gap: 22px;
    }

    .release-info h2 {
        font-size: 11vw;
    }

    .release-description {
        font-size: 12px;
    }

    /* -----------------------------------------------------
       RELEASE GRID
    ----------------------------------------------------- */

    .release-grid {
        gap: 22px 10px;
    }

    .release-card-info {
        padding-top: 8px;
    }

    .release-card-info h3 {
        font-size: 12px;
    }

    .release-card-info p {
        font-size: 9px;
    }

    /* -----------------------------------------------------
       TRACKLIST
    ----------------------------------------------------- */

    .track {
        grid-template-columns:
            27px
            minmax(0, 1fr)
            auto;

        min-height: 56px;

        gap: 6px;
    }

    .track-name {
        font-size: 13px;
    }

    .track-number,
    .track-duration {
        font-size: 9px;
    }

    /* -----------------------------------------------------
       PLAYER
    ----------------------------------------------------- */

    .music-player {
        width: calc(100% - 12px);
        bottom: 6px;

        border-radius: 13px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 370px) {

    .main-nav {
        gap: 9px;
    }

    .nav-button {
        font-size: 7px;
    }

    .release-grid {
        gap: 18px 8px;
    }

    .track {
        grid-template-columns:
            23px
            minmax(0, 1fr)
            auto;
    }

    .track-name {
        font-size: 12px;
    }

    .track-duration {
        font-size: 8px;
    }
}
.disc-header {
    margin-top: 40px;
    margin-bottom: 16px;
}

.disc-header h3 {
    font-size: 13px;
    letter-spacing: 2px;
    opacity: 0.6;
    text-transform: uppercase;
}

/* =========================================================
   SYNCED LYRICS
========================================================= */

.lyrics-panel {

    position: fixed;

    right: 1.5rem;

    bottom: 7.5rem;

    width: min(
        340px,
        calc(100vw - 3rem)
    );

    max-height: min(
        58vh,
        620px
    );

    display: flex;

    flex-direction: column;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(
                var(--cover-color-1),
                0.14
            ),
            transparent 42%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(
                var(--cover-color-2),
                0.10
            ),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            rgba(
                16,
                16,
                16,
                0.96
            ),
            rgba(
                30,
                30,
                30,
                0.94
            )
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    border-radius: 18px;

    box-shadow:
        0 18px 50px
        rgba(
            0,
            0,
            0,
            0.20
        ),
        0 0 40px
        rgba(
            var(--cover-color-1),
            0.08
        );

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    overflow: hidden;

    z-index: 90;

}


.lyrics-panel-header {

    flex-shrink: 0;

    padding:
        14px
        18px
        12px;

    border-bottom:
        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.14em;

}


.lyrics-container {

    min-height: 0;

    overflow-y: auto;

    padding:
        18px
        18px
        24px;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(
            255,
            255,
            255,
            0.18
        )
        transparent;

    overscroll-behavior: contain;

    scroll-behavior: smooth;

}


.lyrics-container::-webkit-scrollbar {

    width: 5px;

}


.lyrics-container::-webkit-scrollbar-track {

    background: transparent;

}


.lyrics-container::-webkit-scrollbar-thumb {

    background:
        rgba(
            255,
            255,
            255,
            0.18
        );

    border-radius: 999px;

}


.lyrics-line {

    padding:
        0.35rem
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.34
        );

    font-size: 1rem;

    line-height: 1.45;

    font-weight: 500;

    letter-spacing: -0.015em;

    cursor: pointer;

    transition:
        color 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;

}


.lyrics-line:hover {

    color:
        rgba(
            255,
            255,
            255,
            0.70
        );

}


.lyrics-line.past {

    color:
        rgba(
            255,
            255,
            255,
            0.22
        );

}


.lyrics-line.active {

    color: #ffffff;

    opacity: 1;

    transform:
        translateX(4px);

    font-weight: 650;

}


.lyrics-empty {

    color:
        rgba(
            255,
            255,
            255,
            0.4
        );

    font-size: 0.8rem;

    line-height: 1.5;

}



/* =========================================================
   LYRICS TOGGLE — PLAYER BAR
========================================================= */

.lyrics-toggle {
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
}

.lyrics-toggle:hover {
    color: #ffffff;
}

.lyrics-toggle.active {
    color: #ffffff;
}

.lyrics-icon {
    width: 17px;
    height: 17px;
    display: block;
}



/* =========================================================
   SYNCED LYRICS — MOBILE
========================================================= */

@media (max-width: 800px) {

    .lyrics-panel {

        right: 0.75rem;

        bottom: 9rem;

        width:
            calc(
                100% - 1.5rem
            );

        max-height: 36vh;

        border-radius: 14px;

    }


    .lyrics-panel-header {

        padding:
            11px
            15px
            10px;

    }


    .lyrics-container {

        padding:
            14px
            15px
            18px;

    }


    .lyrics-line {

        font-size: 0.88rem;

    }

}


@media (max-width: 500px) {

    .lyrics-panel {

        right: 0.5rem;

        bottom: 9.5rem;

        width:
            calc(
                100% - 1rem
            );

        max-height: 34vh;

        border-radius: 13px;

    }


    .lyrics-panel-header {

        padding:
            10px
            13px
            9px;

        font-size: 8px;

    }


    .lyrics-container {

        padding:
            12px
            13px
            16px;

    }


    .lyrics-line {

        padding:
            0.28rem
            0;

        font-size: 0.82rem;

        line-height: 1.4;

    }

}


@media (max-width: 370px) {

    .lyrics-panel {

        max-height: 32vh;

    }


    .lyrics-line {

        font-size: 0.78rem;

    }

}
/* =========================================================
   PHANTOM HEARTBEATS — SPOTIFY-STYLE FULLSCREEN PLAYER
========================================================= */

.music-player:fullscreen,
.music-player.fullscreen-player {

    position: fixed;

    inset: 0;

    width: 100vw;

    height: 100dvh;

    min-height: 100dvh;

    margin: 0;

    padding: 0;

    transform: none;

    display: flex;

    flex-direction: column;

    color: #ffffff;

    border: 0;

    border-radius: 0;

    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 50% 18%,
            rgba(
                var(--cover-color-1),
                0.38
            ),
            transparent 48%
        ),
        radial-gradient(
            ellipse at 15% 80%,
            rgba(
                var(--cover-color-2),
                0.22
            ),
            transparent 42%
        ),
        radial-gradient(
            ellipse at 85% 80%,
            rgba(
                var(--cover-color-3),
                0.18
            ),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #181818 0%,
            #101010 55%,
            #090909 100%
        );

    backdrop-filter:
        blur(35px)
        saturate(1.25);

    -webkit-backdrop-filter:
        blur(35px)
        saturate(1.25);

    box-shadow: none;

    z-index: 99999;

    animation:
        fullscreenPlayerIn
        0.45s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        )
        both;
}


/* =========================================================
   TOP BAR
========================================================= */

.music-player:fullscreen::before,
.music-player.fullscreen-player::before {

    content: "NOW PLAYING";

    position: absolute;

    top: 28px;

    left: 50%;

    transform:
        translateX(-50%);

    color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.16em;

    pointer-events: none;

    z-index: 50;
}


/* =========================================================
   FULLSCREEN BUTTON
========================================================= */

.music-player:fullscreen
.fullscreen-toggle,
.music-player.fullscreen-player
.fullscreen-toggle {

    position: absolute;

    top: 20px;

    right: 24px;

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: 0;

    border-radius: 50%;

    color: #ffffff;

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

    opacity: 0.65;

    z-index: 100;

    transition:
        background 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}


.music-player:fullscreen
.fullscreen-toggle:hover,
.music-player.fullscreen-player
.fullscreen-toggle:hover {

    background:
        rgba(
            255,
            255,
            255,
            0.16
        );

    opacity: 1;

    transform:
        scale(1.05);
}


/* =========================================================
   MAIN FULLSCREEN CONTENT
========================================================= */

.music-player:fullscreen
.player-track-info,
.music-player.fullscreen-player
.player-track-info {

    position: relative;

    width: min(
        560px,
        70vw
    );

    min-width: 0;

    margin: auto;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 22px;

    z-index: 5;

    flex-shrink: 1;
}


/* =========================================================
   LARGE ARTWORK
========================================================= */

.music-player:fullscreen
.player-track-info img,
.music-player.fullscreen-player
.player-track-info img {

    width: min(
        560px,
        62vh,
        70vw
    );

    height: min(
        560px,
        62vh,
        70vw
    );

    margin: 0 auto;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 8px;

    box-shadow:
        0 30px 80px
        rgba(
            0,
            0,
            0,
            0.45
        ),
        0 0 100px
        rgba(
            var(--cover-color-1),
            0.12
        );
}


/* =========================================================
   TRACK INFORMATION
========================================================= */

.music-player:fullscreen
.player-track-text,
.music-player.fullscreen-player
.player-track-text {

    width: 100%;

    min-width: 0;

    text-align: left;
}


.music-player:fullscreen
.player-title,
.music-player.fullscreen-player
.player-title {

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;

    font-size:
        clamp(
            20px,
            2vw,
            28px
        );

    line-height: 1.1;

    font-weight: 700;

    letter-spacing:
        -0.035em;
}


.music-player:fullscreen
.player-artist,
.music-player.fullscreen-player
.player-artist {

    margin-top: 7px;

    font-size: 13px;

    line-height: 1.3;

    opacity: 0.55;

    letter-spacing: 0;
}


/* =========================================================
   FULLSCREEN LYRICS
========================================================= */

.fullscreen-lyrics {

    display: none;
}


.music-player:fullscreen
.fullscreen-lyrics,
.music-player.fullscreen-player
.fullscreen-lyrics {

    position: absolute;

    right: 18vw;

    top: 40%;

    width: 280px;

    height: 46vh;

    transform:
        translateY(-50%);

    display: block;

    overflow-y: auto;

    padding:
        20vh
        10px;

    scrollbar-width: none;

    scroll-behavior: smooth;

    overscroll-behavior: contain;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 22%,
            black 78%,
            transparent
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 22%,
            black 78%,
            transparent
        );

    z-index: 4;
}


.music-player:fullscreen
.fullscreen-lyrics::-webkit-scrollbar,
.music-player.fullscreen-player
.fullscreen-lyrics::-webkit-scrollbar {

    display: none;
}


/* =========================================================
   LYRICS
========================================================= */

.music-player:fullscreen
.fullscreen-lyrics
.lyrics-line,
.music-player.fullscreen-player
.fullscreen-lyrics
.lyrics-line {

    padding:
        7px
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.25
        );

    font-size: 17px;

    line-height: 1.45;

    font-weight: 600;

    letter-spacing:
        -0.02em;

    cursor: pointer;

    transition:
        color 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
}


.music-player:fullscreen
.fullscreen-lyrics
.lyrics-line.past,
.music-player.fullscreen-player
.fullscreen-lyrics
.lyrics-line.past {

    color:
        rgba(
            255,
            255,
            255,
            0.18
        );
}


.music-player:fullscreen
.fullscreen-lyrics
.lyrics-line.active,
.music-player.fullscreen-player
.fullscreen-lyrics
.lyrics-line.active {

    color: #ffffff;

    opacity: 1;

    transform:
        translateX(5px);

    font-weight: 700;
}


.music-player:fullscreen
.fullscreen-lyrics
.lyrics-line:hover,
.music-player.fullscreen-player
.fullscreen-lyrics
.lyrics-line:hover {

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );
}


/* =========================================================
   BOTTOM PLAYER AREA
========================================================= */

.music-player:fullscreen
.player-center,
.music-player.fullscreen-player
.player-center {

    position: relative;

    width:
        min(
            900px,
            calc(100% - 80px)
        );

    margin:
        0 auto 30px;

    display: flex;

    flex-direction: column;

    gap: 14px;

    z-index: 20;

    flex-shrink: 0;
}


/* =========================================================
   CONTROLS
========================================================= */

.music-player:fullscreen
.player-controls,
.music-player.fullscreen-player
.player-controls {

    gap: 26px;

    justify-content: center;
}


.music-player:fullscreen
.player-control,
.music-player.fullscreen-player
.player-control {

    width: 34px;

    height: 34px;

    color: #ffffff;

    opacity: 0.65;
}


.music-player:fullscreen
.player-control:hover,
.music-player.fullscreen-player
.player-control:hover {

    opacity: 1;
}


.music-player:fullscreen
.player-play,
.music-player.fullscreen-player
.player-play {

    width: 52px;

    height: 52px;

    box-shadow:
        0 8px 30px
        rgba(
            0,
            0,
            0,
            0.35
        );
}


/* =========================================================
   PROGRESS
========================================================= */

.music-player:fullscreen
.player-progress,
.music-player.fullscreen-player
.player-progress {

    width: 100%;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        38px;

    gap: 12px;

    font-size: 10px;

    opacity: 0.6;
}


.music-player:fullscreen
#progress,
.music-player.fullscreen-player
#progress {

    height: 4px;
}


.music-player:fullscreen
#progress::-webkit-slider-thumb,
.music-player.fullscreen-player
#progress::-webkit-slider-thumb {

    width: 11px;

    height: 11px;
}


/* =========================================================
   VOLUME
========================================================= */

.music-player:fullscreen
.player-volume,
.music-player.fullscreen-player
.player-volume {

    position: absolute;

    right: 0;

    bottom: 0;

    z-index: 20;
}


/* =========================================================
   HIDE NORMAL FLOATING LYRICS
========================================================= */

body.player-fullscreen-open
.lyrics-panel {

    display: none !important;
}


/* =========================================================
   FULLSCREEN ANIMATION
========================================================= */

@keyframes fullscreenPlayerIn {

    from {

        opacity: 0;

        transform:
            scale(0.97);

        filter:
            blur(10px);
    }

    to {

        opacity: 1;

        transform:
            scale(1);

        filter:
            blur(0);
    }
}


/* =========================================================
   MOBILE FULLSCREEN
========================================================= */

@media (max-width: 1000px) {

    .music-player:fullscreen
    .fullscreen-lyrics,
    .music-player.fullscreen-player
    .fullscreen-lyrics {

        right: 4vw;

        width: 230px;
    }
}


@media (max-width: 800px) {

    .music-player:fullscreen,
    .music-player.fullscreen-player {

        padding: 0 18px;

        justify-content: flex-start;
    }


    .music-player:fullscreen
    .player-track-info,
    .music-player.fullscreen-player
    .player-track-info {

        width: min(
            88vw,
            440px
        );

        margin:
            75px auto 0;

        gap: 18px;
    }


    .music-player:fullscreen
    .player-track-info img,
    .music-player.fullscreen-player
    .player-track-info img {

        width:
            min(
                82vw,
                400px
            );

        height:
            min(
                82vw,
                400px
            );

        border-radius: 7px;
    }


    .music-player:fullscreen
    .player-track-text,
    .music-player.fullscreen-player
    .player-track-text {

        text-align: center;
    }


    .music-player:fullscreen
    .player-title,
    .music-player.fullscreen-player
    .player-title {

        font-size: 20px;
    }


    .music-player:fullscreen
    .fullscreen-lyrics,
    .music-player.fullscreen-player
    .fullscreen-lyrics {

        position: relative;

        right: auto;

        top: auto;

        width: 100%;

        height: auto;

        transform: none;

        flex: 1;

        margin:
            25px 0 0;

        padding:
            15px
            5px
            130px;

        text-align: center;

        mask-image: none;

        -webkit-mask-image: none;
    }


    .music-player:fullscreen
    .fullscreen-lyrics
    .lyrics-line,
    .music-player.fullscreen-player
    .fullscreen-lyrics
    .lyrics-line {

        font-size: 18px;
    }


    .music-player:fullscreen
    .player-center,
    .music-player.fullscreen-player
    .player-center {

        position: absolute;

        left: 18px;

        right: 18px;

        bottom: 20px;

        width: auto;

        margin: 0;

        gap: 11px;
    }


    .music-player:fullscreen
    .player-controls,
    .music-player.fullscreen-player
    .player-controls {

        gap: 14px;
    }


    .music-player:fullscreen
    .player-volume,
    .music-player.fullscreen-player
    .player-volume {

        display: none;
    }


    .music-player:fullscreen
    .fullscreen-toggle,
    .music-player.fullscreen-player
    .fullscreen-toggle {

        top: 16px;

        right: 16px;

        width: 38px;

        height: 38px;
    }
}


@media (max-width: 500px) {

    .music-player:fullscreen
    .player-track-info,
    .music-player.fullscreen-player
    .player-track-info {

        width: 90vw;

        margin-top: 68px;
    }


    .music-player:fullscreen
    .player-track-info img,
    .music-player.fullscreen-player
    .player-track-info img {

        width: 80vw;

        height: 80vw;

        max-width: 340px;

        max-height: 340px;
    }


    .music-player:fullscreen
    .fullscreen-lyrics,
    .music-player.fullscreen-player
    .fullscreen-lyrics {

        margin-top: 18px;

        padding:
            10px
            3px
            125px;
    }


    .music-player:fullscreen
    .fullscreen-lyrics
    .lyrics-line,
    .music-player.fullscreen-player
    .fullscreen-lyrics
    .lyrics-line {

        font-size: 17px;
    }


    .music-player:fullscreen
    .player-controls,
    .music-player.fullscreen-player
    .player-controls {

        gap: 9px;
    }


    .music-player:fullscreen
    .player-play,
    .music-player.fullscreen-player
    .player-play {

        width: 50px;

        height: 50px;
    }


    .music-player:fullscreen::before,
    .music-player.fullscreen-player::before {

        top: 20px;

        font-size: 8px;
    }
}


/* =========================================================
   PAGE LOCK
========================================================= */

body.player-fullscreen-open {

    overflow: hidden;
}


.music-player:fullscreen {

    overflow: hidden;
}
