:root {
    --background: #05050d;
    --background-secondary: #0a0a16;

    --surface: rgba(14, 14, 29, 0.86);
    --surface-light: rgba(27, 27, 48, 0.92);
    --surface-bright: rgba(42, 42, 66, 0.96);

    --control-grey: rgba(54, 55, 72, 0.88);
    --control-grey-hover: rgba(75, 76, 98, 0.98);

    --primary: #8f7cff;
    --primary-light: #c2b8ff;
    --secondary: #ff4fd8;
    --secondary-light: #ff8ce7;
    --cyan: #48dfff;
    --blue: #667dff;

    --text: #faf9ff;
    --text-secondary: #c7c4dd;
    --text-muted: #77738f;

    --border: rgba(143, 124, 255, 0.18);
    --border-bright: rgba(143, 124, 255, 0.48);

    --shadow:
        0 30px 80px rgba(0, 0, 0, 0.52);

    --glow:
        0 0 35px rgba(143, 124, 255, 0.25);

    --radius-small: 14px;
    --radius-medium: 22px;
    --radius-large: 32px;

    --max-width: 1200px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    background:
        radial-gradient(
            ellipse at 50% -10%,
            rgba(143, 124, 255, 0.16),
            transparent 42%
        ),
        radial-gradient(
            ellipse at 100% 35%,
            rgba(255, 79, 216, 0.08),
            transparent 32%
        ),
        radial-gradient(
            ellipse at 0% 70%,
            rgba(72, 223, 255, 0.055),
            transparent 30%
        ),
        var(--background);

    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
}


/* =========================================================
   SYNTHWAVE BACKGROUND
   ========================================================= */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: -5;

    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(143, 124, 255, 0.075),
            transparent 28%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(72, 223, 255, 0.025),
            transparent 25%
        );

    animation:
        ambientPulse 8s ease-in-out infinite;
}

body::after {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: -4;

    opacity: 0.35;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.7) 0.7px,
            transparent 0.9px
        );

    background-size: 90px 90px;

    animation:
        starsDrift 35s linear infinite;
}

.background-grid {
    position: fixed;
    inset: 0;

    z-index: -3;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(143, 124, 255, 0.055) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(143, 124, 255, 0.055) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            black 55%,
            transparent 100%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            black 55%,
            transparent 100%
        );

    animation:
        gridMove 18s linear infinite;
}

.background-glow {
    position: fixed;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    pointer-events: none;

    z-index: -2;

    filter: blur(120px);

    opacity: 0.13;

    animation:
        floatingGlow 12s ease-in-out infinite alternate;
}

.background-glow-one {
    top: -260px;
    left: -180px;

    background:
        radial-gradient(
            circle,
            var(--primary),
            transparent 70%
        );
}

.background-glow-two {
    right: -250px;
    top: 30%;

    background:
        radial-gradient(
            circle,
            var(--secondary),
            transparent 70%
        );

    animation-delay: -5s;
}

@keyframes gridMove {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(70px);
    }
}

@keyframes starsDrift {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(90px);
    }
}

@keyframes ambientPulse {
    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@keyframes floatingGlow {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        transform: translate3d(40px, 30px, 0) scale(1.12);
    }
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;

    padding: 17px 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        linear-gradient(
            180deg,
            rgba(5, 5, 13, 0.96),
            rgba(5, 5, 13, 0.72)
        );

    border-bottom:
        1px solid rgba(143, 124, 255, 0.16);

    backdrop-filter:
        blur(24px) saturate(140%);

    -webkit-backdrop-filter:
        blur(24px) saturate(140%);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.2);
}

.site-header::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(143, 124, 255, 0.35),
            rgba(255, 79, 216, 0.28),
            transparent
        );

    opacity: 0.65;

    pointer-events: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 1.15rem;
    font-weight: 800;

    letter-spacing: -0.04em;

    text-decoration: none;
}

.logo-icon {
    color: var(--primary-light);

    font-size: 1.35rem;

    text-shadow:
        0 0 10px rgba(143, 124, 255, 0.9),
        0 0 28px rgba(255, 79, 216, 0.55);

    animation:
        logoPulse 3s ease-in-out infinite;
}

