:root {
    --bg: #0b1020;
    --panel: rgba(17, 24, 39, 0.76);
    --panel-border: rgba(148, 163, 184, 0.2);
    --primary: #8b5cf6;
    --secondary: #22d3ee;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #f472b6;
    --success: #34d399;
    --shadow: rgba(15, 23, 42, 0.55);
    --shadow-strong: rgba(76, 29, 149, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top, rgba(139, 92, 246, 0.28), transparent 32%),
        linear-gradient(135deg, #070b16 0%, #111827 35%, #0b1020 100%);
    color: var(--text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.35));
    pointer-events: none;
}

::selection {
    background: rgba(139, 92, 246, 0.35);
    color: white;
}

a {
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    width: 2.8rem;
    height: 2.8rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.8rem;
    background: rgba(15, 23, 42, 0.35);
    cursor: pointer;
    padding: 0.55rem;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.auth-shell {
    min-height: calc(100vh - 120px);
    display: grid;
    place-items: center;
    padding: 3rem 1rem;
}

.auth-card {
    width: min(100%, 560px);
    padding: 2rem 1.6rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    box-shadow: 0 28px 65px rgba(15, 23, 42, 0.42);
}

.auth-card.auth-choice {
    width: min(100%, 760px);
}

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.auth-brand span {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 14px 30px rgba(139, 92, 246, 0.4);
}

.auth-brand h1 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
}

.auth-card h2 {
    margin: 0 0 1.5rem;
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.05em;
}

.auth-card form {
    display: grid;
    gap: 1.25rem;
}

.auth-card form > div,
.auth-card form .form-group,
.auth-card form .form-row {
    display: grid;
    gap: 0.7rem;
}

.auth-card label {
    display: block;
    margin-bottom: 0.35rem;
    color: #dbeafe;
    font-size: 0.9rem;
    font-weight: 600;
}

.auth-card input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.8);
    color: var(--text);
    padding: 0.9rem 1rem;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-card input:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.72);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
    background: rgba(15, 23, 42, 0.94);
}

.auth-card .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.flash-message {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.flash-success {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.35);
    color: #d1fae5;
}

.flash-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

.form-grid {
    display: grid;
    gap: 1.25rem;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.choice-card {
    display: block;
    padding: 1.5rem 1.25rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.94), rgba(15, 23, 42, 0.76));
    color: var(--text);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.choice-card:hover,
.choice-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 18px 40px rgba(76, 29, 149, 0.2);
}

.choice-icon {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.18));
    font-size: 1.5rem;
}

.choice-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.3rem;
}

.choice-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.auth-subtitle {
    margin: 0 0 1.2rem;
    text-align: center;
    color: var(--muted);
    line-height: 1.6;
}

.auth-link-row {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--muted);
}

.auth-link-row a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.auth-link-row a:hover,
.auth-link-row a:focus-visible {
    color: #8be9ff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
    background: rgba(11, 16, 32, 0.55);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    color: var(--muted);
    font-size: 0.96rem;
    flex: 1;
}

.nav-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--text);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.welcome-user {
    color: var(--text);
    font-weight: 600;
    opacity: 0.9;
}

.logout-trigger {
    cursor: pointer;
    border: none;
}

.logout-modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    z-index: 100;
}

.logout-modal.is-open {
    display: grid;
}

.logout-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 18, 0.7);
    backdrop-filter: blur(4px);
}

.logout-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 420px);
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1.25rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.6);
    padding: 1.5rem;
}

.logout-modal__dialog h3 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
}

.logout-modal__dialog p {
    margin: 0 0 1.25rem;
    color: var(--muted);
    line-height: 1.6;
}

.logout-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.logout-modal__actions form {
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #c084fc);
    color: white;
    box-shadow: 0 14px 30px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    box-shadow: 0 18px 36px var(--shadow-strong);
}

.btn-secondary {
    color: var(--text);
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.2);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: rgba(34, 211, 238, 0.4);
    background: rgba(15, 23, 42, 0.35);
}

