:root {
    --bg: #020914;
    --bg-soft: #071323;
    --panel: rgba(8, 23, 42, 0.92);
    --panel-strong: #08172a;
    --panel-light: #0d213a;
    --border: rgba(114, 156, 255, 0.16);

    --text: #f4f7ff;
    --muted: #8fa4c7;

    --cyan: #00c6ff;
    --blue: #1688ff;
    --violet: #7857ff;
    --purple: #a831ff;
    --pink: #f011d1;

    --success: #25e184;
    --danger: #ff375f;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-blue:
        0 0 25px rgba(0, 157, 255, 0.18);

    --shadow-purple:
        0 0 32px rgba(184, 30, 255, 0.22);

    --player-height: 86px;
    --sidebar-width: 184px;
    --topbar-height: 72px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 30% 0%, rgba(20, 75, 180, 0.14), transparent 32%),
        radial-gradient(circle at 90% 80%, rgba(153, 26, 255, 0.11), transparent 38%),
        var(--bg);

    color: var(--text);

    font-family:
        "Roboto",
        Arial,
        sans-serif;

    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

.app-shell {
    min-height: 100vh;
    padding-bottom: var(--player-height);
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

    height: var(--topbar-height);

    display: flex;
    align-items: center;
    gap: 36px;

    padding: 0 24px;

    background:
        linear-gradient(
            180deg,
            rgba(2, 9, 20, 0.99),
            rgba(2, 9, 20, 0.94)
        );

    border-bottom: 1px solid rgba(108, 153, 255, 0.13);

    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;

    min-width: 235px;
}

.brand-wave {
    display: flex;
    align-items: center;
    gap: 4px;

    height: 38px;
}

.brand-wave i {
    display: block;

    width: 4px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            var(--cyan),
            var(--violet)
        );

    box-shadow:
        0 0 12px rgba(0, 198, 255, 0.65);
}

.brand-wave i:nth-child(1) {
    height: 16px;
}

.brand-wave i:nth-child(2) {
    height: 28px;
}

.brand-wave i:nth-child(3) {
    height: 38px;
}

.brand-wave i:nth-child(4) {
    height: 26px;
}

.brand-wave i:nth-child(5) {
    height: 14px;
}

.brand-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-text strong {
    color: var(--cyan);

    background:
        linear-gradient(
            90deg,
            var(--cyan),
            var(--pink)
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.topnav {
    display: flex;
    align-items: stretch;

    height: 100%;

    gap: 4px;
}

.topnav a {
    position: relative;

    display: flex;
    align-items: center;

    padding: 0 17px;

    color: #c6d3ea;

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.topnav a:hover,
.topnav a.active {
    color: var(--cyan);
}

.topnav a.active::after {
    content: "";

    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 8px;

    height: 3px;

    border-radius: 99px;

    background:
        linear-gradient(
            90deg,
            var(--cyan),
            var(--purple)
        );

    box-shadow:
        0 0 10px var(--violet);
}

.top-actions {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 13px;
}

.search-box {
    width: 355px;
    height: 42px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 0 16px;

    border: 1px solid rgba(120, 151, 255, 0.12);
    border-radius: 13px;

    background:
        linear-gradient(
            90deg,
            rgba(21, 39, 81, 0.82),
            rgba(28, 29, 73, 0.82)
        );
}

.search-box span {
    color: #b7c7e4;
    font-size: 20px;
}

.search-box input {
    width: 100%;

    border: 0;
    outline: 0;

    color: white;
    background: transparent;
}

.search-box input::placeholder {
    color: #9baacc;
}

.icon-button {
    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: white;

    font-size: 23px;
}

.profile-dot {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-weight: 800;

    background:
        linear-gradient(
            135deg,
            var(--cyan),
            var(--pink)
        );

    box-shadow:
        0 0 18px rgba(84, 100, 255, 0.35);
}

.sidebar {
    position: fixed;

    top: var(--topbar-height);
    bottom: var(--player-height);
    left: 0;

    z-index: 90;

    width: var(--sidebar-width);

    padding: 20px 10px;

    overflow-y: auto;

    border-right: 1px solid rgba(91, 139, 255, 0.14);

    background:
        linear-gradient(
            180deg,
            rgba(4, 15, 29, 0.99),
            rgba(4, 12, 25, 0.98)
        );
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.side-nav a {
    display: flex;
    align-items: center;
    gap: 13px;

    min-height: 47px;

    padding: 0 15px;

    border-radius: 9px;

    color: #d8e2f3;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.side-nav a:hover {
    background: rgba(17, 87, 190, 0.16);
    color: white;
    transform: translateX(2px);
}

.side-nav a.active {
    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(0, 127, 255, 0.54),
            rgba(75, 39, 210, 0.44)
        );

    border-left: 3px solid var(--cyan);

    box-shadow:
        0 0 20px rgba(44, 68, 255, 0.13);
}

.side-icon {
    width: 25px;

    color: #e3ecff;

    font-size: 20px;
    text-align: center;
}

.join-card {
    margin-top: 26px;

    padding: 18px 15px;

    border: 1px solid rgba(153, 76, 255, 0.43);
    border-radius: 13px;

    background:
        linear-gradient(
            160deg,
            rgba(38, 27, 105, 0.46),
            rgba(7, 18, 38, 0.75)
        );

    box-shadow:
        0 0 22px rgba(154, 42, 255, 0.12);
}

.join-icon {
    color: #ffd166;
    font-size: 26px;
}

.join-card h3 {
    margin: 8px 0 5px;

    font-size: 17px;
}

.join-card p {
    margin: 0 0 14px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.45;
}

.join-card button {
    width: 100%;

    padding: 10px 8px;

    border: 1px solid #574cff;
    border-radius: 8px;

    color: white;

    font-size: 12px;
    font-weight: 700;

    background:
        linear-gradient(
            90deg,
            #086de8,
            #6028d8
        );
}

.main-content {
    margin-left: var(--sidebar-width);

    padding:
        calc(var(--topbar-height) + 12px)
        16px
        24px;
}

.hero {
    position: relative;

    min-height: 330px;

    display: grid;
    grid-template-columns:
        minmax(430px, 0.9fr)
        minmax(500px, 1.1fr);

    overflow: hidden;

    border: 1px solid rgba(110, 135, 255, 0.18);
    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            110deg,
            rgba(4, 14, 30, 0.98) 0%,
            rgba(8, 24, 52, 0.93) 45%,
            rgba(35, 17, 80, 0.92) 100%
        );

    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.36);
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(1, 8, 18, 0.55),
            transparent 45%
        );
}

