/* ==========================================================================
   AutoDJ Live Stream Radio — Spotify Style Modern Dark UI
   ========================================================================== */

:root {
    --bg-main: #06080e;
    --bg-card: rgba(15, 23, 42, 0.65);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --bg-player-bar: rgba(9, 13, 22, 0.94);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(99, 102, 241, 0.4);

    /* Default Accent (Fallback) */
    --accent-primary: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.35);
    --accent-spotify: #1ed760;
    --accent-spotify-glow: rgba(30, 215, 96, 0.3);

    /* Dynamic Ambient Palette Variables (Extracted from Album Art in Real-time) */
    --dynamic-accent-rgb: 99, 102, 241;
    --dynamic-accent: rgb(var(--dynamic-accent-rgb));
    --dynamic-secondary-rgb: 168, 85, 247;
    --dynamic-secondary: rgb(var(--dynamic-secondary-rgb));
    --dynamic-glow: rgba(var(--dynamic-accent-rgb), 0.32);
    --dynamic-glow-soft: rgba(var(--dynamic-accent-rgb), 0.12);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --player-bar-height: 84px;
}

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

body {
    background-color: var(--bg-main);
    background-image:
        radial-gradient(circle at 15% 15%, rgba(var(--dynamic-accent-rgb), 0.38) 0%, transparent 58%),
        radial-gradient(circle at 85% 30%, rgba(var(--dynamic-secondary-rgb), 0.30) 0%, transparent 55%),
        radial-gradient(circle at 50% 85%, rgba(var(--dynamic-accent-rgb), 0.22) 0%, transparent 65%),
        radial-gradient(at 50% 50%, rgba(10, 15, 26, 0.82) 0%, transparent 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-image 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* App Full Layout */
.app-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: var(--player-bar-height);
}

/* Playlist Panel Switching & Visibility */
.playlist-panel {
    display: none !important;
}

.playlist-panel.active {
    display: block !important;
}

/* Top Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    border-bottom: 1px solid rgba(var(--dynamic-accent-rgb), 0.18);
    backdrop-filter: blur(16px);
    background: rgba(7, 9, 14, 0.6);
    position: sticky;
    top: 0;
    z-index: 40;
    transition: border-color 1.2s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(var(--dynamic-accent-rgb), 0.5));
    transition: filter 1.2s ease;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    line-height: 1.2;
}

.brand-tag {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

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

.btn-nav-request {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.45);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
    backdrop-filter: blur(10px);
}

.btn-nav-request:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(168, 85, 247, 0.35));
    border-color: rgba(99, 102, 241, 0.7);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}

.btn-nav-request:active {
    transform: translateY(0);
}

.btn-nav-request:disabled,
.btn-nav-request.locked {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
    color: var(--text-muted) !important;
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.nav-request-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
}

.nav-request-dot.locked {
    background: #f87171;
    box-shadow: 0 0 8px #f87171;
}

.player-hamburger-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.player-hamburger-btn:hover {
    background: rgba(var(--dynamic-accent-rgb), 0.22);
    border-color: rgba(var(--dynamic-accent-rgb), 0.48);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(var(--dynamic-accent-rgb), 0.35);
}

.player-hamburger-btn:active {
    transform: scale(0.96);
}

/* ==========================================================================
   Slide-Over Drawer / Hamburger Menu (Dynamic Reactive Ambient Style)
   ========================================================================== */
.player-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-menu-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.player-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 88vw;
    background: linear-gradient(180deg, rgba(var(--dynamic-accent-rgb), 0.18) 0%, rgba(10, 14, 24, 0.96) 32%, rgba(6, 8, 14, 0.98) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-left: 1px solid rgba(var(--dynamic-accent-rgb), 0.28);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(var(--dynamic-accent-rgb), 0.14);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 1.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 1.2s cubic-bezier(0.4, 0, 0.2, 1), background 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.player-menu-drawer.open {
    transform: translateX(0);
}

.menu-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(var(--dynamic-accent-rgb), 0.18);
    transition: border-color 1.2s ease;
}

.menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(var(--dynamic-accent-rgb), 0.45));
    transition: filter 1.2s ease;
}

.menu-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.menu-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.menu-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.menu-drawer-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.menu-section-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--text-dim);
    margin: 12px 6px 4px;
}

.menu-item-link,
.menu-item-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.menu-item-link:hover,
.menu-item-btn:hover {
    background: rgba(var(--dynamic-accent-rgb), 0.14);
    border-color: rgba(var(--dynamic-accent-rgb), 0.38);
    box-shadow: 0 0 16px rgba(var(--dynamic-accent-rgb), 0.16);
    transform: translateX(3px);
}