.hero {
    padding: 5rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: var(--secondary);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.hero h1 {
    margin: 1rem 0 1rem;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero h1 span {
    display: block;
    color: #c4b5fd;
}

.lead {
    max-width: 42rem;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.stat {
    padding: 1rem 1.1rem;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--panel-border);
    border-radius: 1rem;
}

.stat strong {
    display: block;
    font-size: 1.65rem;
    margin-bottom: 0.2rem;
}

.stat span {
    color: var(--muted);
    font-size: 0.92rem;
}

.player-card {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.8));
    border: 1px solid var(--panel-border);
    border-radius: 1.5rem;
    padding: 1.2rem;
    box-shadow: 0 25px 55px var(--shadow);
}

.album-art {
    height: 390px;
    border-radius: 1.25rem;
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(34, 211, 238, 0.75)),
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.55), transparent 30%);
    position: relative;
    overflow: hidden;
}

.album-art::before,
.album-art::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.album-art::before {
    width: 220px;
    height: 220px;
    bottom: -40px;
    right: -10px;
}

.album-art::after {
    width: 150px;
    height: 150px;
    top: -30px;
    left: -20px;
}

.track-list {
    margin-top: 1.2rem;
    display: grid;
    gap: 0.8rem;
}

.track {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.75rem 0.8rem;
    border-radius: 0.95rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.track-number {
    width: 2.3rem;
    height: 2.3rem;
    display: grid;
    place-items: center;
    border-radius: 0.75rem;
    background: rgba(139, 92, 246, 0.18);
    color: #ddd6fe;
    font-weight: 700;
}

.track-title {
    font-weight: 600;
}

.track-length {
    color: var(--muted);
    font-size: 0.9rem;
}

.section {
    padding: 2.5rem 0;
}

.page-hero {
    padding: 4rem 0 1rem;
}

.page-hero-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
}

.page-hero h1 {
    margin: 1rem 0 0.5rem;
    font-size: clamp(2.4rem, 5vw, 4rem);
    letter-spacing: -0.05em;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.05em;
}

.section-header a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.card {
    padding: 1.3rem;
    border-radius: 1.2rem;
    background: rgba(15, 23, 42, 0.44);
    border: 1px solid var(--panel-border);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.artist-card:hover,
.album-card:hover,
.playlist-card:hover,
.mix-card:hover,
.editorial-card:hover,
.discover-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.26);
}

.card-icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    background: rgba(139, 92, 246, 0.14);
    color: #ddd6fe;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.site-footer {
    padding: 4rem 0 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.18);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 2rem;
    align-items: start;
}

.brand-footer {
    margin-bottom: 1rem;
}

.footer-copy {
    margin: 0;
    max-width: 18rem;
    color: var(--muted);
    line-height: 1.7;
}

.site-footer h3 {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cbd5e1;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--text);
}

.newsletter-box {
    display: flex;
    gap: 0.7rem;
    padding: 0.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.newsletter-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    padding: 0.7rem 0.9rem;
    font: inherit;
}

.newsletter-box button {
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 700;
    padding: 0.8rem 1rem;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: var(--muted);
    font-size: 0.92rem;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.artist-card {
    overflow: hidden;
    border-radius: 1.3rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.5);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.artist-visual {
    height: 220px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(34, 211, 238, 0.7));
    position: relative;
}

.artist-violet .artist-visual {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(192, 132, 252, 0.7));
}

.artist-cyan .artist-visual {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.7));
}

.artist-pink .artist-visual {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.9), rgba(236, 72, 153, 0.75));
}

.artist-gold .artist-visual {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.75));
}

.artist-rose .artist-visual {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.9), rgba(168, 85, 247, 0.8));
}

.artist-green .artist-visual {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.9), rgba(34, 197, 94, 0.75));
}

.artist-visual::before {
    content: "";
    position: absolute;
    inset: 20% 25%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.artist-body {
    padding: 1.25rem;
}

.artist-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.artist-card h2 {
    margin: 0.8rem 0 0.7rem;
    font-size: 1.6rem;
}

.artist-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.artist-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
}

