@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&family=Oswald:wght@500;700&display=swap');

:root {
    --midnight: #05070d;
    --midnight-2: #081326;
    --afterglow: #ff7a1a;
    --gold: #ffbf55;
    --violet: #7b4dff;
    --electric: #2bb8ff;
    --warm-white: #f8efe4;
    --muted: #b9b0a7;
    --panel: rgba(13, 20, 34, 0.74);
    --panel-strong: rgba(7, 11, 20, 0.92);
    --line: rgba(248, 239, 228, 0.12);
    --danger: #ff6565;
    --success: #6ee7a8;
    --heading: 'Oswald', sans-serif;
    --body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--warm-white);
    font-family: var(--body);
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 122, 26, 0.2), transparent 28rem),
        linear-gradient(160deg, var(--midnight), var(--midnight-2) 46%, #170b10 100%);
    line-height: 1.6;
    padding-bottom: 96px;
    overflow-x: hidden;
}

body.playing {
    background:
        radial-gradient(circle at 75% 18%, rgba(255, 122, 26, 0.32), transparent 30rem),
        radial-gradient(circle at 18% 78%, rgba(43, 184, 255, 0.18), transparent 26rem),
        linear-gradient(160deg, #060810, #08172d 44%, #25100c 100%);
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img, video {
    max-width: 100%;
}

button, input, textarea, select {
    font: inherit;
}

#nova-signal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.72;
    transition: opacity 220ms ease, filter 220ms ease;
}

body.playing #nova-signal {
    opacity: 1;
    filter: saturate(1.3) contrast(1.12);
}

.site-header {
    position: fixed;
    top: 24px;
    left: 22px;
    right: 22px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 70px;
    padding: 0 40px;
    background: rgba(7, 10, 18, 0.58);
    border-bottom: 1px solid var(--line);
    border: 1px solid rgba(248, 239, 228, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(18px);
}

.logo {
    font-family: var(--heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.42em;
}

.site-nav ul,
.dash-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a,
.dash-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.36em;
    border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.active,
.dash-nav a:hover,
.dash-nav a.active {
    color: var(--warm-white);
    border-color: rgba(255, 122, 26, 0.45);
    background: rgba(255, 122, 26, 0.1);
}

.menu-toggle {
    display: none;
    min-height: 40px;
    padding: 0 12px;
    color: var(--warm-white);
    background: transparent;
    border: 1px solid var(--line);
}

#page-content {
    min-height: 100vh;
    transition: opacity 180ms ease;
}

#page-content.fade-out {
    opacity: 0;
}

.afterglow-hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: center;
    padding: 116px clamp(28px, 7vw, 128px) 104px;
    overflow: hidden;
}

.afterglow-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 22vh;
    background: linear-gradient(transparent, rgba(5, 7, 13, 0.95));
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media {
    object-fit: cover;
    filter: saturate(1.08) contrast(1.05) brightness(0.68);
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(5, 7, 13, 0.86), rgba(5, 7, 13, 0.28) 58%, rgba(255, 122, 26, 0.18)),
        radial-gradient(circle at 72% 58%, rgba(255, 122, 26, 0.28), transparent 22rem);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, 1200px);
    max-width: none;
    margin-top: 48px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1, h2, h3 {
    margin: 0;
    font-family: var(--heading);
    line-height: 0.98;
    letter-spacing: 0;
}

.afterglow-hero h1 {
    font-size: clamp(5rem, 16.5vw, 15.5rem);
    text-transform: uppercase;
    text-shadow: 0 0 42px rgba(255, 122, 26, 0.22);
    letter-spacing: 0.12em;
    color: #f4eadf;
    transform: scaleY(1.42);
    transform-origin: left center;
    margin: 54px 0 76px;
}

.hero-line,
.lead {
    max-width: 760px;
    color: var(--warm-white);
    font-size: clamp(1.12rem, 2vw, 1.55rem);
}

.hero-release {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    max-width: 780px;
    margin: 0 0 0 6px;
}

.hero-release::before {
    content: "";
    display: block;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 191, 85, 0.62);
    border-radius: 10px;
    background: url('/assets/images/thirty-five-art.png') center / cover no-repeat;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
}

.hero-release span {
    font-family: var(--heading);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: 0.22em;
}

