/* =========================================
   T-KEL DECK
   PROFESSIONAL STREAMING PLATFORM STYLES
========================================= */

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

:root {
    --blue: #0066ff;
    --blue-dark: #0047b8;
    --deep: #061a3a;
    --black: #07111f;
    --white: #ffffff;
    --light: #f5f8fc;
    --lighter: #f8fbff;
    --gray: #687386;
    --muted: #8b96a8;
    --border: #e2e8f1;
    --success: #16a34a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--black);
    padding-bottom: 94px;
    overflow-x: hidden;
}


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

.deck-header {
    width: 100%;
    min-height: 76px;

    padding: 0 4%;

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

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(18px);
}

.deck-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.deck-logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.deck-name {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
}

.desktop-nav a {
    color: #4d596b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-button {
    width: 42px;
    height: 42px;

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

    background: white;
    color: var(--deep);

    cursor: pointer;
    font-size: 18px;
}

.login-button {
    border: none;
    background: var(--blue);
    color: white;

    padding: 11px 21px;

    border-radius: 9px;

    font-weight: 800;
    cursor: pointer;

    transition: 0.2s ease;
}

.login-button:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.menu-button {
    display: none;
}


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

.mobile-menu {
    display: none;

    position: fixed;

    top: 76px;
    left: 0;
    right: 0;

    z-index: 9999;

    padding: 18px 5%;

    background: white;

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

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);

    flex-direction: column;
    gap: 7px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a,
.mobile-menu button {
    width: 100%;

    padding: 14px 16px;

    border: none;
    border-radius: 10px;

    background: transparent;

    color: var(--deep);

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

    text-align: left;
    text-decoration: none;

    cursor: pointer;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
    background: var(--blue);
    color: white;
}


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

.search-panel {
    display: none;

    position: fixed;

    top: 76px;
    left: 0;
    right: 0;

    z-index: 9998;

    padding: 20px 4%;

    background: white;

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

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.search-panel.active {
    display: block;
}

.search-box {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;

    min-width: 0;

    height: 50px;

    padding: 0 18px;

    border: 2px solid #dce6f5;
    border-radius: 12px;

    outline: none;

    font-size: 1rem;

    color: var(--deep);
}

.search-box input:focus {
    border-color: var(--blue);
}

.search-box button {
    width: 50px;
    height: 50px;

    border: none;
    border-radius: 10px;

    background: var(--blue);
    color: white;

    font-size: 1.1rem;

    cursor: pointer;
}

.search-results {
    width: 100%;
    max-width: 1100px;

    margin: 12px auto 0;

    color: var(--deep);
    font-size: 0.95rem;
}


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

.hero {
    min-height: 590px;

    padding: 90px 7%;

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(0, 102, 255, 0.4),
            transparent 25%
        ),
        radial-gradient(
            circle at 95% 90%,
            rgba(117, 173, 255, 0.2),
            transparent 25%
        ),
        linear-gradient(
            120deg,
            #021027 0%,
            #062a61 52%,
            #0066ff 100%
        );

    color: white;
}

.hero::before {
    content: "♪";

    position: absolute;

    right: 8%;
    top: 20px;

    font-size: clamp(220px, 30vw, 420px);

    font-weight: 900;

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

    transform: rotate(-10deg);
}

.hero::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -180px;
    bottom: -280px;

    border: 2px solid rgba(255, 255, 255, 0.1);

    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(255,255,255,0.025),
        0 0 0 70px rgba(255,255,255,0.018),
        0 0 0 105px rgba(255,255,255,0.012);
}

.hero-content {
    width: min(850px, 100%);

    position: relative;
    z-index: 2;
}

.hero-small {
    color: #9fc4ff;

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

    letter-spacing: 4px;

    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(58px, 10vw, 120px);

    line-height: 0.9;

    letter-spacing: -6px;

    font-weight: 1000;
}

.hero h1 span {
    color: #75adff;
}

.deck-slogan {
    margin-top: 20px;

    font-size: clamp(18px, 2.5vw, 25px);

    font-weight: 900;

    letter-spacing: 0.5px;
}

.hero h2 {
    margin-top: 18px;

    font-size: clamp(27px, 4vw, 46px);

    line-height: 1.05;
}

.hero-description {
    margin-top: 18px;

    max-width: 620px;

    color: #dceaff;

    font-size: 17px;

    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}