.hero-content {
    position: relative;

    z-index: 5;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 38px 44px;
}

.eyebrow {
    color: #a9bce0;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.hero h1 {
    max-width: 610px;

    margin: 10px 0 16px;

    font-family:
        "IBM Plex Sans",
        "Roboto",
        Arial,
        sans-serif;

    font-size: clamp(42px, 3.35vw, 54px);
    font-weight: 600;
    line-height: 1.08;

    letter-spacing: -1.25px;
}

.hero-title-line,
.hero-title-accent {
    display: block;
}

.hero-title-line {
    color: #f5f8ff;
    font-weight: 600;
}

.hero-title-accent {
    margin-top: 3px;

    font-weight: 700;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            #dff5ff 0%,
            #56c8ff 40%,
            #a96bff 72%,
            #ec4ad7 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.hero p {
    max-width: 650px;

    margin: 0;

    color: #c1cfe4;

    font-size: 15px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 20px;
}

.button {
    min-height: 45px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 0 23px;

    border-radius: 13px;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    border: 1px solid #d843ff;

    background:
        linear-gradient(
            100deg,
            #683aff,
            #ee14df
        );

    box-shadow:
        0 0 25px rgba(216, 39, 255, 0.35);
}

.button-secondary {
    border: 1px solid #5076b8;

    background:
        rgba(5, 19, 37, 0.72);
}

.hero-art {
    position: relative;

    min-height: 330px;

    overflow: hidden;

    background-color: #061126;

    background-image:
        linear-gradient(
            90deg,
            #061126 0%,
            rgba(6, 17, 38, 0.80) 12%,
            rgba(6, 17, 38, 0.34) 28%,
            rgba(6, 17, 38, 0.08) 48%,
            transparent 66%
        ),
        url("/assets/images/hero-ai-greek-singer.png");

    background-repeat:
        no-repeat,
        no-repeat;

    background-position:
        center,
        right center;

    background-size:
        100% 100%,
        cover;
}

.hero-art::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    box-shadow:
        inset 18px 0 34px rgba(2, 9, 20, 0.24);
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(65px);

    opacity: 0.35;
}

.hero-glow-one {
    left: 20%;
    bottom: -80px;

    width: 200px;
    height: 200px;

    background: #0b91ff;
}

.hero-glow-two {
    right: 10%;
    top: -80px;

    width: 230px;
    height: 230px;

    background: #e819df;
}

.dashboard-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        292px;

    gap: 16px;

    margin-top: 12px;
}

.primary-column {
    min-width: 0;
}

.section-block,
.widget {
    border:
        1px solid var(--border);

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(7, 21, 39, 0.97),
            rgba(6, 15, 30, 0.95)
        );

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.18);
}

.section-block {
    padding: 14px;
}

.section-block + .section-block {
    margin-top: 12px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 13px;
}

.section-heading > div {
    display: flex;
    align-items: baseline;
    gap: 17px;
}