.menu-item-svg {
    width: 20px;
    height: 20px;
    color: var(--dynamic-accent);
    flex-shrink: 0;
    transition: color 1.2s ease;
}

.menu-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

.menu-item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

.menu-item-sub {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-badge {
    background: rgba(var(--dynamic-accent-rgb), 0.22);
    border: 1px solid rgba(var(--dynamic-accent-rgb), 0.45);
    color: var(--dynamic-accent);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 1.2s ease;
}

.menu-badge.req-open {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.menu-badge.req-locked {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.menu-item-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed !important;
    transform: none !important;
}

.menu-info-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.nav-icon-btn:hover {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.nav-icon-btn .nav-btn-svg {
    width: 15px;
    height: 15px;
}

.hero-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-action {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-hero-action:hover {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.4);
    transform: scale(1.08);
}

.btn-hero-action svg {
    width: 16px;
    height: 16px;
}

.badge-live-stream {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.2);
}

.badge-live-stream.online {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: currentColor;
    border-radius: 50%;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

.badge-quality {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 5px 10px;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Main Stage (Split: Unified Studio Left Stage + Right Playlist & Request)
   ========================================================================== */
.main-stage {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
    gap: 28px;
    padding: 28px 32px;
    max-width: 1480px;
    margin: 0 auto;
    width: 100%;
    align-items: stretch;
}

/* Left Stage: Unified Hero Track & AI DJ Studio */
.stage-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    height: 100%;
}

/* Right Stage: Playlist & History + Request Module */
.stage-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    width: 100%;
    height: 100%;
}

/* Hero Track Studio Card */
.studio-hero-card,
.hero-card {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(var(--dynamic-accent-rgb), 0.28);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 35px rgba(var(--dynamic-accent-rgb), 0.18);
    transition: border-color 1.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 1.2s cubic-bezier(0.4, 0, 0.2, 1), background 1.2s ease;
}

.studio-hero-card:hover,
.hero-card:hover {
    border-color: rgba(var(--dynamic-accent-rgb), 0.55);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55), 0 0 45px rgba(var(--dynamic-accent-rgb), 0.3);
}

.hero-ambient-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at 50% 45%, rgba(var(--dynamic-accent-rgb), 0.32) 0%, rgba(var(--dynamic-secondary-rgb), 0.14) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stage-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    width: 100%;
    min-width: 0;
    position: relative;
    z-index: 1;
    margin: auto 0;
    padding: 10px 0;
}

.hero-art-container {
    position: relative;
    width: 290px;
    height: 290px;
    min-width: 290px;
    min-height: 290px;
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(var(--dynamic-accent-rgb), 0.25);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 45px rgba(var(--dynamic-accent-rgb), 0.38);
    z-index: 1;
    margin: 0 auto;
    transition: transform 0.35s ease, box-shadow 1.0s cubic-bezier(0.4, 0, 0.2, 1), border-color 1.0s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-art-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 28px rgba(15, 23, 42, 0.55);
    pointer-events: none;
    z-index: 2;
}

.hero-art-container:hover {
    transform: scale(1.025);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 55px rgba(var(--dynamic-accent-rgb), 0.5);
}

.hero-live-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--dynamic-accent-rgb), 0.15);
    border: 1px solid rgba(var(--dynamic-accent-rgb), 0.3);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    transition: all 1.2s ease;
}

.hero-art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 64%, rgba(0, 0, 0, 0.82) 80%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 64%, rgba(0, 0, 0, 0.82) 80%, rgba(0, 0, 0, 0) 100%);
    transition: transform 0.4s ease;
}

.hero-card:hover .hero-art-img {
    transform: scale(1.04);
}

.hero-art-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-dim);
}

.placeholder-svg {
    width: 48px;
    height: 48px;
    color: var(--text-dim);
    opacity: 0.6;
    animation: discRotate 20s linear infinite;
}

@keyframes discRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.placeholder-text {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

/* UI Vector Icons */
.ui-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.ui-icon.accent {
    color: #a5b4fc;
}

.ui-icon-lg {
    width: 32px;
    height: 32px;
}

.ui-icon-lg.danger {
    color: #f87171;
}

.tab-svg {
    width: 16px;
    height: 16px;
}

.btn-svg {
    width: 16px;
    height: 16px;
}

.mini-disc-svg {
    width: 22px;
    height: 22px;
    color: var(--text-dim);
    opacity: 0.5;
}

.hero-meta {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    min-width: 0;
    z-index: 1;
}

.hero-meta-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.now-playing-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.hero-badge {
    font-size: 11px;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    word-break: break-word;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 560px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    max-width: 480px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Like / Upvote Button Styles */
/* Spacious & Premium Hero Action Bar */
.hero-action-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.btn-hero-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    backdrop-filter: blur(10px);
}

.btn-hero-action-pill:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.45);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn-hero-action-pill:active {
    transform: translateY(0);
}

