/* =========================================================
   MODERN MUSIC UI
   Dark / Minimal / Glassmorphism
   ========================================================= */

:root {
    --bg: #08090d;
    --surface: #11131a;
    --surface-2: #181b24;
    --surface-3: #20232d;

    --text: #f5f7fb;
    --muted: #969cab;

    --accent: #8b5cf6;
    --accent-2: #22d3ee;
    --accent-3: #ec4899;

    --border: rgba(255,255,255,.08);
    --radius: 18px;
    --radius-sm: 12px;

    --shadow: 0 20px 60px rgba(0,0,0,.35);

    --player-height: 92px;
}


/* ---------------------------------------------------------
   BASE
   --------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);

    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(139,92,246,.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 10%,
            rgba(34,211,238,.12),
            transparent 30%
        ),
        var(--bg);

    line-height: 1.6;

    /* laisse la place au lecteur fixe */
    padding-bottom: calc(var(--player-height) + 20px);
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.site-header {
    position: relative;
    padding: 70px 20px 90px;
    text-align: center;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.025),
            transparent
        );

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

.header-inner {
    position: relative;
    z-index: 2;

    width: min(1100px, 100%);
    margin: 0 auto;
}


/* petite capsule */

.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ffe34d;
    color: #171717;
    font-weight: 900;
    transform: rotate(-2deg);
    box-shadow: 5px 5px 0 #000;
    margin-bottom: 18px;
}



.site-header h1 {
    margin: 0;

    font-size: clamp(46px, 9vw, 100px);
    line-height: .9;

    letter-spacing: -0.065em;
    font-weight: 800;

    background:
        linear-gradient(
            110deg,
            #ffffff 20%,
            #c4b5fd 50%,
            #67e8f9 85%
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    text-shadow: none;
}


.tagline {
    max-width: 650px;

    margin: 25px auto 5px;

    color: var(--muted);

    font-size: 18px;
    font-weight: 400;
}


.group-name {
    margin: 8px 0;

    color: #6f7480;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .18em;
    text-transform: uppercase;
}


.stars {
    margin-top: 25px;

    color: #a78bfa;

    font-size: 18px;
    letter-spacing: 8px;
}


/* petite étiquette décorative */

.nyerk {
    position: absolute;
    right: 3%;
    top: 5%;

    padding: 9px 13px;

    background: rgba(255,255,255,.05);
    color: #a5f3fc;

    border: 1px solid rgba(165,243,252,.2);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    box-shadow: none;
    transform: rotate(3deg);

    backdrop-filter: blur(12px);
}


/* ---------------------------------------------------------
   CONTAINER
   --------------------------------------------------------- */

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 55px auto 100px;
}


/* ---------------------------------------------------------
   ALBUM
   --------------------------------------------------------- */

.album {
    margin-bottom: 90px;
}


.album-header {
    display: grid;

    grid-template-columns: 300px 1fr;

    gap: 50px;

    align-items: center;

    margin-bottom: 35px;
}


.album-cover-wrap {
    transform: none;
}