.hero-release em {
    color: var(--muted);
    font-style: normal;
    font-weight: 700;
    grid-column: 2;
    margin-top: -126px;
    align-self: end;
}

.hero-actions,
.inline-actions,
.connect-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-actions {
    margin-left: 318px;
}

.btn,
.text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    color: var(--warm-white);
    border: 1px solid rgba(255, 122, 26, 0.55);
    background: transparent;
    cursor: pointer;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.btn.primary {
    color: #190904;
    background: linear-gradient(135deg, var(--afterglow), var(--gold));
    border-color: transparent;
}

.btn.secondary {
    border-color: rgba(43, 184, 255, 0.48);
    background: rgba(43, 184, 255, 0.08);
}

.btn:hover,
.text-button:hover {
    transform: translateY(-2px);
}

.section,
.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(54px, 7vw, 92px) 0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section h2,
.page-hero h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
}

.split-feature {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
}

.release-art,
.release-thumb {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
}

.release-art {
    aspect-ratio: 1;
}

.release-thumb {
    aspect-ratio: 1;
    margin-bottom: 18px;
}

.release-art img,
.release-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.generated-art {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 70% 22%, rgba(255, 191, 85, 0.72), transparent 26%),
        linear-gradient(145deg, #090e1c 12%, #14244b 48%, #fb7418 100%);
}

.generated-art span {
    font-family: var(--heading);
    font-size: clamp(5rem, 14vw, 13rem);
    color: rgba(255, 255, 255, 0.9);
}

.generated-art.small span {
    font-size: clamp(3rem, 7vw, 5rem);
}

.release-grid,
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.release-grid.wide {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.release-card,
.card,
.admin-card {
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    backdrop-filter: blur(14px);
}

.release-card h3,
.release-card h2,
.card-title {
    font-size: 1.65rem;
}

.release-card p,
.card p,
.story-band p,
.story-page p {
    color: var(--muted);
}

.story-band,
.connect-band {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.timeline article {
    padding: 22px;
    border-left: 2px solid var(--afterglow);
    background: rgba(255, 255, 255, 0.035);
}

.timeline span,
.timeline strong {
    color: var(--gold);
    font-weight: 800;
}

.page-hero {
    padding: 150px clamp(20px, 6vw, 84px) 42px;
}

.page-hero.compact {
    min-height: 42vh;
    display: grid;
    align-content: end;
}

.releases-page {
    position: relative;
    width: min(1430px, calc(100% - 68px));
    margin: 0 auto;
    padding: 124px 0 118px;
}

.release-wave {
    position: absolute;
    top: 134px;
    left: 360px;
    right: 0;
    height: 172px;
    opacity: 0.78;
    background:
        radial-gradient(circle at 24% 50%, rgba(255, 99, 22, 0.42), transparent 17rem),
        radial-gradient(circle at 60% 50%, rgba(123, 77, 255, 0.34), transparent 18rem),
        radial-gradient(circle at 86% 50%, rgba(43, 184, 255, 0.48), transparent 19rem);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 90%, transparent);
    pointer-events: none;
}

.release-wave::before,
.release-wave::after {
    content: "";
    position: absolute;
    inset: 0;
}

.release-wave::before {
    background:
        repeating-linear-gradient(90deg, transparent 0 11px, rgba(43, 184, 255, 0.55) 11px 12px, transparent 12px 18px),
        linear-gradient(90deg, rgba(255, 99, 22, 0.85), rgba(157, 73, 255, 0.8), rgba(43, 184, 255, 0.9));
    mask-image:
        radial-gradient(ellipse at 50% 50%, #000 0 10%, transparent 11%),
        linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mix-blend-mode: screen;
}

.release-wave::after {
    top: 48%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 99, 22, 0.15), rgba(255, 99, 22, 0.9), rgba(123, 77, 255, 0.8), rgba(43, 184, 255, 0.95));
    box-shadow: 0 0 28px rgba(43, 184, 255, 0.8), 0 0 20px rgba(255, 99, 22, 0.55);
}

.releases-kicker {
    position: relative;
    z-index: 1;
    margin: 0 0 20px 10px;
}

.releases-kicker h1 {
    font-size: clamp(5.3rem, 9vw, 8.2rem);
    transform: scaleY(1.22);
    transform-origin: left center;
    letter-spacing: 0.22em;
    color: #f3eadf;
}