.section-heading h2 {
    margin: 0;

    font-family:
        "IBM Plex Sans",
        "Roboto",
        Arial,
        sans-serif;

    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.35px;
}

.section-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
}

.section-heading > a,
.widget-title > a {
    color: var(--cyan);

    font-size: 12px;
    font-weight: 700;
}

.section-icon {
    margin-right: 8px;

    color: var(--cyan);
}

.creator-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 9px;
}

.creator-card {
    position: relative;

    min-width: 0;

    padding: 14px 12px 12px;

    overflow: hidden;

    border:
        1px solid rgba(62, 120, 205, 0.22);

    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 30, 52, 0.96),
            rgba(5, 17, 34, 0.96)
        );

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.creator-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(31, 151, 255, 0.55);

    box-shadow:
        0 0 25px rgba(0, 106, 255, 0.16);
}

.creator-card.featured {
    border-color:
        rgba(200, 37, 255, 0.73);

    box-shadow:
        inset 0 0 18px rgba(177, 41, 255, 0.12),
        0 0 20px rgba(145, 39, 255, 0.18);
}

.creator-image {
    width: 82px;
    height: 82px;

    display: grid;
    place-items: center;

    margin: 0 auto 10px;

    border:
        4px solid rgba(0, 188, 255, 0.9);

    border-radius: 50%;

    color: white;

    font-size: 21px;
    font-weight: 900;

    box-shadow:
        0 0 18px rgba(0, 178, 255, 0.35),
        0 0 22px rgba(189, 26, 255, 0.24);
}

.avatar-one {
    background:
        linear-gradient(
            135deg,
            #ff8859,
            #12213a 55%,
            #213edb
        );
}

.avatar-two {
    background:
        linear-gradient(
            135deg,
            #d94ea7,
            #172757 60%,
            #00a3ff
        );
}

.avatar-three {
    background:
        linear-gradient(
            135deg,
            #1aa8ff,
            #101830 60%,
            #754dff
        );
}

.avatar-four {
    background:
        linear-gradient(
            135deg,
            #c858ff,
            #12152d 60%,
            #00b2ff
        );
}

.avatar-five {
    background:
        linear-gradient(
            135deg,
            #ff9b5d,
            #281c29 55%,
            #843eff
        );
}

.creator-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    overflow: hidden;

    font-size: 14px;
    font-weight: 800;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.verified {
    width: 16px;
    height: 16px;

    display: inline-grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 50%;

    color: white;

    font-size: 10px;

    background: #1688ff;
}

.creator-role {
    margin: 4px 0 8px;

    color: #9db0cc;

    font-size: 11px;
    text-align: center;
}

.tags {
    min-height: 44px;

    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    gap: 5px;
}

.tags span,
.track-tags span {
    display: inline-flex;
    align-items: center;

    min-height: 24px;

    padding: 0 8px;

    border:
        1px solid rgba(77, 103, 255, 0.54);

    border-radius: 999px;

    color: #e8efff;

    font-size: 10px;

    background:
        linear-gradient(
            90deg,
            rgba(0, 89, 198, 0.32),
            rgba(115, 47, 230, 0.24)
        );
}

.creator-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 5px;

    margin-top: 8px;

    text-align: center;
}

.creator-stats strong {
    display: block;

    font-size: 12px;
}

.creator-stats small {
    display: block;

    margin-top: 1px;

    color: var(--muted);

    font-size: 9px;
}

.creator-button {
    width: 100%;

    margin-top: 10px;

    padding: 8px 6px;

    border:
        1px solid #078dff;

    border-radius: 8px;

    color: white;

    font-size: 11px;
    font-weight: 800;

    background:
        linear-gradient(
            90deg,
            rgba(0, 87, 193, 0.62),
            rgba(44, 42, 167, 0.62)
        );

    box-shadow:
        0 0 15px rgba(0, 113, 255, 0.14);
}

.creator-card:nth-child(even) .creator-button {
    border-color: #be32f8;

    background:
        linear-gradient(
            90deg,
            rgba(141, 32, 181, 0.5),
            rgba(218, 19, 193, 0.42)
        );
}

.track-list {
    display: flex;
    flex-direction: column;
}

.track-row {
    min-height: 58px;

    display: grid;
    grid-template-columns:
        24px
        58px
        39px
        minmax(170px, 1.2fr)
        minmax(180px, 1fr)
        220px;

    align-items: center;

    gap: 12px;

    padding: 7px 9px;

    border-top:
        1px solid rgba(101, 137, 201, 0.11);
}

.track-row:first-child {
    border-top: 0;
}

.track-row:hover {
    background:
        linear-gradient(
            90deg,
            rgba(21, 87, 187, 0.12),
            rgba(117, 37, 208, 0.08)
        );
}

.track-number {
    color: #91a7c6;

    font-size: 11px;
    text-align: center;
}