.btn-hero-action-pill.liked {
    background: rgba(244, 63, 94, 0.18);
    border-color: rgba(244, 63, 94, 0.5);
    color: #fb7185;
    box-shadow: 0 0 16px rgba(244, 63, 94, 0.3);
}

.btn-hero-action-pill.liked .heart-svg {
    fill: currentColor;
    animation: heartPulse 0.35s ease;
}

.btn-hero-action-pill svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.btn-action-label {
    font-size: 12px;
}

/* Like / Upvote Button Legacy Styles */
.btn-like-hero {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-mono);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.btn-like-hero:hover {
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.35);
    color: #fb7185;
    transform: translateY(-1px);
}

.btn-like-hero.liked {
    background: rgba(244, 63, 94, 0.18);
    border-color: rgba(244, 63, 94, 0.45);
    color: #f43f5e;
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.25);
}

.btn-like-hero.liked .heart-svg {
    fill: currentColor;
    animation: heartPulse 0.35s ease;
}

.btn-like-mini {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 4px;
}

.btn-like-mini:hover {
    color: #fb7185;
    transform: scale(1.15);
}

.btn-like-mini.liked {
    color: #f43f5e;
}

.btn-like-mini.liked .heart-svg {
    fill: currentColor;
    animation: heartPulse 0.35s ease;
}

.heart-svg {
    width: 15px;
    height: 15px;
    transition: all 0.2s ease;
}

.like-count-num {
    font-size: 11.5px;
    font-weight: 700;
}

.track-row-likes {
    font-size: 10.5px;
    font-weight: 700;
    color: #f43f5e;
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.25);
    padding: 1px 5px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.integrated-ai-dj-box,
.ai-dj-card {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--dynamic-accent-rgb), 0.22);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.22), 0 0 20px rgba(var(--dynamic-accent-rgb), 0.08);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.integrated-ai-dj-box:hover,
.ai-dj-card:hover {
    border-color: rgba(var(--dynamic-accent-rgb), 0.45);
    background: rgba(15, 23, 42, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 28px rgba(var(--dynamic-accent-rgb), 0.18);
}

.ai-dj-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ai-dj-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--dynamic-accent);
    display: flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.2px;
    transition: color 1.2s ease;
}

.ai-dj-title .ui-icon.accent {
    width: 16px;
    height: 16px;
    color: var(--dynamic-accent);
    transition: color 1.2s ease;
}

.ai-dj-time {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    opacity: 0.75;
}

.ai-dj-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.ai-tag-badge {
    padding: 2.5px 8px;
    border-radius: var(--radius-full);
    font-size: 10.5px;
    font-weight: 600;
    background: rgba(var(--dynamic-accent-rgb), 0.12);
    color: #c7d2fe;
    border: 1px solid rgba(var(--dynamic-accent-rgb), 0.2);
    letter-spacing: 0.1px;
    transition: all 1.2s ease;
}

.ai-tag-badge.genre {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.22);
}

.ai-tag-badge.mood {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.22);
}

.ai-dj-speech {
    font-size: 13.5px;
    line-height: 1.6;
    color: #e2e8f0;
    font-style: normal;
    font-weight: 400;
    padding: 2px 0 2px 12px;
    border-left: 2.5px solid var(--dynamic-accent);
    background: transparent;
    border-radius: 0;
    box-sizing: border-box;
    letter-spacing: 0.1px;
    transition: border-color 1.2s ease;
}

/* Request Module Card (Collapsible Accordion) */
.request-module-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.request-module-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.request-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.request-module-card:not(.collapsed) .request-module-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.request-module-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.req-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.req-chevron-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.request-module-card.collapsed .req-chevron-icon {
    transform: rotate(-90deg);
}

.request-module-content {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.35s ease;
    max-height: 800px;
    opacity: 1;
    overflow: hidden;
}

.request-module-card.collapsed .request-module-content {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: none;
}