.primary-button,
.secondary-button {
    min-height: 48px;

    padding: 13px 22px;

    border-radius: 9px;

    font-weight: 900;
    font-size: 14px;

    cursor: pointer;

    transition: 0.2s ease;
}

.primary-button {
    background: white;
    color: var(--blue);

    border: 2px solid white;
}

.secondary-button {
    background: transparent;
    color: white;

    border: 2px solid rgba(255,255,255,0.7);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}


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

.music-section,
.artists-section {
    width: 92%;
    max-width: 1700px;

    margin: 0 auto;

    padding: 82px 0 20px;
}

.section-heading {
    display: flex;

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

    gap: 20px;

    margin-bottom: 30px;
}

.section-label {
    color: var(--blue);

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

    letter-spacing: 2px;

    margin-bottom: 7px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);

    line-height: 1;
}

.section-heading a {
    color: var(--blue);

    text-decoration: none;

    font-weight: 900;

    white-space: nowrap;
}


/* =========================================
   MUSIC GRID
========================================= */

.music-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}

.music-card {
    position: relative;

    min-width: 0;

    padding-bottom: 14px;

    transition: transform 0.25s ease;
}

.music-card:hover {
    transform: translateY(-5px);
}

.album-cover {
    width: 100%;

    aspect-ratio: 1 / 1;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #061a3a,
            #0066ff
        );

    display: grid;
    place-items: center;

    color: white;

    font-size: 70px;

    margin-bottom: 15px;

    box-shadow:
        0 12px 30px rgba(6,26,58,0.13);
}

.music-card h3 {
    font-size: 17px;

    margin-bottom: 5px;
}

.music-card p {
    color: var(--gray);

    font-size: 14px;
}

.play-card {
    position: absolute;

    right: 12px;
    bottom: 42px;

    width: 44px;
    height: 44px;

    border: none;
    border-radius: 50%;

    background: var(--blue);
    color: white;

    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(0,102,255,0.3);
}


/* =========================================
   RELEASES
========================================= */

.release-list {
    border-top: 1px solid var(--border);
}

.release-item {
    min-height: 82px;

    display: grid;

    grid-template-columns:
        45px 58px minmax(0, 1fr) 65px 45px;

    align-items: center;

    gap: 15px;

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

.release-number {
    color: #98a2b3;
    font-weight: 800;
}

.release-cover {
    width: 52px;
    height: 52px;

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            #061a3a,
            #0066ff
        );

    color: white;

    display: grid;
    place-items: center;

    font-size: 23px;
}

.release-info {
    min-width: 0;
}

.release-info h3 {
    font-size: 15px;

    margin-bottom: 4px;

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

.release-info p {
    font-size: 13px;
    color: var(--gray);
}

.release-duration {
    color: var(--gray);
    font-size: 13px;
}

.release-play {
    border: none;

    background: transparent;

    color: var(--blue);

    font-size: 18px;

    cursor: pointer;
}


/* =========================================
   ARTISTS
========================================= */

.artists-section {
    padding-bottom: 90px;
}

.artist-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}

.artist-card {
    text-align: center;

    transition: transform 0.25s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
}

.artist-image {
    width: 155px;
    height: 155px;

    margin: 0 auto 16px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            145deg,
            #061a3a,
            #0066ff
        );

    color: white;

    font-size: 55px;

    border: 5px solid #eef4ff;
}

.artist-card h3 {
    font-size: 17px;
}

.artist-card p {
    color: var(--gray);

    margin-top: 5px;

    font-size: 13px;
}


/* =========================================
   PLATFORM INFORMATION
========================================= */