.cover {
    flex: 0 0 auto;

    border-radius: 6px;

    background-size: cover;
    background-position: center;
}

.track-row .cover {
    width: 58px;
    height: 42px;
}

.cover-one {
    background:
        linear-gradient(
            140deg,
            #ffbf71,
            #235ea7 45%,
            #092145
        );
}

.cover-two {
    background:
        linear-gradient(
            140deg,
            #f6768f,
            #3a4fa0 52%,
            #0d1640
        );
}

.cover-three {
    background:
        linear-gradient(
            140deg,
            #ff3a96,
            #151942 43%,
            #00a6ef
        );
}

.cover-four {
    background:
        linear-gradient(
            140deg,
            #47d8ff,
            #28629a 52%,
            #112149
        );
}

.play-button {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    color: #0b203b;

    background:
        linear-gradient(
            135deg,
            #d9efff,
            #69afff
        );
}

.track-info {
    min-width: 0;
}

.track-info strong,
.track-info small {
    display: block;
}

.track-info strong {
    overflow: hidden;

    font-size: 13px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-info small {
    margin-top: 4px;

    color: #90b8eb;

    font-size: 10px;
}

.track-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.track-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;

    color: #b7c7dd;

    font-size: 11px;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget {
    padding: 15px;
}

.widget-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.widget-title h3,
.radio-widget h3,
.support-widget h3 {
    margin: 0;

    font-family:
        "IBM Plex Sans",
        "Roboto",
        Arial,
        sans-serif;

    font-size: 16px;
    font-weight: 700;
}

.ranking {
    margin-top: 12px;
}

.rank-row {
    min-height: 47px;

    display: grid;
    grid-template-columns:
        24px
        37px
        1fr
        24px;

    align-items: center;

    gap: 8px;

    border-top:
        1px solid rgba(90, 131, 202, 0.13);
}

.rank-row:first-child {
    border-top: 0;
}

.rank-row > strong {
    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: white;

    font-size: 10px;

    background:
        linear-gradient(
            135deg,
            #8242e0,
            #3852ae
        );
}

.mini-avatar {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border:
        2px solid #1995ff;

    border-radius: 50%;

    color: white;

    font-size: 9px;
    font-weight: 900;
}

.rank-row b {
    display: block;

    font-size: 12px;
}

.rank-row small {
    display: block;

    margin-top: 2px;

    color: var(--muted);

    font-size: 9px;
}

.crown {
    color: #ffc847;
}

.radio-widget {
    min-height: 116px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    border-color:
        rgba(86, 42, 255, 0.62);

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(219, 26, 255, 0.27),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #0b1d47,
            #32145f
        );

    box-shadow:
        0 0 26px rgba(92, 45, 255, 0.17);
}

.radio-widget p {
    max-width: 170px;

    margin: 6px 0 0;

    color: #c1cae6;

    font-size: 10px;
    line-height: 1.45;
}

.live-badge {
    display: inline-flex;

    margin-bottom: 7px;

    padding: 3px 7px;

    border-radius: 5px;

    color: white;

    font-size: 9px;
    font-weight: 900;

    background: var(--pink);

    box-shadow:
        0 0 14px rgba(244, 17, 203, 0.6);
}

.radio-play {
    width: 51px;
    height: 51px;

    flex: 0 0 auto;

    border:
        2px solid #a7dfff;

    border-radius: 50%;

    color: white;

    font-size: 20px;

    background:
        linear-gradient(
            135deg,
            #2c8cff,
            #a342ef
        );

    box-shadow:
        0 0 23px rgba(86, 91, 255, 0.5);
}

.support-widget {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    border-color:
        rgba(236, 38, 186, 0.23);
}

.support-heart {
    color: var(--pink);

    font-size: 35px;
    line-height: 1;
}

.support-widget p {
    margin: 6px 0;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.45;
}

.support-widget a {
    color: var(--cyan);

    font-size: 10px;
    font-weight: 800;
}

.player-bar {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 110;

    height: var(--player-height);

    display: grid;
    grid-template-columns:
        320px
        minmax(400px, 1fr)
        330px;

    align-items: center;

    padding: 0 18px;

    border-top:
        1px solid rgba(87, 139, 229, 0.22);

    background:
        linear-gradient(
            180deg,
            rgba(2, 12, 25, 0.98),
            rgba(2, 9, 18, 0.99)
        );

    backdrop-filter: blur(20px);

    box-shadow:
        0 -10px 35px rgba(0, 0, 0, 0.42);
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 12px;
}

.now-playing .cover {
    width: 52px;
    height: 52px;
}

.now-playing strong,
.now-playing small {
    display: block;
}

.now-playing strong {
    font-size: 13px;
}

.now-playing small {
    margin-top: 4px;

    color: #83b8f4;

    font-size: 10px;
}

