/* =========================================================
   SIBUMING × DJ SEVEN
   BIRTHDAY MIX 2015
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;

    margin: 0;
    padding: 0;
}

html {
    background: #03040a;
}

body {
    min-height: 100vh;

    overflow-x: hidden;

    color: #fff;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input {
    font: inherit;
}


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

.site-bg {
    position: fixed;
    inset: 0;

    z-index: -20;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background:
        #03040a
        url("../images/bg.png")
        center center /
        cover
        no-repeat;
}

.site-bg-video {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    min-width: 100%;
    min-height: 100%;

    object-fit: cover;
    object-position: center center;

    transform:
        translate(-50%, -50%)
        scale(1.015);

    pointer-events: none;
}

.site-overlay {
    position: fixed;
    inset: 0;

    z-index: -10;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.08),
            rgba(0,0,0,.02) 30%,
            rgba(2,3,15,.14) 60%,
            rgba(0,0,8,.35)
        );
}


/* =========================================================
   PAGE
   ========================================================= */

.page {
    width: 100%;

    min-height: 100svh;

    display: flex;
    flex-direction: column;

    padding:
        28px
        clamp(20px, 4vw, 70px)
        25px;
}


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

.topbar {
    width: 100%;

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

    gap: 25px;
}

.top-logo {
    display: block;

    width:
        clamp(150px, 15vw, 245px);

    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 5px 20px
            rgba(0,0,0,.6)
        );
}

.year {
    font-size: 8px;

    font-weight: 600;

    letter-spacing: .40em;

    white-space: nowrap;

    opacity: .75;

    text-shadow:
        0 3px 16px
        rgba(0,0,0,.8);
}


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

.hero {
    width: 100%;

    flex: 1;

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

    padding:
        45px
        0
        35px;
}


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

.player {
    position: relative;

    width:
        min(980px, 92vw);

    overflow: hidden;

    padding:
        clamp(22px, 3vw, 35px);

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

    border-radius: 27px;

    background:
        linear-gradient(
            135deg,
            rgba(12,22,66,.64),
            rgba(23,12,64,.58) 48%,
            rgba(42,10,33,.58)
        );

    backdrop-filter:
        blur(26px)
        saturate(165%);

    -webkit-backdrop-filter:
        blur(26px)
        saturate(165%);

    box-shadow:
        0 32px 100px
        rgba(0,0,0,.48),

        inset
        0 1px 0
        rgba(255,255,255,.17),

        0 0 55px
        rgba(83,69,255,.12);
}

.player::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            115deg,
            rgba(255,255,255,.11),
            transparent 28%,
            transparent 65%,
            rgba(255,95,170,.08)
        );
}


/* =========================================================
   COLLAB LOGOS
   ========================================================= */

.collab {
    position: relative;
    z-index: 2;

    width: 100%;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap:
        clamp(20px, 4vw, 55px);

    margin-bottom:
        clamp(20px, 3vw, 32px);
}

.collab-logo {
    min-width: 0;

    display: flex;
    align-items: center;
}

.sibuming-logo {
    justify-content: flex-end;
}

.seven-logo {
    justify-content: flex-start;
}

.collab-logo img {
    display: block;

    width: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 10px 24px
            rgba(0,0,0,.32)
        );
}

.sibuming-logo img {
    max-width:
        min(330px, 100%);

    max-height: 115px;
}

.seven-logo img {
    max-width:
        min(235px, 100%);

    max-height: 155px;
}

.collab-x {
    font-size:
        clamp(24px, 3vw, 36px);

    font-weight: 200;

    opacity: .65;
}


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

.track-row {
    position: relative;
    z-index: 2;

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

    gap: 30px;

    padding-top: 6px;

    margin-bottom: 18px;
}

.track-copy {
    min-width: 0;
}

.track-title {
    font-size:
        clamp(12px, 1.25vw, 15px);

    font-weight: 850;

    letter-spacing: .035em;
}

.track-artist {
    margin-top: 6px;

    font-size: 9px;

    font-weight: 650;

    letter-spacing: .28em;

    opacity: .57;
}


/* =========================================================
   PLAYS
   ========================================================= */

.plays {
    display: flex;
    align-items: center;

    gap: 8px;

    white-space: nowrap;

    font-size: 10px;

    font-weight: 650;

    letter-spacing: .20em;

    opacity: .82;
}

.plays-icon {
    font-size: 13px;
}

.play-count {
    color: #67b8ff;

    font-size: 18px;

    font-weight: 900;

    letter-spacing: 0;
}


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

.progress-area {
    position: relative;
    z-index: 2;

    width: 100%;
}