.logo-text {
    background:
        linear-gradient(
            90deg,
            var(--primary-light),
            var(--secondary-light),
            var(--cyan)
        );

    background-size: 200% auto;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    animation:
        gradientShift 7s linear infinite;
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 30px;
}

.main-nav a {
    position: relative;

    color: var(--text-secondary);

    text-decoration: none;

    font-size: 0.82rem;
    font-weight: 600;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.main-nav a::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -13px;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background:
        var(--secondary);

    box-shadow:
        0 0 10px var(--secondary);

    opacity: 0;

    transform:
        translateX(-50%)
        scale(0);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );

    box-shadow:
        0 0 10px rgba(143, 124, 255, 0.8);

    transition:
        width 0.25s ease;
}

.main-nav a:hover {
    color: var(--text);

    transform:
        translateY(-1px);
}

.main-nav a:hover::before {
    opacity: 1;

    transform:
        translateX(-50%)
        scale(1);
}

.main-nav a:hover::after {
    width: 100%;
}

@keyframes logoPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}


/* =========================================================
   MAIN
   ========================================================= */

main {
    width:
        min(
            calc(100% - 40px),
            var(--max-width)
        );

    margin:
        0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    min-height: 470px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding:
        100px 20px 65px;

    position: relative;
}

.hero-section::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 260px;

    left: 50%;
    bottom: 30px;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            ellipse,
            rgba(143, 124, 255, 0.15),
            transparent 70%
        );

    filter:
        blur(30px);

    pointer-events: none;

    animation:
        heroGlow 7s ease-in-out infinite;
}

.hero-section::after {
    content: "";

    position: absolute;

    width: 1px;
    height: 100px;

    left: 50%;
    bottom: -35px;

    background:
        linear-gradient(
            to bottom,
            rgba(143, 124, 255, 0.45),
            transparent
        );

    opacity: 0.35;

    pointer-events: none;
}

.hero-content {
    max-width: 800px;

    position: relative;
    z-index: 1;
}

.eyebrow {
    margin-bottom: 20px;

    color: var(--primary-light);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.38em;

    text-shadow:
        0 0 15px rgba(143, 124, 255, 0.7);
}

.hero-content h1 {
    font-size:
        clamp(
            3.5rem,
            10vw,
            7.5rem
        );

    line-height: 0.9;

    letter-spacing: -0.08em;

    font-weight: 800;

    text-shadow:
        0 0 40px rgba(143, 124, 255, 0.12);
}

.hero-content h1 span {
    background:
        linear-gradient(
            90deg,
            var(--primary-light),
            var(--secondary),
            var(--cyan),
            var(--primary-light)
        );

    background-size: 300% auto;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    animation:
        gradientShift 6s linear infinite;
}

.hero-description {
    max-width: 560px;

    margin:
        30px auto 0;

    color: var(--text-secondary);

    font-size: 0.98rem;
}

@keyframes heroGlow {
    0%,
    100% {
        transform:
            translateX(-50%)
            scale(0.92);

        opacity: 0.7;
    }

    50% {
        transform:
            translateX(-50%)
            scale(1.08);

        opacity: 1;
    }
}


/* =========================================================
   PLAYER
   ========================================================= */

.player-section {
    padding:
        10px 0 100px;
}

.player-card {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(300px, 410px)
        1fr;

    gap: 52px;

    padding: 38px;

    background:
        linear-gradient(
            135deg,
            rgba(143, 124, 255, 0.10),
            rgba(255, 79, 216, 0.045) 45%,
            rgba(72, 223, 255, 0.025)
        ),
        var(--surface);

    border:
        1px solid rgba(143, 124, 255, 0.25);

    border-radius:
        var(--radius-large);

    box-shadow:
        var(--shadow),
        0 0 80px rgba(143, 124, 255, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);

    backdrop-filter:
        blur(22px) saturate(125%);

    -webkit-backdrop-filter:
        blur(22px) saturate(125%);

    overflow: hidden;

    isolation: isolate;
}

.player-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 8%;

    width: 84%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--primary),
            var(--secondary),
            transparent
        );

    opacity: 0.8;

    box-shadow:
        0 0 18px rgba(143, 124, 255, 0.6);
}

.player-card::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -150px;
    bottom: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 79, 216, 0.13),
            transparent 70%
        );

    pointer-events: none;

    z-index: -1;
}