.player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.player-controls button {
    border: 0;

    color: white;

    background: transparent;
}

.player-controls .main-play {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #147bff,
            #ad24ff
        );

    box-shadow:
        0 0 20px rgba(90, 78, 255, 0.42);
}

.progress-wrap {
    width: min(620px, 86%);

    display: grid;
    grid-template-columns:
        40px
        1fr
        40px;

    align-items: center;
    gap: 8px;

    color: #aebbd0;

    font-size: 9px;
}

.progress,
.volume {
    position: relative;

    height: 4px;

    overflow: hidden;

    border-radius: 999px;

    background: #27364f;
}

.progress-value {
    width: 42%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #274aff,
            #9c45ff
        );
}

.player-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;

    color: #dce5f5;

    font-size: 12px;
}

.volume {
    width: 120px;
}

.volume-value {
    width: 64%;
    height: 100%;

    background: #d9e6f5;
}

.live-pill {
    padding: 5px 9px;

    border-radius: 6px;

    color: white;

    font-size: 9px;
    font-weight: 900;

    background: #ff203f;

    box-shadow:
        0 0 14px rgba(255, 32, 63, 0.4);
}

.listeners {
    padding: 6px 9px;

    border:
        1px solid rgba(111, 139, 192, 0.3);

    border-radius: 8px;

    background: rgba(8, 24, 42, 0.7);
}

@media (max-width: 1400px) {
    .topnav a {
        padding: 0 10px;
    }

    .search-box {
        width: 280px;
    }

    .creator-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    .creator-card:nth-child(5) {
        display: none;
    }

    .track-row {
        grid-template-columns:
            20px
            52px
            36px
            minmax(160px, 1.2fr)
            minmax(140px, 0.8fr)
            175px;
    }
}