.deck-platform-section {
    width: 100%;

    padding: 100px 6%;

    background:
        linear-gradient(
            135deg,
            #f4f8ff,
            #ffffff
        );

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

.platform-content {
    width: 92%;
    max-width: 1500px;

    margin: 0 auto;
}

.platform-content h2 {
    max-width: 850px;

    margin-top: 10px;

    font-size: clamp(32px, 5vw, 58px);

    line-height: 1.05;
}

.platform-content > p:not(.section-label) {
    max-width: 760px;

    margin-top: 18px;

    color: var(--gray);

    font-size: 17px;

    line-height: 1.7;
}

.platform-features {
    margin-top: 42px;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.platform-features div {
    padding: 22px;

    background: white;

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

    border-radius: 14px;
}

.platform-features strong,
.platform-features span {
    display: block;
}

.platform-features strong {
    font-size: 17px;
}

.platform-features span {
    margin-top: 8px;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.5;
}


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

.mini-player {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    min-height: 84px;

    padding: 12px 4%;

    background: rgba(6, 26, 58, 0.98);

    color: white;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr) auto minmax(0, 1fr);

    align-items: center;

    gap: 20px;

    z-index: 2000;

    box-shadow:
        0 -10px 30px rgba(0,0,0,0.15);
}

.player-song {
    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;
}

.player-cover {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: var(--blue);

    border-radius: 7px;

    font-size: 22px;
}

.player-song > div:last-child {
    min-width: 0;
}

.player-song strong,
.player-song small {
    display: block;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.player-song strong {
    font-size: 14px;
}

.player-song small {
    margin-top: 4px;

    color: #aabbd3;

    font-size: 12px;
}

.player-controls {
    display: flex;

    align-items: center;

    gap: 15px;
}

.player-controls button {
    border: none;

    background: transparent;

    color: white;

    font-size: 18px;

    cursor: pointer;
}

.player-controls .main-play {
    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: white;

    color: var(--deep);

    font-size: 15px;
}

.player-extra {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;

    color: #aabbd3;

    font-size: 11px;
}

.progress-bar {
    width: min(280px, 25vw);

    height: 4px;

    background: #294365;

    border-radius: 10px;

    overflow: hidden;
}

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

    background: var(--blue);
}


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

footer {
    padding: 70px 5% 115px;

    background: #031126;

    color: white;

    text-align: center;
}

.footer-brand {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;
}

.footer-logo-image {
    width: 48px;
    height: 48px;

    object-fit: contain;
}

.footer-brand span {
    font-size: 1.35rem;
    font-weight: 900;
}

footer p {
    color: #aabbd3;

    margin-top: 10px;
}

footer .copyright {
    margin-top: 25px;

    font-size: 12px;
}

footer strong {
    display: block;

    color: #72aaff;

    margin-top: 25px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 18px;
    }

    .music-grid,
    .artist-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .platform-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .mini-player {
        grid-template-columns: 1fr auto;
    }

    .player-extra {
        display: none;
    }
}


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

@media (max-width: 768px) {

    body {
        padding-bottom: 82px;
    }

    .deck-header {
        min-height: 64px;

        padding: 0 4%;
    }

    .deck-logo-image {
        width: 44px;
        height: 44px;
    }

    .deck-name {
        font-size: 1.1rem;
    }

    .desktop-nav,
    .login-button {
        display: none;
    }

    .menu-button {
        display: inline-flex;

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

        width: 42px;
        height: 42px;

        border: none;
        border-radius: 10px;

        background: var(--blue);
        color: white;

        font-size: 1.3rem;

        cursor: pointer;
    }

    .mobile-menu {
        top: 64px;
    }

    .search-panel {
        top: 64px;
    }

    .hero {
        min-height: 570px;

        padding: 70px 7%;
    }

    .hero h1 {
        font-size: clamp(52px, 17vw, 82px);

        letter-spacing: -4px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero-description {
        font-size: 15px;
    }

    .music-section,
    .artists-section {
        width: 92%;

        padding-top: 62px;
    }

    .section-heading {
        align-items: flex-end;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .music-grid,
    .artist-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 15px;
    }

    .album-cover {
        border-radius: 11px;

        font-size: 46px;
    }

    .artist-image {
        width: 112px;
        height: 112px;

        font-size: 42px;
    }

    .platform-content {
        width: 92%;
    }

    .platform-features {
        grid-template-columns: 1fr;
    }

    .release-item {
        grid-template-columns:
            25px 48px minmax(0, 1fr) 35px;

        gap: 9px;
    }

    .release-cover {
        width: 46px;
        height: 46px;
    }

    .release-duration {
        display: none;
    }

    .mini-player {
        min-height: 74px;

        padding: 8px 4%;

        grid-template-columns: 1fr auto;

        gap: 10px;
    }

    .player-cover {
        width: 45px;
        height: 45px;
    }

    .player-controls {
        gap: 8px;
    }

    .player-controls button {
        font-size: 15px;
    }

    .player-controls .main-play {
        width: 40px;
        height: 40px;
    }

    footer {
        padding-bottom: 100px;
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .music-grid,
    .artist-grid {
        gap: 10px;
    }

    .music-card h3 {
        font-size: 14px;
    }

    .music-card p {
        font-size: 12px;
    }

    .play-card {
        width: 38px;
        height: 38px;

        right: 7px;
    }

    .hero {
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }
}

/* =========================================
   T-KEL DECK VOLUME CONTROL
========================================= */

.deck-volume {
    position: relative;
    display: flex;
    align-items: center;
}

.volume-button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
    font-size: 18px;
    display: grid;
    place-items: center;
    transition: 0.2s ease;
}

.volume-button:hover {
    background: var(--blue);
    transform: scale(1.05);
}

.volume-panel {
    position: absolute;
    right: 0;
    bottom: 54px;
    width: 245px;
    padding: 18px;
    background: rgba(3, 17, 38, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
}

.volume-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.volume-brand {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 16px;
}

.volume-brand-main {
    color: white;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
}

.volume-brand-sub {
    color: #72aaff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.volume-control-row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.volume-control-row > span:first-child {
    width: 22px;
    font-size: 16px;
    text-align: center;
}

.volume-slider {
    flex: 1;
    min-width: 0;
    height: 5px;
    accent-color: var(--blue);
    cursor: pointer;
}

#volumeValue {
    width: 40px;
    color: #aabbd3;
    font-size: 12px;
    font-weight: 800;
    text-align: right;
}

.mute-button {
    width: 100%;
    margin-top: 14px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.mute-button:hover {
    background: var(--blue);
    border-color: var(--blue);
}

/* MOBILE VOLUME */

@media (max-width: 768px) {

    .volume-panel {
        right: -5px;
        bottom: 51px;
        width: min(245px, 78vw);
    }

    .volume-button {
        width: 40px;
        height: 40px;
    }

}

/* =========================================
   PROFESSIONAL DECK PLAYER CONTROLS
   ========================================= */

.expanded-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 26px 0 22px;
}

.player-action-button,
.expanded-play-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.player-action-button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: transparent;
    color: #172033;
}