.releases-kicker p {
    margin: 20px 0 0;
    color: var(--warm-white);
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    letter-spacing: 0.08em;
}

.latest-release-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr) 80px;
    gap: 56px;
    align-items: center;
    min-height: 258px;
    padding: 0 70px 0 48px;
    border: 1px solid rgba(255, 122, 26, 0.42);
    border-right-color: rgba(43, 184, 255, 0.72);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 122, 26, 0.08), rgba(7, 12, 25, 0.72) 38%, rgba(8, 18, 41, 0.84)),
        rgba(4, 7, 14, 0.8);
    box-shadow: inset 0 0 54px rgba(43, 184, 255, 0.08), 0 22px 58px rgba(0, 0, 0, 0.36);
}

.latest-art-wrap {
    position: relative;
    height: 258px;
    display: grid;
    align-items: center;
}

.latest-art-wrap::before {
    content: "";
    position: absolute;
    left: -48px;
    top: 0;
    bottom: 0;
    width: 56px;
    border: 1px solid rgba(255, 122, 26, 0.5);
    border-right: 0;
    border-radius: 8px 0 0 8px;
    box-shadow: inset 8px 0 22px rgba(255, 122, 26, 0.2);
}

.latest-art {
    position: relative;
    aspect-ratio: 1;
    width: min(100%, 318px);
    overflow: hidden;
    border: 1px solid rgba(255, 191, 85, 0.52);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.5);
}

.latest-art img,
.release-tile-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.latest-copy .eyebrow {
    color: var(--afterglow);
    letter-spacing: 0.36em;
}

.latest-copy h2 {
    margin: 8px 0 16px;
    font-size: clamp(3rem, 5.6vw, 5.2rem);
    transform: scaleY(1.12);
    transform-origin: left center;
    letter-spacing: 0.22em;
}

.release-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.26em;
}

.release-meta b {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--afterglow);
}

.latest-copy > p:not(.eyebrow) {
    max-width: 600px;
    color: var(--warm-white);
    letter-spacing: 0.06em;
}

.latest-duration {
    justify-self: end;
    align-self: end;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 1.2rem;
    letter-spacing: 0.12em;
}

.all-releases {
    margin-top: 20px;
}

.release-tabs {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0 0 14px 6px;
}