.player-card:hover {
    border-color:
        rgba(143, 124, 255, 0.32);

    box-shadow:
        var(--shadow),
        0 0 95px rgba(143, 124, 255, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
}


/* =========================================================
   ALBUM ART
   ========================================================= */

.album-art {
    --art-energy: 1;

    position: relative;

    aspect-ratio: 1;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius:
        26px;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(143, 124, 255, 0.22),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #100d28,
            #2c0c3f 45%,
            #071d36
        );

    border:
        1px solid rgba(182, 170, 255, 0.42);

    box-shadow:
        inset 0 0 90px rgba(143, 124, 255, 0.13),
        inset 0 0 25px rgba(255, 79, 216, 0.08),
        0 0 55px rgba(143, 124, 255, 0.15);

    isolation: isolate;

    transform:
        translateZ(0);

    transition:
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

.album-art:hover {
    border-color:
        rgba(194, 184, 255, 0.62);

    box-shadow:
        inset 0 0 100px rgba(143, 124, 255, 0.16),
        inset 0 0 30px rgba(255, 79, 216, 0.10),
        0 0 65px rgba(143, 124, 255, 0.21);
}

.album-art::before {
    content: "";

    position: absolute;

    inset: -50%;

    background:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 18px,
            rgba(143, 124, 255, 0.055) 19px,
            transparent 20px
        );

    transform:
        rotate(12deg);

    animation:
        artLines 18s linear infinite;
}

.album-art::after {
    content: "";

    position: absolute;

    width: 62%;
    height: 62%;

    border:
        1px solid rgba(72, 223, 255, 0.28);

    border-radius: 50%;

    box-shadow:
        0 0 45px rgba(72, 223, 255, 0.13),
        inset 0 0 35px rgba(255, 79, 216, 0.08);

    animation:
        albumPulse 4s ease-in-out infinite;
}

.album-art-glow {
    position: absolute;

    width: 48%;
    height: 48%;

    border-radius: 50%;

    background:
        conic-gradient(
            from 0deg,
            var(--primary),
            var(--secondary),
            var(--cyan),
            var(--primary)
        );

    filter:
        blur(48px);

    opacity: 0.34;

    animation:
        glowPulse 4s ease-in-out infinite,
        artRotate 16s linear infinite;

    transform-origin:
        center;
}

.album-art-content {
    position: relative;

    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 14px;

    transform:
        translateZ(20px);
}

.album-art-symbol {
    font-size: 4.5rem;

    color: var(--text);

    text-shadow:
        0 0 15px rgba(143, 124, 255, 0.95),
        0 0 45px rgba(255, 79, 216, 0.65),
        0 0 80px rgba(72, 223, 255, 0.25);

    animation:
        symbolFloat 4s ease-in-out infinite;

    transition:
        text-shadow 0.35s ease;
}

.album-art-title {
    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.4em;

    color:
        rgba(255, 255, 255, 0.82);

    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.25);
}

.album-art.is-playing {
    border-color:
        rgba(194, 184, 255, 0.7);

    box-shadow:
        inset 0 0 100px rgba(143, 124, 255, 0.18),
        inset 0 0 35px rgba(255, 79, 216, 0.11),
        0 0 55px rgba(143, 124, 255, 0.25),
        0 0 110px rgba(255, 79, 216, 0.08);
}

.album-art.is-playing .album-art-symbol {
    text-shadow:
        0 0 18px rgba(143, 124, 255, 1),
        0 0 50px rgba(255, 79, 216, 0.82),
        0 0 95px rgba(72, 223, 255, 0.38);
}

@keyframes artLines {
    from {
        transform:
            translate3d(0, 0, 0)
            rotate(12deg);
    }

    to {
        transform:
            translate3d(80px, 80px, 0)
            rotate(12deg);
    }
}

@keyframes albumPulse {
    0%,
    100% {
        transform:
            scale(0.94);
        opacity: 0.55;
    }

    50% {
        transform:
            scale(1.06);
        opacity: 1;
    }
}

@keyframes glowPulse {
    0%,
    100% {
        transform:
            scale(0.88);
        opacity: 0.25;
    }

    50% {
        transform:
            scale(1.12);
        opacity: 0.42;
    }
}