.player-action-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.player-action-button:hover {
    background: #f0f4fa;
    color: #0066ff;
    transform: scale(1.08);
}

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

/* Main play button */

.expanded-play-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0066ff;
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(0, 102, 255, 0.25);
}

.expanded-play-button svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.expanded-play-button:hover {
    background: #0047b8;
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(0, 71, 184, 0.30);
}

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

/* Play / pause switching */

.expanded-play-button .pause-icon {
    display: none;
}

.expanded-play-button.is-playing .play-icon {
    display: none;
}

.expanded-play-button.is-playing .pause-icon {
    display: block;
}

/* Active shuffle */

.player-action-button.active {
    color: #0066ff;
    background: #edf4ff;
}

/* Active repeat */

#repeatButton.active {
    color: #0066ff;
    background: #edf4ff;
}

/* Repeat-one number */

.repeat-one-mark {
    position: absolute;
    right: 7px;
    bottom: 6px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #0066ff;
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
}

#repeatButton.repeat-one .repeat-one-mark {
    display: flex;
}

/* Hold-to-seek visual */

.player-action-button.fast-seeking {
    color: #0066ff;
    background: #edf4ff;
    transform: scale(1.12);
}

/* Keyboard accessibility */

.player-action-button:focus-visible,
.expanded-play-button:focus-visible {
    outline: 3px solid rgba(0, 102, 255, 0.25);
    outline-offset: 3px;
}


/* =========================
   MAKE MINI PLAYER CLICKABLE
========================== */

.mini-player {
    cursor: pointer;
}


.player-controls button,
.deck-volume,
.volume-button,
.volume-panel,
.progress-bar {
    cursor: default;
}


.player-controls button,
.volume-button,
.volume-panel button,
.progress-bar {
    position: relative;
    z-index: 5;
}


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

@media (max-width: 600px) {

    .expanded-player {
        padding:
            14px
            16px
            24px;
    }


    .large-album-cover {
        width: min(78vw, 330px);

        margin-bottom: 20px;

        border-radius: 14px;
    }


    .expanded-controls {
        gap: 8px;
    }


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

        font-size: 18px;
    }


    .expanded-play-button {
        width: 58px;
        height: 58px;

        font-size: 21px;
    }


    .expanded-player-actions {
        gap: 7px;
    }


    .expanded-player-actions button {
        padding: 9px 13px;
    }

}

/* =========================================
   T-KEL DECK — FINAL EXPANDED PLAYER FIX
========================================= */