.release-tabs h2 {
    margin-right: 34px;
    font-size: 1.2rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.release-tabs button {
    min-height: 32px;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.release-tabs button.active {
    color: var(--afterglow);
    border-bottom-color: var(--afterglow);
}

.release-card-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.release-tile {
    overflow: hidden;
    border: 1px solid rgba(255, 122, 26, 0.46);
    border-radius: 8px;
    background: rgba(10, 12, 17, 0.82);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.release-tile[hidden] {
    display: none;
}

.release-tile-art {
    height: 134px;
    background:
        linear-gradient(135deg, rgba(7, 12, 25, 0.3), rgba(255, 122, 26, 0.18)),
        url('/assets/images/thirty-five-art.png') center / cover no-repeat;
}

.release-tile-art.art-variant-2 {
    background:
        radial-gradient(ellipse at center, rgba(255, 122, 26, 0.6), transparent 12rem),
        linear-gradient(135deg, #12182b, #2d1410 48%, #ff7a1a);
}

.release-tile-art.art-variant-3 {
    background:
        linear-gradient(180deg, rgba(255, 191, 85, 0.8), transparent 42%),
        radial-gradient(circle at 70% 35%, rgba(255, 122, 26, 0.8), transparent 15rem),
        linear-gradient(135deg, #151c30, #ff8d2b);
}

.release-tile-art.art-variant-4 {
    background:
        radial-gradient(circle at 58% 28%, rgba(255, 255, 255, 0.9), transparent 1.1rem),
        radial-gradient(circle at 58% 28%, rgba(255, 191, 85, 0.45), transparent 6rem),
        linear-gradient(160deg, #071227, #10172a 60%, #1c2638);
}

.release-tile-info {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(180deg, rgba(8, 10, 15, 0.72), rgba(8, 10, 15, 0.98));
}

.release-tile-info h3 {
    font-family: var(--body);
    font-size: 0.98rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.release-tile-info p {
    margin: 2px 0 0;
    color: var(--muted);
    letter-spacing: 0.16em;
}

.tile-play {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    color: transparent;
    border: 2px solid rgba(248, 239, 228, 0.9);
    border-radius: 50%;
    background: rgba(255, 122, 26, 0.06);
    box-shadow: 0 0 18px rgba(255, 122, 26, 0.45);
    cursor: pointer;
    position: relative;
}

.tile-play::before {
    content: "▶";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--warm-white);
    font-size: 1rem;
    transform: translateX(2px);
}

.story-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
}

.story-page aside {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.story-page aside span {
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 122, 26, 0.08);
}

.card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 16px 0 0;
}

.section-title {
    font-size: clamp(2.4rem, 6vw, 5rem);
    margin: 0 0 28px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 36px clamp(20px, 6vw, 84px) 120px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.site-footer div {
    display: flex;
    flex-direction: column;
}

.music-player {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px clamp(20px, 4vw, 64px);
    background: linear-gradient(180deg, rgba(42, 42, 45, 0.94), rgba(18, 18, 21, 0.96));
    border: 1px solid rgba(248, 239, 228, 0.16);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
}

.player-info {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 360px;
}

.player-art {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border: 1px solid rgba(255, 191, 85, 0.42);
    border-radius: 6px;
}

.track-details h4,
.track-details p {
    margin: 0;
}

.track-details p {
    color: var(--muted);
    font-size: 0.88rem;
}

.track-details p span {
    display: none;
}

.player-actions {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.play-btn {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    padding: 0;
    color: var(--warm-white);
    background: transparent;
    border: 2px solid var(--warm-white);
    border-radius: 50%;
    cursor: pointer;
    font-weight: 900;
    font-size: 0;
}

.play-btn::before {
    content: "▶";
    font-size: 1.25rem;
    margin-left: 4px;
}

.play-btn.is-playing::before {
    content: "Ⅱ";
    margin-left: 0;
}

.transport-btn,
.icon-btn {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    color: var(--warm-white);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 900;
}

.icon-btn {
    border: 1px solid rgba(248, 239, 228, 0.58);
    border-radius: 8px;
    font-size: 1.1rem;
}

.seek-bar {
    width: min(32vw, 420px);
    accent-color: var(--afterglow);
}

.time {
    color: var(--warm-white);
    font-size: 0.84rem;
    font-weight: 700;
}

.dashboard-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    background:
        radial-gradient(circle at 18% 8%, rgba(255, 122, 26, 0.12), transparent 28rem),
        radial-gradient(circle at 85% 28%, rgba(43, 184, 255, 0.13), transparent 32rem),
        linear-gradient(135deg, #05070d, #07101f 52%, #10090b);
}

.dashboard-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 20px;
    background:
        linear-gradient(180deg, rgba(8, 12, 22, 0.96), rgba(5, 7, 13, 0.98)),
        #070b14;
    border-right: 1px solid rgba(248, 239, 228, 0.12);
    box-shadow: 18px 0 46px rgba(0, 0, 0, 0.28);
}

.dash-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 14px 20px;
    border: 1px solid rgba(248, 239, 228, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
}

.dash-brand span {
    font-family: var(--heading);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.34em;
}

.dash-brand small,
.dash-user small,
.dashboard-top span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.dashboard-sidebar .dash-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 0;
    padding: 0;
    margin: 0;
}

.dashboard-sidebar .dash-nav a {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--muted);
    background: transparent;
    letter-spacing: 0.14em;
}

.dashboard-sidebar .dash-nav a:hover,
.dashboard-sidebar .dash-nav a.active {
    color: var(--warm-white);
    border-color: rgba(255, 122, 26, 0.42);
    background: linear-gradient(90deg, rgba(255, 122, 26, 0.18), rgba(43, 184, 255, 0.05));
    box-shadow: inset 3px 0 0 var(--afterglow);
}

.dashboard-sidebar .dash-nav .danger-link {
    margin-top: 10px;
    color: #ff9a9a;
}

.dash-user {
    margin-top: auto;
    padding: 14px;
    border: 1px solid rgba(248, 239, 228, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.dash-user span {
    display: block;
    color: var(--warm-white);
    font-weight: 900;
}

.dashboard-main {
    min-width: 0;
    padding: clamp(22px, 4vw, 46px);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 22px;
    border: 1px solid rgba(248, 239, 228, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 122, 26, 0.1), rgba(43, 184, 255, 0.05)),
        rgba(255, 255, 255, 0.035);
}

.dashboard-top h1 {
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    letter-spacing: 0.08em;
}

.dashboard-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.admin-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(248, 239, 228, 0.12);
    background:
        linear-gradient(145deg, rgba(255, 122, 26, 0.08), rgba(43, 184, 255, 0.035) 54%, rgba(255, 255, 255, 0.025)),
        rgba(8, 12, 22, 0.82);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.admin-card::after {
    content: "";
    position: absolute;
    inset: auto 16px 0 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.85), rgba(43, 184, 255, 0.65), transparent);
    opacity: 0.72;
}

.admin-card h2 {
    margin-bottom: 10px;
    font-size: 2rem;
    letter-spacing: 0.08em;
}

.admin-card p {
    color: var(--muted);
}

a.admin-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 122, 26, 0.4);
}