.artist-footer strong {
    font-size: 1rem;
    color: #f8fafc;
}

.artist-footer button {
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.55);
    color: var(--text);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-weight: 700;
    cursor: pointer;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.album-card {
    overflow: hidden;
    border-radius: 1.3rem;
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.album-cover {
    height: 240px;
    position: relative;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(34, 211, 238, 0.7));
}

.album-violet .album-cover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(192, 132, 252, 0.75));
}

.album-cyan .album-cover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.7));
}

.album-pink .album-cover {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.92), rgba(236, 72, 153, 0.7));
}

.album-gold .album-cover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.75));
}

.album-rose .album-cover {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.9), rgba(168, 85, 247, 0.8));
}

.album-green .album-cover {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.9), rgba(34, 197, 94, 0.75));
}

.album-cover::before,
.album-cover::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.album-cover::before {
    width: 140px;
    height: 140px;
    right: 20px;
    top: 20px;
}

.album-cover::after {
    width: 88px;
    height: 88px;
    left: 30px;
    bottom: 22px;
}

.album-body {
    padding: 1.35rem;
}

.album-topline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.album-card h2 {
    margin: 0.8rem 0 0.45rem;
    font-size: 1.6rem;
}

.album-card p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.album-card button {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.8rem 1rem;
    font-weight: 700;
    cursor: pointer;
}

.playlists-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.playlist-card {
    overflow: hidden;
    border-radius: 1.3rem;
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.playlist-cover {
    height: 220px;
    position: relative;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(34, 211, 238, 0.7));
}

.playlist-violet .playlist-cover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(192, 132, 252, 0.75));
}

.playlist-cyan .playlist-cover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.94), rgba(59, 130, 246, 0.7));
}

.playlist-pink .playlist-cover {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.92), rgba(236, 72, 153, 0.7));
}

.playlist-gold .playlist-cover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.95), rgba(245, 158, 11, 0.75));
}

.playlist-rose .playlist-cover {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.9), rgba(168, 85, 247, 0.8));
}

.playlist-green .playlist-cover {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.9), rgba(34, 197, 94, 0.75));
}

.playlist-cover::before,
.playlist-cover::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.playlist-cover::before {
    width: 130px;
    height: 130px;
    right: 16px;
    top: 18px;
}

.playlist-cover::after {
    width: 90px;
    height: 90px;
    left: 25px;
    bottom: 16px;
}

.playlist-body {
    padding: 1.25rem;
}

.playlist-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.playlist-card h2 {
    margin: 0.8rem 0 0.5rem;
    font-size: 1.55rem;
}

.playlist-card p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.playlist-card button {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.8rem 1rem;
    font-weight: 700;
    cursor: pointer;
}

.discover-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.discover-card {
    padding: 1.2rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.46);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.discover-violet {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(15, 23, 42, 0.6));
}

.discover-cyan {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(15, 23, 42, 0.6));
}

.discover-pink {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.18), rgba(15, 23, 42, 0.6));
}

.discover-gold {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(15, 23, 42, 0.6));
}

.discover-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: var(--muted);
    font-size: 0.76rem;
}

.discover-card h3 {
    margin: 0;
    font-size: 1.7rem;
    letter-spacing: -0.04em;
}

.mix-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
}

.mix-card {
    border-radius: 1.2rem;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.48);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.mix-cover {
    height: 180px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(34, 211, 238, 0.7));
}

.mix-violet .mix-cover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(192, 132, 252, 0.7));
}

.mix-cyan .mix-cover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.7));
}

.mix-pink .mix-cover {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.95), rgba(236, 72, 153, 0.7));
}

.mix-rose .mix-cover {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.9), rgba(168, 85, 247, 0.8));
}

.mix-body {
    padding: 1rem 1rem 1.2rem;
}