.album-cover {
    display: block;

    width: 100%;
    aspect-ratio: 1;

    object-fit: cover;

    border: 0;
    border-radius: 22px;

    box-shadow:
        0 25px 60px rgba(0,0,0,.45);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.album-cover:hover {
    transform: translateY(-5px) scale(1.015);

    box-shadow:
        0 35px 80px rgba(0,0,0,.55);
}


.album-info {
    color: var(--text);
}


.album-kicker {
    display: inline-block;

    margin-bottom: 8px;

    color: #a78bfa;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .18em;
    text-transform: uppercase;
}


.album-info h2 {
    margin: 0;

    font-size: clamp(40px, 6vw, 72px);

    line-height: .95;

    letter-spacing: -.055em;

    font-weight: 800;

    text-shadow: none;
}


.album-year {
    margin-top: 16px;

    color: #67e8f9;

    font-size: 13px;
    font-weight: 700;
}


.album-description {
    max-width: 650px;

    margin-top: 18px;

    color: var(--muted);

    line-height: 1.75;
}


/* ---------------------------------------------------------
   SUMMARY
   --------------------------------------------------------- */

.summary {
    margin-bottom: 30px;

    padding: 25px 28px;

    background: rgba(255,255,255,.035);

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

    box-shadow: none;

    backdrop-filter: blur(15px);
}


.summary-title {
    margin-bottom: 14px;

    color: var(--text);

    font-size: 18px;
    font-weight: 700;
}


.summary ol {
    margin: 0;
    padding-left: 22px;
}


.summary li {
    padding: 5px 0;

    color: var(--muted);
}


.summary a {
    color: #c4b5fd;

    font-weight: 600;

    text-decoration: none;

    transition: color .2s ease;
}


.summary a:hover {
    color: #67e8f9;
}


/* ---------------------------------------------------------
   SONGS
   --------------------------------------------------------- */

.songs {
    display: grid;
    gap: 16px;
}


.song-card {
    position: relative;

    display: grid;

    grid-template-columns: 64px 1fr;

    background: var(--surface);

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

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: 0 10px 35px rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}


.song-card:hover {
    transform: translateY(-3px);

    background: var(--surface-2);

    border-color: rgba(139,92,246,.35);
}


.song-number {
    display: flex;

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

    padding-top: 27px;

    color: white;

    background:
        linear-gradient(
            180deg,
            #8b5cf6,
            #6d28d9
        );

    font-size: 16px;
    font-weight: 800;
}


.song-2 .song-number {
    background:
        linear-gradient(
            180deg,
            #22d3ee,
            #0891b2
        );
}


.song-3 .song-number {
    background:
        linear-gradient(
            180deg,
            #34d399,
            #059669
        );
}


.song-4 .song-number {
    background:
        linear-gradient(
            180deg,
            #f59e0b,
            #d97706
        );
}


.song-content {
    padding: 25px 28px 27px;
}


.song-heading h3 {
    margin: 0;

    font-size: clamp(25px, 4vw, 38px);

    line-height: 1.05;

    letter-spacing: -.035em;

    font-weight: 750;
}


.author {
    margin-top: 6px;

    color: var(--muted);

    font-size: 14px;

    font-style: normal;
}


/* ---------------------------------------------------------
   BOUTON LECTURE PAR CHANSON
   --------------------------------------------------------- */

.song-play-box {
    margin: 20px 0 4px;
}


.song-play {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    padding: 11px 22px;

    background:
        linear-gradient(
            135deg,
            rgba(139,92,246,.22),
            rgba(34,211,238,.10)
        );

    border: 1px solid rgba(139,92,246,.35);
    border-radius: 999px;

    color: #e4e0f7;

    font-family: inherit;
    font-size: 13px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}


.song-play:hover {
    background:
        linear-gradient(
            135deg,
            rgba(139,92,246,.35),
            rgba(34,211,238,.16)
        );

    border-color: rgba(139,92,246,.55);

    transform: translateY(-2px);
}


.song-play-icon {
    font-size: 12px;
    line-height: 1;
}


/* chanson en cours de lecture */

.song-card.song-current {
    border-color: rgba(139,92,246,.55);

    background: var(--surface-2);
}


.song-card.song-current .song-number {
    background:
        linear-gradient(
            180deg,
            #a78bfa,
            #7c3aed
        );
}


/* ---------------------------------------------------------
   LYRICS
   --------------------------------------------------------- */

.lyrics {
    margin-top: 25px;
}


.lyric-section {
    margin: 14px 0;

    padding: 18px 20px;

    line-height: 1.75;

    border-radius: var(--radius-sm);
}


.lyric-section.verse {
    background: rgba(255,255,255,.025);

    border-left: 3px solid #444955;
}


.lyric-section.chorus {
    background:
        linear-gradient(
            135deg,
            rgba(139,92,246,.12),
            rgba(34,211,238,.06)
        );

    border: 1px solid rgba(139,92,246,.22);

    transform: none;

    box-shadow: none;
}


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

    color: #7f8490;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .15em;

    text-transform: uppercase;
}


.chorus .section-label {
    color: #a78bfa;

    opacity: 1;
}


.lyric-text {
    color: #d7d9df;

    font-size: 16px;
}


/* ---------------------------------------------------------
   SITE PLAYER — LECTEUR UNIQUE FIXE EN BAS DE PAGE
   --------------------------------------------------------- */

.site-player {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;

    background: rgba(10,11,16,.9);

    border-top: 1px solid rgba(255,255,255,.12);

    box-shadow: 0 -15px 45px rgba(0,0,0,.5);

    backdrop-filter: blur(22px);
}


.site-player-progress {
    position: relative;

    height: 5px;

    background: rgba(255,255,255,.07);

    cursor: pointer;
}