.stat-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.stat-card > span {
    position: absolute;
    top: 16px;
    right: 18px;
    color: rgba(248, 239, 228, 0.18);
    font-family: var(--heading);
    font-size: 3.2rem;
    line-height: 1;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--warm-white);
    font-weight: 800;
}

.form-control {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    color: var(--warm-white);
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(248, 239, 228, 0.14);
    border-radius: 6px;
}

textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.form-control:focus {
    outline: 2px solid rgba(255, 122, 26, 0.45);
    outline-offset: 2px;
}

.notice {
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(110, 231, 168, 0.4);
    border-radius: 8px;
    background: rgba(110, 231, 168, 0.09);
    color: var(--success);
}

.error {
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 101, 101, 0.5);
    border-radius: 8px;
    background: rgba(255, 101, 101, 0.1);
    color: var(--danger);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.admin-card:has(.data-table) {
    overflow-x: auto;
}

.data-table th,
.data-table td {
    padding: 13px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(248, 239, 228, 0.1);
    vertical-align: middle;
}

.data-table th {
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.025);
}

.danger-link {
    color: var(--danger);
}

@media (max-width: 820px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
    }

    .site-nav {
        position: fixed;
        inset: 100px 22px auto 22px;
        display: none;
        padding: 16px 20px;
        background: rgba(5, 7, 13, 0.96);
        border-bottom: 1px solid var(--line);
    }

    body.menu-open .site-nav {
        display: block;
    }

    .site-nav ul,
    .dash-nav {
        align-items: stretch;
        flex-direction: column;
    }

    .afterglow-hero {
        min-height: 88vh;
        padding: 112px 22px 156px;
        align-items: end;
    }

    .afterglow-hero h1 {
        letter-spacing: 0.04em;
        transform: scaleY(1.16);
        margin: 26px 0 42px;
    }

    .hero-release {
        grid-template-columns: 116px minmax(0, 1fr);
        gap: 18px;
    }

    .hero-release span {
        font-size: 2rem;
        letter-spacing: 0.12em;
    }

    .hero-release em {
        grid-column: auto;
        margin-top: 0;
    }

    .hero-actions {
        margin-left: 134px;
    }

    .split-feature,
    .story-band,
    .connect-band,
    .story-page,
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
        height: auto;
    }

    .music-player {
        flex-direction: column;
        align-items: stretch;
    }

    .player-info {
        align-items: flex-start;
        flex-direction: column;
        flex-basis: auto;
        width: 100%;
    }

    .player-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .seek-bar {
        width: 48vw;
    }

    .releases-page {
        width: min(100% - 32px, 680px);
        padding-top: 116px;
    }

    .release-wave {
        left: 0;
        top: 176px;
        height: 112px;
    }

    .releases-kicker h1 {
        font-size: clamp(3.6rem, 18vw, 6rem);
        letter-spacing: 0.12em;
    }

    .latest-release-panel {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 18px;
    }

    .latest-art-wrap {
        height: auto;
    }

    .latest-art-wrap::before,
    .latest-duration {
        display: none;
    }

    .latest-art {
        width: 100%;
        max-width: 360px;
    }

    .latest-copy h2 {
        font-size: clamp(2.3rem, 12vw, 4rem);
        letter-spacing: 0.12em;
    }

    .release-tabs {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14px 22px;
    }

    .release-tabs h2 {
        flex-basis: 100%;
        margin: 0;
    }

    .release-card-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .release-tile-art {
        height: 180px;
    }
}