.mix-body span {
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mix-body h3 {
    margin: 0.55rem 0 0.35rem;
    font-size: 1.4rem;
}

.mix-body small {
    color: #cbd5e1;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.editorial-card {
    padding: 1.3rem;
    border-radius: 1.2rem;
    background: rgba(15, 23, 42, 0.46);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.editorial-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.editorial-card p {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.7;
}

.editorial-card a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
}

.artist-detail-hero {
    align-items: center;
}

.artist-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.artist-detail-aside {
    width: min(100%, 360px);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.42);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.25);
}

.artist-visual-large {
    height: 420px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(34, 211, 238, 0.75));
    position: relative;
}

.artist-violet .artist-visual-large {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(192, 132, 252, 0.78));
}

.artist-cyan .artist-visual-large {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.75));
}

.artist-pink .artist-visual-large {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.95), rgba(236, 72, 153, 0.78));
}

.artist-visual-large::before,
.artist-visual-large::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.artist-visual-large::before {
    width: 220px;
    height: 220px;
    top: 40px;
    right: 30px;
}

.artist-visual-large::after {
    width: 150px;
    height: 150px;
    left: 30px;
    bottom: 30px;
}

.detail-track-list {
    display: grid;
    gap: 0.9rem;
}

.detail-track-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.48);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.track-badge {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.8rem;
    background: rgba(139, 92, 246, 0.18);
    color: #ddd6fe;
    font-weight: 700;
}

.track-name {
    font-size: 1.05rem;
    font-weight: 600;
}

.detail-track-item button {
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.65rem 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.detail-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 860px) {
    body {
        font-size: 15px;
    }

    .container {
        width: min(100% - 1rem, 1120px);
    }

    .hero-grid,
    .cards,
    .footer-grid,
    .artists-grid,
    .albums-grid,
    .playlists-grid,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

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

    .auth-card form,
    .form-grid,
    .choice-grid {
        gap: 1.1rem;
    }

    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0.85rem 0;
        gap: 0.75rem;
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }

    .nav-links {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem 1rem;
        padding: 0.85rem 0.9rem 0.2rem;
        border-top: 1px solid rgba(148, 163, 184, 0.12);
        font-size: 0.9rem;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-actions {
        width: auto;
        justify-content: flex-end;
        gap: 0.5rem;
        margin-left: auto;
    }

    .nav-actions .btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.76rem;
    }

    .welcome-user {
        display: none;
    }

    .hero {
        padding-top: 3rem;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 13vw, 4rem);
    }

    .lead {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .stat-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .section-header,
    .footer-bottom,
    .page-hero-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .newsletter-box {
        flex-direction: column;
        border-radius: 1rem;
    }

    .auth-shell {
        padding: 1.5rem 0.75rem;
        min-height: auto;
    }

    .auth-card {
        padding: 1.3rem 0.95rem;
        border-radius: 1.2rem;
    }

    .auth-card.auth-choice {
        width: min(100%, 100%);
    }

    .auth-brand {
        margin-bottom: 1rem;
    }

    .auth-brand h1 {
        font-size: 0.95rem;
        letter-spacing: 0.08em;
    }

    .auth-card h2 {
        font-size: 1.8rem;
    }

    .choice-grid {
        grid-template-columns: 1fr;
    }

    .auth-card input,
    .auth-card .btn {
        min-height: 48px;
    }

    .choice-card {
        padding: 1.2rem 1rem;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 0.9rem, 1120px);
    }

    .brand {
        font-size: 0.82rem;
        letter-spacing: 0.06em;
    }

    .brand-mark {
        width: 2rem;
        height: 2rem;
        font-size: 0.95rem;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }

    .nav-actions .btn {
        flex: 1;
        min-width: 0;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1rem;
    }

    .stat-row,
    .discover-categories,
    .mix-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1 {
        font-size: clamp(2.2rem, 15vw, 3.2rem);
    }

    .lead {
        font-size: 0.96rem;
    }

    .section-header h2 {
        font-size: 1.65rem;
    }
}