@media (max-width: 1180px) {
    :root {
        --sidebar-width: 78px;
    }

    .brand {
        min-width: auto;
    }

    .brand-text {
        font-size: 23px;
    }

    .topnav {
        display: none;
    }

    .side-nav a {
        justify-content: center;

        padding: 0;
    }

    .side-nav a {
        font-size: 0;
    }

    .side-icon {
        font-size: 22px;
    }

    .join-card {
        display: none;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .right-column {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        grid-template-columns: 1fr 1fr;
    }

    .player-bar {
        grid-template-columns:
            230px
            1fr
            220px;
    }
}

@media (max-width: 900px) {
    :root {
        --sidebar-width: 0px;
        --player-height: 76px;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;
    }

    .topbar {
        padding: 0 14px;
    }

    .search-box {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 240px;
    }

    .creator-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .creator-card:nth-child(5) {
        display: block;
    }

    .track-row {
        grid-template-columns:
            20px
            48px
            35px
            1fr
            120px;
    }

    .track-tags {
        display: none;
    }

    .track-meta {
        gap: 10px;
    }

    .right-column {
        grid-template-columns: 1fr;
    }

    .player-bar {
        grid-template-columns:
            1fr
            auto;

        padding: 0 12px;
    }

    .player-center {
        display: none;
    }

    .player-right {
        justify-content: flex-end;
    }

    .volume,
    .listeners {
        display: none;
    }
}

@media (max-width: 620px) {
    .brand-text {
        font-size: 20px;
    }

    .hero-content {
        padding: 28px 22px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .creator-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading > div {
        display: block;
    }

    .section-heading p {
        margin-top: 4px;
    }

    .track-row {
        grid-template-columns:
            44px
            34px
            1fr
            auto;

        gap: 8px;
    }

    .track-number,
    .track-meta span:not(:last-child) {
        display: none;
    }

    .track-row .cover {
        width: 44px;
        height: 38px;
    }

    .player-right {
        display: none;
    }

    .player-bar {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   AI MUSIC HOME — PREMIUM TYPOGRAPHY + RESPONSIVE LAYER
   ========================================================= */

.sidebar {
    scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.hero {
    isolation: isolate;
}

.hero-content {
    min-width: 0;
}

.hero p {
    max-width: 590px;
    font-size: 15px;
    line-height: 1.72;
}

.hero-art {
    border-left: 1px solid rgba(99, 138, 255, 0.10);
}

.hero-art::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(4, 15, 32, 0.38) 0%,
            rgba(4, 15, 32, 0.08) 18%,
            transparent 42%
        );
}

.hero-art::after {
    z-index: 2;
}

.section-heading h2,
.widget-title h3,
.radio-widget h3,
.support-widget h3,
.join-card h3 {
    font-family:
        "IBM Plex Sans",
        "Roboto",
        Arial,
        sans-serif;
}

.section-heading h2 {
    font-weight: 600;
    letter-spacing: -0.25px;
}

.widget-title h3,
.radio-widget h3,
.support-widget h3 {
    font-weight: 600;
    letter-spacing: -0.15px;
}

.creator-card {
    height: 100%;
}

.creator-button {
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.creator-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(46, 135, 255, 0.20);
}


/* Large desktop */
@media (min-width: 1600px) {
    .main-content {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero {
        min-height: 360px;
    }

    .hero-art {
        min-height: 360px;
    }

    .hero h1 {
        font-size: 56px;
    }

    .hero p {
        font-size: 16px;
    }
}

/* Laptop / compact desktop */
@media (max-width: 1320px) {
    .topbar {
        gap: 22px;
    }

    .brand {
        min-width: 205px;
    }

    .topnav a {
        padding: 0 11px;
    }

    .search-box {
        width: 250px;
    }

    .hero {
        grid-template-columns:
            minmax(390px, 0.92fr)
            minmax(430px, 1.08fr);
    }

    .hero-content {
        padding: 34px 34px;
    }

    .hero h1 {
        font-size: clamp(40px, 3.5vw, 50px);
    }

    .dashboard-grid {
        grid-template-columns:
            minmax(0, 1fr)
            280px;
    }
}

/* Tablet landscape / small laptop */
@media (max-width: 1080px) {
    :root {
        --sidebar-width: 72px;
    }

    .brand {
        min-width: auto;
    }

    .brand-text {
        font-size: 23px;
    }

    .topnav {
        display: none;
    }

    .side-nav a {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
        font-size: 0;
    }

    .side-icon {
        width: auto;
        font-size: 22px;
    }

    .join-card {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        padding: 32px 28px;
    }

    .hero h1 {
        font-size: clamp(38px, 4.2vw, 48px);
    }

    .hero-art {
        background-size:
            100% 100%,
            cover;

        background-position:
            center,
            right center;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .right-column {
        display: grid;
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(0, 1fr)
            minmax(0, 1fr);
    }

    .creator-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .creator-card:nth-child(5) {
        display: block;
    }

    .track-row {
        grid-template-columns:
            20px
            52px
            36px
            minmax(150px, 1fr)
            minmax(120px, 0.75fr)
            165px;
    }

    .player-bar {
        grid-template-columns:
            230px
            1fr
            210px;
    }

    .volume {
        width: 82px;
    }
}

/* Tablet portrait / mobile navigation */
@media (max-width: 900px) {
    :root {
        --sidebar-width: 0px;
        --topbar-height: 116px;
        --player-height: 76px;
    }

    .topbar {
        height: var(--topbar-height);

        flex-wrap: wrap;
        align-content: center;

        gap: 5px 14px;

        padding:
            8px
            14px
            9px;
    }

    .brand {
        min-width: 0;
        height: 46px;
    }

    .brand-wave {
        transform: scale(0.92);
        transform-origin: left center;
    }

    .top-actions {
        margin-left: auto;
    }

    .search-box {
        display: none;
    }

    .topnav {
        order: 3;

        width: 100%;
        height: 42px;

        display: flex;
        align-items: center;
        gap: 7px;

        overflow-x: auto;
        overscroll-behavior-inline: contain;

        padding: 3px 0 1px;

        scrollbar-width: none;
    }

    .topnav::-webkit-scrollbar {
        display: none;
    }

    .topnav a {
        flex: 0 0 auto;

        height: 34px;

        padding: 0 12px;

        border:
            1px solid rgba(93, 132, 222, 0.16);

        border-radius: 999px;

        color: #c8d5ea;

        font-size: 12px;
        font-weight: 600;

        background:
            rgba(10, 25, 47, 0.66);
    }

    .topnav a.active {
        color: #ffffff;

        border-color:
            rgba(63, 133, 255, 0.44);

        background:
            linear-gradient(
                90deg,
                rgba(13, 105, 224, 0.46),
                rgba(111, 47, 213, 0.40)
            );
    }

    .topnav a.active::after {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 0;

        padding:
            calc(var(--topbar-height) + 10px)
            12px
            20px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-content {
        padding: 34px 30px 28px;
    }

    .hero h1 {
        max-width: 720px;

        font-size: clamp(40px, 7vw, 54px);
    }

    .hero p {
        max-width: 680px;
    }

    .hero-art {
        min-height: 330px;

        border-top:
            1px solid rgba(99, 138, 255, 0.10);

        border-left: 0;

        background-size:
            100% 100%,
            cover;

        background-position:
            center,
            right center;
    }

    .creator-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading > div {
        flex-wrap: wrap;
    }

    .right-column {
        grid-template-columns: 1fr;
    }

    .track-row {
        grid-template-columns:
            18px
            50px
            36px
            minmax(0, 1fr)
            110px;
    }

    .track-tags {
        display: none;
    }

    .track-meta {
        gap: 9px;
    }

    .player-bar {
        grid-template-columns:
            minmax(0, 1fr)
            auto;

        padding: 0 12px;
    }

    .player-center {
        display: none;
    }

    .player-right {
        justify-content: flex-end;
    }

    .volume {
        display: none;
    }
}

/* Mobile */
@media (max-width: 620px) {
    :root {
        --topbar-height: 112px;
        --player-height: 72px;
    }

    .topbar {
        padding-left: 10px;
        padding-right: 10px;
    }

    .brand {
        gap: 10px;
    }

    .brand-wave {
        transform: scale(0.82);
        width: 37px;
    }

    .brand-text {
        font-size: 20px;
    }

    .icon-button {
        display: none;
    }

    .profile-dot {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .topnav a {
        height: 32px;

        padding: 0 10px;

        font-size: 11px;
    }

    .main-content {
        padding-left: 8px;
        padding-right: 8px;
    }

    .hero {
        border-radius: 18px;
    }

    .hero-content {
        padding: 28px 20px 24px;
    }

    .eyebrow {
        font-size: 11px;
    }

    .hero h1 {
        margin-top: 7px;

        font-size: clamp(34px, 10vw, 42px);
        line-height: 1.08;
        letter-spacing: -0.8px;
    }

    .hero-title-accent {
        margin-top: 2px;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .button {
        width: 100%;
        min-height: 44px;
    }

    .hero-art {
        min-height: 250px;

        background-size:
            100% 100%,
            cover;

        background-position:
            center,
            right center;
    }

    .dashboard-grid {
        margin-top: 10px;
    }

    .section-block,
    .widget {
        border-radius: 13px;
    }

    .section-block {
        padding: 12px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > div {
        display: block;
    }

    .section-heading h2 {
        font-size: 19px;
    }

    .section-heading p {
        margin-top: 5px;

        font-size: 11px;
        line-height: 1.45;
    }

    .section-heading > a {
        display: inline-block;

        margin-top: 8px;
    }

    .creator-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .creator-card {
        padding:
            16px
            14px
            14px;
    }

    .creator-image {
        width: 92px;
        height: 92px;
    }

    .creator-name {
        font-size: 15px;
    }

    .track-row {
        grid-template-columns:
            46px
            36px
            minmax(0, 1fr)
            42px;

        gap: 8px;

        padding:
            9px
            4px;
    }

    .track-number {
        display: none;
    }

    .track-row .cover {
        width: 46px;
        height: 40px;
    }

    .track-info strong {
        font-size: 12px;
    }

    .track-meta {
        justify-content: flex-end;
    }

    .track-meta span:not(:last-child) {
        display: none;
    }

    .widget {
        padding: 13px;
    }

    .now-playing {
        min-width: 0;
    }

    .now-playing .cover {
        width: 45px;
        height: 45px;
    }

    .now-playing > div:last-child {
        min-width: 0;
    }

    .now-playing strong,
    .now-playing small {
        overflow: hidden;

        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .player-right {
        gap: 7px;
    }

    .listeners {
        display: none;
    }

    .live-pill {
        padding: 5px 7px;
    }
}

/* Very small phones */
@media (max-width: 390px) {
    .brand-text {
        font-size: 18px;
    }

    .hero-content {
        padding:
            24px
            16px
            22px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-art {
        min-height: 220px;
    }

    .section-heading h2 {
        font-size: 18px;
    }
}

/* =========================================================
   HERO FINAL — FULL WIDTH / FIXED DESKTOP HEIGHT
   ========================================================= */

.hero {
    position: relative !important;
    display: block !important;

    width: 100% !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;

    overflow: hidden !important;

    border: 1px solid rgba(110, 135, 255, 0.22);
    border-radius: var(--radius-lg);

    background: #04101f;

    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.36);

    isolation: isolate;
}

/* The new wide image fills the entire hero. */
.hero-bg {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;

    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;

    display: block !important;

    object-fit: cover !important;
    object-position: center center !important;

    margin: 0 !important;
    padding: 0 !important;

    user-select: none;
    pointer-events: none;
}

/* Dark gradient only on the left side, behind the text. */
.hero::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 1;

    display: block !important;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(2, 9, 20, 0.98) 0%,
            rgba(3, 12, 27, 0.95) 22%,
            rgba(4, 14, 31, 0.78) 38%,
            rgba(4, 14, 31, 0.42) 52%,
            rgba(4, 14, 31, 0.12) 65%,
            transparent 78%
        );
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 1;

    display: block !important;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.02) 0%,
            transparent 68%,
            rgba(1, 7, 17, 0.15) 100%
        );
}

/* Old hero artwork system stays disabled. */
.hero-glow,
.hero-art {
    display: none !important;
}

/* Text is explicitly anchored to the LEFT. */
.hero-content {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    top: 0 !important;

    z-index: 2 !important;

    width: 54% !important;
    max-width: 720px !important;
    height: 430px !important;
    min-height: 430px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;

    margin: 0 !important;
    padding:
        40px
        44px !important;

    transform: none !important;

    text-align: left !important;
    background: transparent !important;
}

.hero .eyebrow {
    margin: 0 0 8px !important;

    color: #b9c9e6;

    font-family:
        "Roboto",
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    width: 100%;
    max-width: 650px;

    margin:
        6px
        0
        16px !important;

    font-family:
        "IBM Plex Sans",
        "Roboto",
        Arial,
        sans-serif;

    font-size: clamp(44px, 3.7vw, 60px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -1.55px;

    text-align: left !important;
}

.hero-title-line,
.hero-title-accent {
    display: block;
}

.hero-title-line {
    color: #f7f9ff;
    font-weight: 600;
}

.hero-title-accent {
    margin-top: 5px;

    color: transparent;
    font-weight: 600;

    background:
        linear-gradient(
            90deg,
            #e8f8ff 0%,
            #5ec8ff 38%,
            #7f84ff 66%,
            #d450ff 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}

.hero p {
    width: 100%;
    max-width: 560px;

    margin: 0 !important;

    color: #d1dced;

    font-size: 15px;
    line-height: 1.65;

    text-align: left !important;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 22px !important;
}

/* =========================================================
   HERO RESPONSIVE
   ========================================================= */

/* Laptop */
@media (max-width: 1320px) {
    .hero {
        height: 400px !important;
        min-height: 400px !important;
        max-height: 400px !important;
    }

    .hero-bg {
        object-position: 55% center !important;
    }

    .hero-content {
        width: 57% !important;
        height: 400px !important;
        min-height: 400px !important;

        padding:
            34px
            34px !important;
    }

    .hero h1 {
        font-size: clamp(40px, 4vw, 54px);
    }
}

/* Tablet landscape */
@media (max-width: 1080px) {
    .hero {
        height: 380px !important;
        min-height: 380px !important;
        max-height: 380px !important;
    }

    .hero-bg {
        object-position: 61% center !important;
    }

    .hero-content {
        width: 61% !important;
        height: 380px !important;
        min-height: 380px !important;

        padding:
            30px
            28px !important;
    }

    .hero h1 {
        font-size: clamp(37px, 4.8vw, 49px);
    }

    .hero p {
        font-size: 14px;
    }

    .hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(2, 9, 20, 0.98) 0%,
                rgba(3, 12, 27, 0.96) 30%,
                rgba(4, 14, 31, 0.78) 48%,
                rgba(4, 14, 31, 0.28) 70%,
                transparent 88%
            );
    }
}

/* Tablet portrait: image above, text below. */
@media (max-width: 900px) {
    .hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        padding-top: 300px !important;

        background: #051126;
    }

    .hero-bg {
        height: 300px !important;

        object-fit: cover !important;
        object-position: 63% center !important;
    }

    .hero::before {
        height: 300px;
        bottom: auto;

        background:
            linear-gradient(
                180deg,
                rgba(4, 13, 28, 0.01) 0%,
                rgba(4, 13, 28, 0.06) 58%,
                rgba(5, 17, 38, 0.92) 100%
            );
    }

    .hero::after {
        height: 300px;
        bottom: auto;
    }

    .hero-content {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;

        padding:
            28px
            28px
            30px !important;

        background:
            linear-gradient(
                180deg,
                rgba(5, 17, 38, 0.99),
                rgba(4, 14, 31, 1)
            ) !important;
    }

    .hero h1 {
        max-width: 760px;

        font-size: clamp(39px, 7vw, 53px);
    }

    .hero p {
        max-width: 700px;
    }
}

/* Phones */
@media (max-width: 620px) {
    .hero {
        padding-top: 220px !important;
        border-radius: 18px;
    }

    .hero-bg,
    .hero::before,
    .hero::after {
        height: 220px !important;
    }

    .hero-bg {
        object-position: 66% center !important;
    }

    .hero-content {
        padding:
            22px
            18px
            22px !important;
    }

    .hero h1 {
        margin-bottom: 13px !important;

        font-size: clamp(32px, 10vw, 41px);
        line-height: 1.05;
        letter-spacing: -0.85px;
    }

    .hero-title-accent {
        margin-top: 3px;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-actions {
        width: 100%;

        flex-direction: column;
        align-items: stretch;

        gap: 10px;

        margin-top: 18px !important;
    }

    .hero .button {
        width: 100%;
    }
}

/* Very small phones */
@media (max-width: 390px) {
    .hero {
        padding-top: 200px !important;
    }

    .hero-bg,
    .hero::before,
    .hero::after {
        height: 200px !important;
    }

    .hero-content {
        padding:
            20px
            15px
            20px !important;
    }

    .hero h1 {
        font-size: 30px;
    }
}