.request-module-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-req-status {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.badge-req-status.open {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-req-status.locked {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.request-locked-notice {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lock-icon {
    font-size: 28px;
}

.lock-title {
    font-size: 14px;
    font-weight: 700;
    color: #f87171;
}

.lock-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 420px;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.input-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.req-star {
    color: #ef4444;
}

.input-field input {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.input-field input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
    background: rgba(15, 23, 42, 0.98);
}

.input-error {
    font-size: 11.5px;
    color: #f87171;
    display: none;
    margin-top: 2px;
}

.input-error.visible {
    display: block;
}

.recaptcha-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-submit-request {
    background: linear-gradient(135deg, var(--accent-primary), #8b5cf6);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-request:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    filter: brightness(1.08);
}

.btn-submit-request:active {
    transform: translateY(0);
}

/* ==========================================================================
   Right Stage: Playlist & History Sidebar
   ========================================================================== */
.stage-right {
    min-width: 0;
}

.playlist-card {
    background: rgba(18, 24, 38, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--dynamic-secondary-rgb), 0.22);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-height: 520px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 35px rgba(var(--dynamic-secondary-rgb), 0.12);
    transition: border-color 1.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.playlist-tabs {
    display: flex;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 4px;
    gap: 4px;
    width: 100%;
}

.playlist-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    height: 38px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.playlist-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.playlist-tab-btn.active {
    background: rgba(var(--dynamic-secondary-rgb), 0.25);
    color: #ffffff;
    border-color: rgba(var(--dynamic-secondary-rgb), 0.5);
    box-shadow: 0 2px 10px rgba(var(--dynamic-secondary-rgb), 0.3);
    transition: all 0.5s ease;
}

.playlist-tab-btn .tab-svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.tab-count-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-mono);
    padding: 1px 6px;
    border-radius: var(--radius-full);
    line-height: 1.3;
}

.playlist-tab-btn.active .tab-count-badge {
    background: rgba(99, 102, 241, 0.6);
    color: #ffffff;
}

.playlist-panel {
    display: none;
    flex: 1;
}

.playlist-panel.active {
    display: flex;
    flex-direction: column;
}

.track-list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    height: 530px;
    max-height: 530px;
    padding-right: 4px;
    box-sizing: border-box;
}

.track-list-container::-webkit-scrollbar {
    width: 5px;
}

.track-list-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.track-list-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Track Row (Spotify Style) */
.track-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
}

.track-row:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(2px);
}

.track-row-num {
    font-size: 12px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-weight: 700;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.track-row-thumb {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    overflow: hidden;
    background: #0f172a;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.track-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-row-thumb .thumb-placeholder {
    font-size: 18px;
}

.track-row-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.track-row-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-row-meta {
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.track-badge-req {
    font-size: 10px;
    font-weight: 700;
    color: #f472b6;
    background: rgba(244, 114, 182, 0.15);
    border: 1px solid rgba(244, 114, 182, 0.3);
    padding: 1px 5px;
    border-radius: 4px;
}

.track-badge-ai {
    font-size: 10px;
    font-weight: 600;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 1px 5px;
    border-radius: 4px;
}

.track-row-dur {
    font-size: 11.5px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-weight: 600;
    flex-shrink: 0;
}

.empty-list-state {
    padding: 30px 10px;
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
}

/* ==========================================================================
   Bottom Sticky Player Bar (Spotify Style Deck)
   ========================================================================== */
.bottom-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--player-bar-height);
    background: var(--bg-player-bar);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: 1.2fr 2fr 1.2fr;
    align-items: center;
    padding: 0 24px;
    z-index: 50;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

/* Left: Mini Playing Info */
.bottom-player-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
}

.mini-art-box {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-art-placeholder {
    font-size: 22px;
}

.mini-track-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.mini-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Center: Controls & Visualizer & Progress */
.bottom-player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
}