@keyframes artRotate {
    from {
        rotate: 0deg;
    }

    to {
        rotate: 360deg;
    }
}

@keyframes symbolFloat {
    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-6px);
    }
}


/* =========================================================
   PLAYER INFO
   ========================================================= */

.player-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;

    position: relative;

    z-index: 2;
}

.track-details {
    margin-bottom: 46px;
}

.track-label {
    margin-bottom: 10px;

    color: var(--primary-light);

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.28em;

    display: flex;
    align-items: center;

    gap: 9px;
}

.track-label::before {
    content: "";

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        var(--secondary);

    box-shadow:
        0 0 10px var(--secondary);

    animation:
        nowPlayingPulse 1.5s ease-in-out infinite;
}

.track-details h2 {
    overflow: hidden;

    font-size:
        clamp(
            1.7rem,
            4vw,
            2.8rem
        );

    line-height: 1.08;

    letter-spacing: -0.045em;

    text-overflow: ellipsis;

    white-space: nowrap;

    text-shadow:
        0 0 25px rgba(143, 124, 255, 0.06);
}

.track-details p:last-child {
    margin-top: 8px;

    color: var(--text-muted);

    font-size: 0.88rem;
}

@keyframes nowPlayingPulse {
    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}


/* =========================================================
   PROGRESS
   ========================================================= */

.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    position: relative;

    width: 100%;
    height: 8px;

    overflow: visible;

    border-radius: 100px;

    background:
        rgba(255, 255, 255, 0.08);

    cursor: pointer;

    box-shadow:
        inset 0 1px 2px rgba(0, 0, 0, 0.3);

    transition:
        height 0.2s ease;
}

.progress-bar:hover {
    height: 9px;
}

.progress-bar::after {
    content: "";

    position: absolute;

    top: 50%;
    right: 0;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background:
        var(--text);

    box-shadow:
        0 0 14px rgba(255, 255, 255, 0.7),
        0 0 28px rgba(143, 124, 255, 0.65);

    transform:
        translateY(-50%)
        scale(0);

    transition:
        transform 0.15s ease;

    pointer-events: none;
}

.progress-bar:hover::after {
    transform:
        translateY(-50%)
        scale(1);
}

.progress {
    width: 0;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary),
            var(--cyan)
        );

    background-size: 200% 100%;

    box-shadow:
        0 0 12px rgba(143, 124, 255, 0.75),
        0 0 25px rgba(255, 79, 216, 0.22);

    animation:
        progressGlow 4s linear infinite;

    transition:
        width 0.1s linear;
}

.time-display {
    display: flex;

    justify-content: space-between;

    margin-top: 10px;

    color: var(--text-muted);

    font-size: 0.68rem;

    font-variant-numeric:
        tabular-nums;
}

@keyframes progressGlow {
    from {
        background-position: 0% center;
    }

    to {
        background-position: 200% center;
    }
}


/* =========================================================
   MAIN PLAYER CONTROLS
   ========================================================= */

.player-controls {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-bottom: 24px;

    flex-wrap: wrap;
}

.control-button {
    border: 0;

    cursor: pointer;

    font-family: inherit;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.control-button:hover {
    transform:
        translateY(-2px)
        scale(1.05);
}

.control-button:active {
    transform:
        scale(0.94);
}

.control-button.secondary {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--text-secondary);

    background:
        rgba(255, 255, 255, 0.055);

    border:
        1px solid rgba(255, 255, 255, 0.09);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    position: relative;

    overflow: hidden;
}

.control-button.secondary::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.08),
            transparent 45%
        );

    opacity: 0;

    transition:
        opacity 0.2s ease;
}

.control-button.secondary:hover::before {
    opacity: 1;
}