.expanded-player {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    max-height: 92vh;

    overflow-y: auto;
    overflow-x: hidden;

    background: #ffffff;
    color: var(--deep);

    z-index: 3000;

    transform: translateY(105%);
    transition: transform 0.35s ease;

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

    box-shadow:
        0 -15px 50px rgba(0, 0, 0, 0.18);

    padding: 0;
}

.expanded-player.active {
    transform: translateY(0);
}


/* TOP BAR */

.expanded-player-top {
    width: 100%;

    min-height: 64px;

    padding: 10px 5%;

    display: grid;

    grid-template-columns: 44px 1fr 44px;

    align-items: center;

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

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

    position: sticky;
    top: 0;

    z-index: 5;
}

.expanded-player-title {
    text-align: center;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 2px;

    color: var(--deep);
}

.player-close-button,
.player-top-button {
    width: 40px;
    height: 40px;

    border: none;

    border-radius: 50%;

    background: #f2f5f9;

    color: var(--deep);

    display: grid;

    place-items: center;

    cursor: pointer;

    font-size: 17px;

    transition: 0.2s ease;
}

.player-close-button:hover,
.player-top-button:hover {
    background: #e8f1ff;

    color: var(--blue);

    transform: scale(1.05);
}


/* MAIN PLAYER CONTENT */

.expanded-player-content {
    width: min(720px, 90%);

    margin: 0 auto;

    padding: 28px 0 40px;

    display: flex;

    flex-direction: column;

    align-items: center;
}


/* ALBUM ART */

.large-album-cover {
    width: min(360px, 70vw);

    aspect-ratio: 1 / 1;

    margin: 0 auto 22px;

    border-radius: 18px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #061a3a,
            #0066ff
        );

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow:
        0 20px 50px rgba(6, 26, 58, 0.18);
}

.large-album-cover img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* SONG INFORMATION */

.expanded-song-info {
    width: 100%;

    text-align: center;

    margin-bottom: 24px;
}

.expanded-song-info h2 {
    font-size: clamp(21px, 3vw, 30px);

    line-height: 1.15;

    margin: 0;
}

.expanded-song-info p {
    margin-top: 7px;

    color: var(--gray);

    font-size: 14px;
}


/* PROGRESS */

.expanded-progress-area {
    width: 100%;
}

.expanded-progress-bar {
    width: 100%;

    height: 5px;

    border-radius: 10px;

    overflow: hidden;

    background: #e2e8f1;

    cursor: pointer;
}

.expanded-progress {
    width: 0%;

    height: 100%;

    background: var(--blue);

    border-radius: inherit;
}

.expanded-time {
    display: flex;

    justify-content: space-between;

    margin-top: 8px;

    color: var(--muted);

    font-size: 11px;
}


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

.expanded-controls {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    margin: 25px 0 20px;
}

.player-action-button,
.expanded-play-button {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border: none;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.player-action-button {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    background: transparent;

    color: #172033;
}

.player-action-button svg {
    width: 22px;
    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}

.player-action-button:hover {
    background: #f0f4fa;

    color: var(--blue);

    transform: scale(1.08);
}

.expanded-play-button {
    width: 62px;
    height: 62px;

    border-radius: 50%;

    background: var(--blue);

    color: white;

    box-shadow:
        0 8px 24px rgba(0, 102, 255, 0.25);
}

.expanded-play-button svg {
    width: 25px;
    height: 25px;

    fill: currentColor;
}

.expanded-play-button:hover {
    background: var(--blue-dark);

    transform: scale(1.06);
}

.expanded-play-button .pause-icon {
    display: none;
}

.expanded-play-button.is-playing .play-icon {
    display: none;
}

.expanded-play-button.is-playing .pause-icon {
    display: block;
}


/* ACTIVE STATES */

.player-action-button.active,
#repeatButton.active {
    background: #edf4ff;

    color: var(--blue);
}

.repeat-one-mark {
    position: absolute;

    right: 6px;
    bottom: 5px;

    display: none;

    width: 13px;
    height: 13px;

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

    border-radius: 50%;

    background: var(--blue);

    color: white;

    font-size: 8px;

    font-weight: 900;
}

#repeatButton.repeat-one .repeat-one-mark {
    display: flex;
}


/* FAST SEEK */

.player-action-button.fast-seeking {
    background: #edf4ff;

    color: var(--blue);

    transform: scale(1.1);
}


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

.expanded-volume {
    width: min(380px, 100%);

    display: flex;

    align-items: center;

    gap: 10px;

    margin: 5px auto 25px;

    color: var(--gray);
}