.center-controls {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Compact Live Equalizer Visualizer Bars (Pure Bars Only, No Outline/Glow) */
.audio-equalizer-bars {
    display: flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
    background: transparent;
    border: none;
    padding: 0;
    margin-right: 4px;
    opacity: 0.35;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.audio-equalizer-bars.playing {
    opacity: 1;
    background: transparent;
    border: none;
    box-shadow: none;
}

.eq-bar {
    width: 2.5px;
    background: var(--dynamic-accent);
    border-radius: 1.5px;
    height: 3px;
    transition: background 1.2s ease;
}

.audio-equalizer-bars.playing .bar-1 {
    animation: eqPulse 0.7s ease-in-out infinite alternate;
}

.audio-equalizer-bars.playing .bar-2 {
    animation: eqPulse 1.0s ease-in-out infinite alternate 0.15s;
}

.audio-equalizer-bars.playing .bar-3 {
    animation: eqPulse 0.6s ease-in-out infinite alternate 0.3s;
}

.audio-equalizer-bars.playing .bar-4 {
    animation: eqPulse 0.9s ease-in-out infinite alternate 0.1s;
}

.audio-equalizer-bars.playing .bar-5 {
    animation: eqPulse 0.8s ease-in-out infinite alternate 0.25s;
}

@keyframes eqPulse {
    0% {
        height: 3px;
    }

    100% {
        height: 13px;
    }
}

.btn-play-pause {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.btn-play-pause:hover {
    transform: scale(1.08);
    background: var(--dynamic-accent);
    color: #ffffff;
    box-shadow: 0 6px 20px var(--dynamic-glow);
}

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

.control-svg {
    width: 22px;
    height: 22px;
}

.center-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.time-label {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-weight: 600;
    min-width: 36px;
    text-align: center;
}

.progress-bar-rail {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: default;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--dynamic-accent), var(--dynamic-secondary));
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(var(--dynamic-accent-rgb), 0.5);
    transition: width 0.25s linear, background 1.2s ease;
}

.bottom-player-bar:hover .progress-bar-fill {
    background: linear-gradient(90deg, var(--dynamic-accent), #ffffff);
}

/* Right: Volume Controls */
.bottom-player-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.volume-control-group {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 140px;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: color 0.2s ease;
}

.btn-icon:hover {
    color: #ffffff;
}

.vol-svg {
    width: 20px;
    height: 20px;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
    background: var(--accent-spotify);
}

/* Toast */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
    animation: toastSlide 0.3s ease;
}

@keyframes toastSlide {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================================================
   Responsive Breakpoints (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
    .main-stage {
        display: flex !important;
        flex-direction: column !important;
        padding: 18px;
        gap: 20px;
    }

    .stage-left {
        order: 1 !important;
        width: 100% !important;
    }

    .stage-right {
        order: 2 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .hero-stage-top {
        flex-direction: column !important;
        text-align: center !important;
        gap: 18px !important;
    }

    .hero-art-container {
        width: 180px !important;
        height: 180px !important;
        min-width: 180px !important;
        min-height: 180px !important;
        margin: 0 auto !important;
    }

    .hero-meta-header,
    .hero-meta-footer {
        justify-content: center !important;
    }

    .playlist-card {
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    :root {
        --player-bar-height: 72px;
    }

    .top-nav {
        padding: 10px 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .brand-logo {
        width: 32px;
        height: 32px;
    }

    .brand-name {
        font-size: 15px;
        line-height: 1.1;
    }

    .brand-tag {
        display: none;
    }

    .nav-actions {
        gap: 6px;
    }

    .badge-live-stream {
        padding: 4px 8px;
        font-size: 10px;
        gap: 5px;
    }

    .badge-quality {
        padding: 4px 8px;
        font-size: 10px;
    }

    .main-stage {
        padding: 12px;
        gap: 14px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .hero-card {
        flex-direction: column;
        text-align: center;
        padding: 18px 14px;
        gap: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-art-container {
        width: 160px !important;
        height: 160px !important;
        min-width: 160px !important;
        min-height: 160px !important;
        margin: 0 auto !important;
        border-radius: 16px !important;
    }

    .hero-meta-header {
        justify-content: center;
    }

    .hero-meta-footer {
        justify-content: center;
    }

    .hero-title {
        font-size: 19px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    /* Compact Bottom Player for Mobile */
    .bottom-player-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 12px;
        gap: 10px;
        height: 72px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow: hidden;
    }

    .bottom-player-left {
        flex: 1;
        min-width: 0;
        gap: 8px;
        overflow: hidden;
    }

    .audio-equalizer-bars {
        display: none;
        /* Hide mini visualizer in tight mobile player to give maximum space to song title */
    }

    .mini-art-box {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .mini-track-meta {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .mini-title {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .mini-subtitle {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-like-mini {
        flex-shrink: 0;
        padding: 4px;
    }

    .bottom-player-center {
        flex-shrink: 0;
        margin: 0;
        max-width: none;
        width: auto;
    }

    .center-controls {
        gap: 0;
    }

    .btn-play-pause {
        width: 42px;
        height: 42px;
    }

    .center-progress {
        display: none;
    }

    .bottom-player-right {
        display: none;
    }
}

/* ==========================================================================
   Song Request Modal Dialog
   ========================================================================== */
.player-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
}

.player-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.player-modal-card {
    background: linear-gradient(145deg, rgba(20, 27, 45, 0.98), rgba(11, 15, 25, 0.98));
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(99, 102, 241, 0.25);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-modal-backdrop.open .player-modal-card {
    transform: scale(1) translateY(0);
}

.player-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.player-modal-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-modal-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.player-modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.player-modal-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