.control-button.secondary:hover {
    color: var(--text);

    background:
        rgba(143, 124, 255, 0.16);

    border-color:
        var(--border-bright);

    box-shadow:
        0 0 20px rgba(143, 124, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.play-button {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    box-shadow:
        0 0 25px rgba(143, 124, 255, 0.34),
        0 0 55px rgba(255, 79, 216, 0.13),
        0 12px 32px rgba(0, 0, 0, 0.38);

    font-size: 1.2rem;

    position: relative;

    z-index: 2;

    isolation: isolate;
}

.play-button::before {
    content: "";

    position: absolute;

    inset: -5px;

    border-radius: 50%;

    border:
        1px solid rgba(182, 170, 255, 0.25);

    opacity: 0;

    transform:
        scale(0.85);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.play-button::after {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.20),
            transparent 45%
        );

    pointer-events: none;

    z-index: -1;
}

.play-button:hover {
    box-shadow:
        0 0 35px rgba(143, 124, 255, 0.55),
        0 0 70px rgba(255, 79, 216, 0.2),
        0 15px 38px rgba(0, 0, 0, 0.4);
}

.play-button:hover::before {
    opacity: 1;

    transform:
        scale(1.15);
}


/* =========================================================
   ADVANCED CONTROLS
   ========================================================= */

.player-controls .advanced-control {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius:
        11px;

    color:
        #d5d2e2;

    background:
        linear-gradient(
            145deg,
            rgba(65, 66, 84, 0.94),
            rgba(45, 46, 62, 0.94)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 6px 16px rgba(0, 0, 0, 0.24);

    font-size: 1rem;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.player-controls .advanced-control:hover {
    color: white;

    background:
        linear-gradient(
            145deg,
            rgba(88, 89, 110, 0.98),
            rgba(62, 63, 82, 0.98)
        );

    border-color:
        rgba(255, 255, 255, 0.22);

    transform:
        translateY(-2px);

    box-shadow:
        0 9px 22px rgba(0, 0, 0, 0.32),
        0 0 14px rgba(143, 124, 255, 0.08);
}

.player-controls .advanced-control.active {
    color: white;

    background:
        linear-gradient(
            135deg,
            rgba(143, 124, 255, 0.78),
            rgba(255, 79, 216, 0.62)
        );

    border-color:
        rgba(182, 170, 255, 0.72);

    box-shadow:
        0 0 20px rgba(143, 124, 255, 0.28);
}

.player-controls .advanced-control.favourite.active {
    color:
        #ffb4ee;

    background:
        linear-gradient(
            135deg,
            rgba(255, 79, 216, 0.25),
            rgba(255, 79, 216, 0.12)
        );

    border-color:
        rgba(255, 79, 216, 0.55);

    box-shadow:
        0 0 20px rgba(255, 79, 216, 0.22);
}


/* =========================================================
   VISUALIZER
   ========================================================= */

.astrawave-visualizer {
    position: absolute;

    left: 34px;
    right: 34px;
    bottom: 0;

    width:
        calc(100% - 68px);

    height: 80px;

    pointer-events: none;

    opacity: 0.72;

    z-index: 1;

    mask-image:
        linear-gradient(
            to top,
            black,
            transparent
        );

    -webkit-mask-image:
        linear-gradient(
            to top,
            black,
            transparent
        );

    transition:
        opacity 0.3s ease;
}

.player-card:hover .astrawave-visualizer {
    opacity: 0.82;
}


/* =========================================================
   VOLUME
   ========================================================= */

.volume-container {
    display: flex;

    align-items: center;

    gap: 12px;

    width: 100%;
    max-width: 280px;

    margin:
        0 auto;
}

.volume-icon {
    font-size: 0.88rem;

    filter:
        drop-shadow(
            0 0 6px rgba(143, 124, 255, 0.4)
        );
}

.volume-container input[type="range"] {
    width: 100%;

    appearance: none;
    -webkit-appearance: none;

    height: 5px;

    border-radius: 100px;

    background:
        linear-gradient(
            90deg,
            rgba(143, 124, 255, 0.8),
            rgba(255, 255, 255, 0.10)
        );

    outline: none;

    cursor: pointer;
}

.volume-container input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;

    width: 15px;
    height: 15px;

    border-radius: 50%;

    border: 2px solid var(--background);

    background:
        var(--primary-light);

    box-shadow:
        0 0 12px rgba(143, 124, 255, 0.8);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.volume-container input[type="range"]::-webkit-slider-thumb:hover {
    transform:
        scale(1.2);

    box-shadow:
        0 0 18px rgba(143, 124, 255, 1);
}

.volume-container input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;

    border: 2px solid var(--background);

    border-radius: 50%;

    background:
        var(--primary-light);

    box-shadow:
        0 0 12px rgba(143, 124, 255, 0.8);

    cursor: pointer;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.playlist-section,
.about-section {
    padding:
        80px 0;
}

.section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}

.section-label {
    margin-bottom: 7px;

    color: var(--primary-light);

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.28em;
}

.section-heading h2 {
    font-size:
        clamp(
            2rem,
            5vw,
            3rem
        );

    line-height: 1;

    letter-spacing: -0.055em;
}

.track-count {
    padding:
        7px 12px;

    color:
        var(--text-secondary);

    background:
        rgba(143, 124, 255, 0.07);

    border:
        1px solid rgba(143, 124, 255, 0.15);

    border-radius:
        999px;

    font-size: 0.72rem;

    font-weight: 700;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}


/* =========================================================
   SEARCH
   ========================================================= */

.astrawave-search {
    width: 100%;

    margin-bottom: 18px;

    padding:
        16px 18px;

    color: var(--text);

    background:
        linear-gradient(
            135deg,
            rgba(28, 28, 47, 0.94),
            rgba(19, 19, 33, 0.94)
        );

    border:
        1px solid rgba(143, 124, 255, 0.20);

    border-radius:
        15px;

    outline: none;

    font-family: inherit;
    font-size: 0.88rem;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 8px 25px rgba(0, 0, 0, 0.12);

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.astrawave-search::placeholder {
    color:
        #706d87;
}

.astrawave-search:hover {
    border-color:
        rgba(143, 124, 255, 0.32);
}

.astrawave-search:focus {
    background:
        linear-gradient(
            135deg,
            rgba(37, 37, 61, 0.98),
            rgba(23, 23, 40, 0.98)
        );

    border-color:
        rgba(143, 124, 255, 0.62);

    box-shadow:
        0 0 25px rgba(143, 124, 255, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    transform:
        translateY(-1px);
}


/* =========================================================
   PLAYLIST
   ========================================================= */

.playlist-container {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.playlist-item {
    width: 100%;

    min-height: 70px;

    display: flex;

    align-items: center;

    gap: 18px;

    padding:
        14px 18px;

    color: var(--text);

    text-align: left;

    background:
        linear-gradient(
            100deg,
            rgba(26, 26, 44, 0.96),
            rgba(18, 18, 32, 0.96)
        );

    border:
        1px solid rgba(255, 255, 255, 0.065);

    border-radius:
        var(--radius-small);

    cursor: pointer;

    font-family: inherit;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    position: relative;

    overflow: hidden;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.playlist-item::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background:
        linear-gradient(
            to bottom,
            var(--primary),
            var(--secondary)
        );

    opacity: 0;

    transition:
        opacity 0.2s ease;
}

.playlist-item::after {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.035),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left 0.55s ease;

    pointer-events: none;
}

.playlist-item:hover::after {
    left: 150%;
}

.playlist-item:hover {
    transform:
        translateX(5px);

    background:
        linear-gradient(
            100deg,
            rgba(40, 40, 64, 0.98),
            rgba(27, 27, 46, 0.98)
        );

    border-color:
        rgba(143, 124, 255, 0.38);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.28),
        0 0 20px rgba(143, 124, 255, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.playlist-item:hover::before {
    opacity: 0.65;
}

.playlist-item.active {
    background:
        linear-gradient(
            100deg,
            rgba(63, 52, 103, 0.98),
            rgba(37, 31, 61, 0.98)
        );

    border-color:
        rgba(143, 124, 255, 0.62);

    box-shadow:
        0 0 28px rgba(143, 124, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.playlist-item.active::before {
    opacity: 1;
}

.playlist-item.playing {
    background:
        linear-gradient(
            100deg,
            rgba(72, 56, 119, 0.99),
            rgba(43, 33, 72, 0.99)
        );

    border-color:
        rgba(255, 79, 216, 0.42);

    box-shadow:
        0 0 30px rgba(143, 124, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.playlist-item.playing::before {
    background:
        linear-gradient(
            to bottom,
            var(--secondary),
            var(--cyan)
        );

    opacity: 1;

    animation:
        playlistGlow 2s ease-in-out infinite;
}

@keyframes playlistGlow {
    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}


/* =========================================================
   PLAYLIST TRACK NUMBER
   ========================================================= */

.playlist-number {
    width: 35px;

    flex-shrink: 0;

    color:
        #858199;

    font-size: 0.72rem;

    font-weight: 700;

    text-align: center;

    font-variant-numeric:
        tabular-nums;

    transition:
        color 0.2s ease;
}

.playlist-item:hover .playlist-number,
.playlist-item.active .playlist-number {
    color:
        var(--primary-light);
}


/* =========================================================
   TRACK INFORMATION
   ========================================================= */

.playlist-track-info {
    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;
}

.playlist-track-info strong {
    overflow: hidden;

    color:
        #f8f7ff;

    font-size: 0.92rem;

    font-weight: 700;

    line-height: 1.3;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.playlist-track-info small {
    color:
        #9692aa;

    font-size: 0.72rem;

    line-height: 1.3;
}


/* =========================================================
   FAVOURITE
   ========================================================= */

.playlist-favourite {
    width: 32px;

    flex-shrink: 0;

    color:
        #666379;

    font-size: 1.15rem;

    text-align: center;

    transition:
        color 0.2s ease,
        transform 0.2s ease,
        text-shadow 0.2s ease;
}

.playlist-item:hover .playlist-favourite {
    color:
        #c7c1df;

    transform:
        scale(1.08);
}

.playlist-item.active .playlist-favourite {
    color:
        var(--primary-light);
}

.playlist-item.playing .playlist-favourite {
    text-shadow:
        0 0 12px rgba(255, 79, 216, 0.45);
}


/* =========================================================
   EMPTY PLAYLIST
   ========================================================= */

.playlist-empty,
.empty-playlist {
    padding:
        75px 30px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(20, 20, 36, 0.92),
            rgba(13, 13, 25, 0.92)
        );

    border:
        1px dashed rgba(143, 124, 255, 0.35);

    border-radius:
        var(--radius-medium);

    box-shadow:
        inset 0 0 50px rgba(143, 124, 255, 0.025);
}

.playlist-empty span,
.empty-playlist-icon {
    margin-bottom: 16px;

    font-size: 2.7rem;

    color:
        var(--primary-light);

    text-shadow:
        0 0 20px rgba(143, 124, 255, 0.65);
}

.playlist-empty p,
.empty-playlist p {
    max-width: 500px;

    color:
        var(--text-secondary);

    font-size: 0.88rem;
}

.empty-playlist h3 {
    margin-bottom: 6px;

    font-size: 1.1rem;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-card {
    display: flex;

    align-items: flex-start;

    gap: 25px;

    padding: 32px;

    background:
        linear-gradient(
            135deg,
            rgba(143, 124, 255, 0.075),
            rgba(255, 79, 216, 0.025)
        ),
        var(--surface);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-medium);

    box-shadow:
        var(--shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    position: relative;

    overflow: hidden;
}

.about-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(143, 124, 255, 0.45),
            transparent
        );

    opacity: 0.65;
}

.about-card::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -110px;
    bottom: -110px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(72, 223, 255, 0.09),
            transparent 70%
        );

    pointer-events: none;
}

.about-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(143, 124, 255, 0.16),
            rgba(255, 79, 216, 0.08)
        );

    border:
        1px solid var(--border);

    font-size: 1.7rem;

    box-shadow:
        0 0 25px rgba(143, 124, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about-card h3 {
    margin-bottom: 8px;

    font-size: 1.15rem;

    letter-spacing: -0.02em;
}

.about-card p {
    max-width: 750px;

    color:
        var(--text-secondary);

    font-size: 0.9rem;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    margin-top:
        60px;

    padding:
        50px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    border-top:
        1px solid rgba(143, 124, 255, 0.14);

    color:
        var(--text-muted);

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(143, 124, 255, 0.018)
        );

    position: relative;
}

.site-footer::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 50%;

    width: 180px;
    height: 1px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--primary),
            var(--secondary),
            transparent
        );

    box-shadow:
        0 0 15px rgba(143, 124, 255, 0.45);
}

.footer-logo {
    margin-bottom: 9px;

    color:
        var(--text);

    font-weight: 700;

    text-shadow:
        0 0 15px rgba(143, 124, 255, 0.22);
}

.site-footer p {
    font-size: 0.74rem;
}

.footer-version {
    margin-top: 4px;

    color:
        var(--primary-light) !important;

    font-size: 0.68rem !important;
}


/* =========================================================
   FOCUS / ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline:
        2px solid var(--cyan);

    outline-offset:
        4px;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background:
        #06060e;
}

::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            180deg,
            var(--primary),
            var(--secondary)
        );

    border-radius:
        999px;

    border:
        2px solid #06060e;
}

::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(
            180deg,
            var(--primary-light),
            var(--secondary-light)
        );
}


/* =========================================================
   SELECTION
   ========================================================= */

::selection {
    color:
        white;

    background:
        rgba(143, 124, 255, 0.38);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .player-card {
        grid-template-columns:
            minmax(260px, 350px)
            1fr;

        gap: 32px;

        padding: 28px;
    }

    .album-art-symbol {
        font-size: 3.7rem;
    }
}


@media (max-width: 800px) {

    .site-header {
        padding:
            16px 20px;
    }

    .main-nav {
        gap:
            16px;
    }

    .main-nav a {
        font-size:
            0.75rem;
    }

    .player-card {
        grid-template-columns:
            1fr;

        gap:
            38px;

        padding:
            25px;
    }

    .album-art {
        width:
            min(
                100%,
                380px
            );

        margin:
            0 auto;
    }

    .player-info {
        width:
            100%;
    }

    .track-details {
        text-align:
            center;
    }

    .track-label {
        justify-content:
            center;
    }

    .volume-container {
        width:
            100%;

        max-width:
            300px;
    }

    .astrawave-visualizer {
        left:
            25px;

        right:
            25px;

        width:
            calc(100% - 50px);

        height:
            65px;
    }
}


@media (max-width: 600px) {

    main {
        width:
            min(
                calc(100% - 24px),
                var(--max-width)
            );
    }

    .site-header {
        padding:
            14px 16px;
    }

    .logo {
        font-size:
            1rem;
    }

    .main-nav {
        gap:
            10px;
    }

    .main-nav a {
        font-size:
            0.66rem;
    }

    .hero-section {
        min-height:
            380px;

        padding:
            75px 10px 45px;
    }

    .hero-content h1 {
        font-size:
            clamp(
                3rem,
                17vw,
                5rem
            );
    }

    .hero-description {
        font-size:
            0.84rem;
    }

    .player-card {
        padding:
            18px;

        border-radius:
            24px;
    }

    .album-art {
        border-radius:
            20px;
    }

    .track-details {
        margin-bottom:
            32px;
    }

    .track-details h2 {
        font-size:
            1.55rem;
    }

    .player-controls {
        gap:
            9px;

        flex-wrap:
            wrap;
    }

    .play-button {
        width:
            62px;

        height:
            62px;
    }

    .control-button.secondary {
        width:
            40px;

        height:
            40px;
    }

    .player-controls .advanced-control {
        width:
            38px;

        height:
            38px;

        border-radius:
            9px;

        font-size:
            0.88rem;
    }

    .section-heading {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

    .section-heading h2 {
        font-size:
            2rem;
    }

    .track-count {
        margin-top:
            -5px;
    }

    .playlist-item {
        min-height:
            62px;

        gap:
            10px;

        padding:
            12px;
    }

    .playlist-number {
        width:
            28px;

        font-size:
            0.68rem;
    }

    .playlist-track-info strong {
        font-size:
            0.82rem;
    }

    .playlist-track-info small {
        font-size:
            0.68rem;
    }

    .playlist-favourite {
        width:
            25px;

        font-size:
            1rem;
    }

    .about-card {
        flex-direction:
            column;

        padding:
            22px;
    }

    .about-icon {
        width:
            50px;

        height:
            50px;
    }

    .astrawave-visualizer {
        height:
            48px;

        opacity:
            0.55;
    }
}


@media (max-width: 430px) {

    .main-nav a:nth-child(3) {
        display:
            none;
    }

    .hero-content h1 {
        letter-spacing:
            -0.09em;
    }

    .album-art-symbol {
        font-size:
            3.5rem;
    }

    .player-controls {
        gap:
            7px;
    }

    .astrawave-visualizer {
        height:
            40px;

        opacity:
            0.45;
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior:
            auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}