.expanded-volume input {
    flex: 1;

    min-width: 0;

    accent-color: var(--blue);

    cursor: pointer;
}

#expandedVolumeValue {
    width: 42px;

    text-align: right;

    font-size: 12px;

    font-weight: 800;

    color: var(--gray);
}


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

.expanded-player-actions {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    width: 100%;
}

.expanded-player-actions button {
    min-height: 40px;

    padding: 9px 16px;

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

    border-radius: 9px;

    background: white;

    color: var(--deep);

    font-size: 12px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s ease;
}

.expanded-player-actions button:hover {
    border-color: var(--blue);

    color: var(--blue);

    background: #f5f9ff;
}


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

footer {
    position: relative;

    z-index: 1;
}

footer .footer-logo-image {
    position: relative;

    z-index: 2;

    width: 48px;

    height: 48px;

    max-width: 48px;

    max-height: 48px;

    object-fit: contain;
}


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

@media (max-width: 600px) {

    .expanded-player {
        max-height: 94vh;
    }

    .expanded-player-top {
        min-height: 58px;

        padding: 8px 4%;
    }

    .expanded-player-content {
        width: 88%;

        padding: 22px 0 30px;
    }

    .large-album-cover {
        width: min(300px, 76vw);

        margin-bottom: 18px;

        border-radius: 15px;
    }

    .expanded-song-info {
        margin-bottom: 20px;
    }

    .expanded-controls {
        gap: 8px;

        margin: 22px 0 18px;
    }

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

    .player-action-button svg {
        width: 21px;
        height: 21px;
    }

    .expanded-play-button {
        width: 58px;
        height: 58px;
    }

    .expanded-play-button svg {
        width: 23px;
        height: 23px;
    }
}

/* =========================
   T-KEL DECK VIDEO LIBRARY
========================= */

.video-section {
    padding-top: 70px;
    padding-bottom: 70px;
}

.video-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
    gap: 24px;
    margin-top: 28px;
}

.featured-video-card {
    min-width: 0;
}

.featured-video-thumbnail,
.video-thumbnail {
    position: relative;
    overflow: hidden;
    background: #061a3a;
    border-radius: 18px;
}

.featured-video-thumbnail {
    aspect-ratio: 16 / 9;
}

.video-thumbnail {
    aspect-ratio: 16 / 9;
}

.featured-video-thumbnail img,
.video-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.video-play-button,
.video-card-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.94);
    color: #0066ff;
    transition: transform 0.2s ease, background 0.2s ease;
}

.video-play-button {
    width: 68px;
    height: 68px;
    border-radius: 50%;
}

.video-card-play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.video-play-button svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.video-card-play svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.video-play-button:hover,
.video-card-play:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: #0066ff;
    color: #fff;
}

.video-duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.featured-video-info {
    padding-top: 18px;
}

.video-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #0066ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.featured-video-info h3 {
    margin: 0;
    font-size: 25px;
    color: #061a3a;
}

.featured-video-info p {
    margin: 7px 0 0;
    color: #667085;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    color: #7a8495;
    font-size: 13px;
}

.video-feature-side {
    display: grid;
    gap: 20px;
}

.video-card {
    min-width: 0;
}

.video-card-info {
    padding: 11px 3px 0;
}

.video-card-info h3 {
    margin: 0;
    color: #172033;
    font-size: 16px;
    line-height: 1.35;
}

.video-card-info p {
    margin: 5px 0 0;
    color: #7a8495;
    font-size: 13px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 26px;
}


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

@media (max-width: 900px) {

    .video-feature {
        grid-template-columns: 1fr;
    }

    .video-feature-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .video-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .video-feature {
        gap: 20px;
    }

    .featured-video-thumbnail {
        border-radius: 14px;
    }

    .video-feature-side {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .video-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px 12px;
    }

    .video-play-button {
        width: 58px;
        height: 58px;
    }

    .video-play-button svg {
        width: 24px;
        height: 24px;
    }

    .video-card-play {
        width: 42px;
        height: 42px;
    }

    .video-duration {
        right: 8px;
        bottom: 8px;
        padding: 4px 6px;
        font-size: 10px;
    }

    .featured-video-info h3 {
        font-size: 21px;
    }

}
/* =========================
   DECK MUSIC CATEGORIES
========================= */