.site-player-progress-fill {
    width: 0;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #8b5cf6,
            #22d3ee
        );

    transition: width .15s linear;
}


.site-player-inner {
    display: flex;

    align-items: center;
    gap: 20px;

    width: min(1100px, calc(100% - 28px));
    margin: 0 auto;

    padding: 11px 0;
}


#sitePlayerAudio {
    display: none;
}


.player-controls {
    display: flex;

    align-items: center;
    gap: 9px;

    flex-shrink: 0;
}


.player-info {
    flex: 1;

    min-width: 0;
}


.player-track {
    color: #f5f7fb;

    font-size: 16px;
    font-weight: 700;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.player-meta {
    color: #969cab;

    font-size: 12px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.player-side {
    display: flex;
    flex-direction: column;

    align-items: flex-end;
    gap: 2px;

    flex-shrink: 0;
}


.player-position {
    color: #c5c8d0;

    font-size: 11px;
    font-weight: 700;
}


.player-time {
    color: #777d89;

    font-size: 11px;

    font-variant-numeric: tabular-nums;
}


/* ---------------------------------------------------------
   BOUTONS DU LECTEUR
   --------------------------------------------------------- */

.player-button {
    width: 44px;
    height: 44px;

    padding: 0;

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

    border-radius: 50%;

    background: rgba(255,255,255,.07);

    color: white;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: none;

    transition:
        background .2s ease,
        transform .2s ease;
}


.player-button:hover {
    background: rgba(255,255,255,.13);

    transform: scale(1.05);
}


.player-play {
    width: 54px;
    height: 54px;

    background: #8b5cf6;

    border-color: transparent;

    font-size: 18px;

    box-shadow:
        0 8px 25px rgba(139,92,246,.35);
}


.player-play:hover {
    background: #7c3aed;
}


/* ---------------------------------------------------------
   LINKS
   --------------------------------------------------------- */

.back-link {
    display: inline-flex;

    margin-top: 10px;

    color: #858b98;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition: color .2s ease;
}


.back-link:hover {
    color: #a78bfa;
}


/* ---------------------------------------------------------
   EMPTY
   --------------------------------------------------------- */

.empty {
    padding: 40px;

    background: var(--surface);

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

    border-radius: var(--radius);

    box-shadow: none;
}


/* ---------------------------------------------------------
   CODE
   --------------------------------------------------------- */

code {
    padding: 3px 6px;

    background: rgba(255,255,255,.08);

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

    border-radius: 5px;

    color: #c4b5fd;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

footer {
    padding: 35px 20px;

    text-align: center;

    color: #686d78;

    font-size: 12px;

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


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 800px) {

    .site-header {
        padding: 55px 20px 70px;
    }

    .nyerk {
        position: static;

        display: inline-flex;

        margin-top: 25px;

        transform: none;
    }

    .album-header {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .album-cover-wrap {
        width: min(320px, 75vw);

        margin: 0 auto;
    }

    .album-info {
        text-align: center;
    }

    .album-description {
        margin-left: auto;
        margin-right: auto;
    }

    .song-card {
        grid-template-columns: 52px 1fr;
    }

    .song-content {
        padding: 22px 20px;
    }

    .site-player-inner {
        gap: 14px;
    }
}


@media (max-width: 500px) {

    :root {
        --player-height: 78px;
    }

    .container {
        width: min(100% - 20px, 1100px);

        margin-top: 35px;
    }

    .site-header {
        padding-top: 40px;
    }

    .site-header h1 {
        letter-spacing: -.045em;
    }

    .tagline {
        font-size: 16px;
    }

    .album-info h2 {
        font-size: 42px;
    }

    .summary {
        padding: 20px;
    }

    .song-card {
        grid-template-columns: 46px 1fr;

        border-radius: 14px;
    }

    .song-number {
        padding-top: 23px;

        font-size: 14px;
    }

    .song-content {
        padding: 20px 17px;
    }

    .song-play {
        padding: 10px 18px;

        font-size: 12px;
    }

    .lyric-section {
        padding: 16px;
    }

    .site-player-inner {
        gap: 12px;

        padding: 9px 0;
    }

    .player-button {
        width: 40px;
        height: 40px;

        font-size: 14px;
    }

    .player-play {
        width: 50px;
        height: 50px;

        font-size: 16px;
    }

    .player-track {
        font-size: 14px;
    }

    .player-meta {
        font-size: 11px;
    }

    .player-time {
        display: none;
    }
}