.range {
    width: 100%;

    height: 4px;

    margin: 0;

    border: none;

    border-radius: 999px;

    outline: none;

    appearance: none;
    -webkit-appearance: none;

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

    cursor: pointer;
}

.range::-webkit-slider-thumb {
    width: 14px;
    height: 14px;

    border: none;

    border-radius: 50%;

    appearance: none;
    -webkit-appearance: none;

    background: #fff;

    box-shadow:
        0 0 17px
        rgba(92,174,255,.95);

    cursor: pointer;
}

.range::-moz-range-thumb {
    width: 14px;
    height: 14px;

    border: none;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 0 17px
        rgba(92,174,255,.95);

    cursor: pointer;
}

.time-row {
    display: flex;
    justify-content: space-between;

    margin-top: 8px;

    font-size: 9px;

    opacity: .65;
}


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

.controls {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 20px;

    margin-top: 18px;
}

.controls-left,
.controls-right {
    display: flex;
    align-items: center;

    gap: 13px;
}

.controls-right {
    justify-content: flex-end;
}

.controls-center {
    display: flex;
    justify-content: center;
}


/* =========================================================
   PLAY BUTTON
   ========================================================= */

.play-btn {
    width: 68px;
    height: 68px;

    display: grid;
    place-items: center;

    padding: 0;

    color: #fff;

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

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 25%,
            rgba(255,255,255,.25),
            rgba(103,63,205,.33) 45%,
            rgba(11,19,48,.75)
        );

    box-shadow:
        0 0 0 7px
        rgba(92,70,255,.07),

        0 0 35px
        rgba(54,153,255,.33),

        0 0 50px
        rgba(177,67,255,.18);

    cursor: pointer;

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

.play-btn:hover {
    transform: scale(1.07);

    box-shadow:
        0 0 0 8px
        rgba(92,70,255,.10),

        0 0 48px
        rgba(54,153,255,.48),

        0 0 65px
        rgba(177,67,255,.25);
}

.play-btn:active {
    transform: scale(.96);
}

#playIcon {
    display: block;

    margin-left: 4px;

    font-size: 23px;
}

.playing #playIcon {
    margin-left: 0;
}


/* =========================================================
   SMALL CONTROLS
   ========================================================= */

.control-btn {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    padding: 0;

    color: #fff;

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

    border-radius: 12px;

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

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    cursor: pointer;

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

.control-btn:hover {
    background:
        rgba(255,255,255,.14);

    transform:
        translateY(-1px);
}

.volume {
    width: 105px;
}


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

footer {
    width: 100%;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 20px;

    padding-top: 10px;

    font-size: 7px;

    font-weight: 600;

    letter-spacing: .28em;

    text-transform: uppercase;

    opacity: .64;

    text-shadow:
        0 2px 14px
        rgba(0,0,0,.9);
}

footer div:nth-child(2) {
    text-align: center;
}

footer div:last-child {
    text-align: right;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .site-bg {
        background-position:
            center center;
    }

    .site-bg-video {
        object-position:
            center center;

        transform:
            translate(-50%, -50%);
    }

    .page {
        padding:
            18px
            13px
            18px;
    }

    .top-logo {
        width: 145px;
    }

    .year {
        font-size: 6px;

        letter-spacing: .23em;
    }

    .hero {
        padding:
            30px
            0
            25px;
    }

    .player {
        width: 100%;

        padding:
            20px
            16px
            18px;

        border-radius: 21px;
    }

    .collab {
        gap: 12px;

        margin-bottom: 22px;
    }

    .sibuming-logo img {
        max-width: 160px;
        max-height: 70px;
    }

    .seven-logo img {
        max-width: 125px;
        max-height: 105px;
    }

    .collab-x {
        font-size: 19px;
    }

    .track-row {
        gap: 12px;
    }

    .track-title {
        font-size: 10px;
    }

    .track-artist {
        font-size: 7px;

        letter-spacing: .20em;
    }

    .plays {
        gap: 4px;

        font-size: 7px;

        letter-spacing: .08em;
    }

    .play-count {
        font-size: 14px;
    }

    .controls {
        gap: 8px;
    }

    .volume {
        display: none;
    }

    .control-btn {
        width: 38px;
        height: 38px;
    }

    .play-btn {
        width: 58px;
        height: 58px;
    }

    #playIcon {
        font-size: 19px;
    }

    footer {
        grid-template-columns:
            1fr 1fr;

        font-size: 5px;

        letter-spacing: .15em;
    }

    footer div:nth-child(2) {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .year {
        display: none;
    }

    .top-logo {
        width: 135px;
    }

    .sibuming-logo img {
        max-width: 135px;
    }

    .seven-logo img {
        max-width: 105px;
    }

    .track-title {
        max-width: 175px;
    }

    .plays span:last-child {
        display: none;
    }
}