.deck-music-categories {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 30px;
    padding: 4px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.deck-music-categories::-webkit-scrollbar {
    display: none;
}

.music-category {
    flex: 0 0 auto;
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #172033;
    border-radius: 999px;
    padding: 10px 20px;
    min-height: 42px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.music-category:hover {
    border-color: #0066ff;
    color: #0066ff;
}

.music-category.active {
    background: #0066ff;
    border-color: #0066ff;
    color: #ffffff;
}

@media (max-width: 600px) {

    .deck-music-categories {
        margin-bottom: 24px;
    }

    .music-category {
        padding: 9px 16px;
        min-height: 40px;
        font-size: 13px;
    }

}
/* =========================
   DECK EMPTY MUSIC CARDS
========================= */

.deck-empty-music-card {
    position: relative;
}

.deck-empty-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #061a3a,
        #0b2f68
    );
    aspect-ratio: 1 / 1;
}

.empty-cover-icon {
    color: rgba(255,255,255,0.92);
    font-size: 58px;
    font-weight: 700;
}

.deck-coming-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border-radius: 6px;
    background: rgba(0,0,0,0.55);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.deck-card-content {
    padding-top: 13px;
}

.deck-card-content h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    color: #172033;
}

.deck-card-content p {
    margin: 6px 0 0;
    color: #697386;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 600px) {

    .empty-cover-icon {
        font-size: 48px;
    }

    .deck-card-content h3 {
        font-size: 15px;
    }

}
/* =========================
   DECK NEW RELEASES
========================= */

.deck-release-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
    background: #ffffff;
}

.release-artwork {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        #061a3a,
        #0b2f68
    );
}

.release-artwork-icon {
    color: #ffffff;
    font-size: 58px;
    font-weight: 700;
}

.release-coming-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 9px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.release-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.release-type {
    color: #0066ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.release-info h3 {
    margin: 8px 0 0;
    color: #172033;
    font-size: 20px;
    line-height: 1.3;
}

.release-info p {
    margin: 8px 0 18px;
    color: #697386;
    font-size: 14px;
    line-height: 1.5;
}

.release-action {
    width: fit-content;
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: #0066ff;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.release-action:hover {
    background: #0047b8;
}

@media (max-width: 600px) {

    .deck-release-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 14px;
    }

    .release-info h3 {
        font-size: 17px;
    }

    .release-artwork-icon {
        font-size: 48px;
    }

}
/* =========================
   DECK ARTIST CARDS
========================= */

.deck-artist-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
    background: #ffffff;
}

.deck-empty-artist {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(
        135deg,
        #061a3a,
        #0b2f68
    );
}

.deck-empty-artist span {
    color: #ffffff;
    font-size: 56px;
    font-weight: 700;
}

.artist-card-info {
    padding: 16px;
}

.artist-role {
    color: #0066ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.artist-card-info h3 {
    margin: 7px 0 0;
    color: #172033;
    font-size: 17px;
    line-height: 1.35;
}

.artist-card-info p {
    margin: 7px 0 15px;
    color: #697386;
    font-size: 13px;
    line-height: 1.5;
}

.artist-view-button {
    min-height: 40px;
    padding: 0 15px;
    border: 0;
    border-radius: 7px;
    background: #0066ff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.artist-view-button:hover {
    background: #0047b8;
}

@media (max-width: 600px) {

    .deck-empty-artist span {
        font-size: 46px;
    }

    .artist-card-info {
        padding: 14px;
    }

}
/* =========================
   DECK DJ CARDS
========================= */

.deck-dj-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
    background: #ffffff;
}

.deck-empty-dj {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #061a3a,
        #0b2f68
    );
}

.deck-empty-dj > span:first-child {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
}

.dj-coming-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 9px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.dj-card-info {
    padding: 16px;
}

.dj-role {
    color: #0066ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.dj-card-info h3 {
    margin: 7px 0 0;
    color: #172033;
    font-size: 17px;
    line-height: 1.35;
}

.dj-card-info p {
    margin: 7px 0 15px;
    color: #697386;
    font-size: 13px;
    line-height: 1.5;
}

.dj-view-button {
    min-height: 40px;
    padding: 0 15px;
    border: 0;
    border-radius: 7px;
    background: #0066ff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dj-view-button:hover {
    background: #0047b8;
}

@media (max-width: 600px) {

    .deck-empty-dj > span:first-child {
        font-size: 40px;
    }

    .dj-card-info {
        padding: 14px;
    }

}

