/* ═══════════════════════════════════════════════════════════════════════════════
   PULSE-MUSIC DASHBOARD - PREMIUM PROFESSIONAL DESIGN 2025
   Modern, Clean, Elegant - Next Level Quality
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111120;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.12);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-tertiary: rgba(255, 255, 255, 0.55);
    --accent: #9d4edd;
    --accent-hover: #c47aff;
    --success: #00d26a;
    --warning: #ff8c00;
    --error: #ED4245;
    --shadow: rgba(0, 0, 0, 0.35);
    --neon-cyan: #00ffff;
    --neon-purple: #9d4edd;
    --bg-card: rgba(17, 17, 32, 0.8);
    --bg-card-hover: rgba(17, 17, 32, 0.95);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.15);
    --border-strong: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --primary: var(--accent);
    --primary-hover: var(--accent-hover);
}

.dashboard-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    transform: none !important;
    isolation: isolate;
}


.music-bg, .dashboard-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #0a0a0f 0%, #141428 40%, #0d0d1a 75%, #0a0a0f 100%);
}

.music-bg::before, .dashboard-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(157, 78, 221, 0.18) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 140, 0, 0.18) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.dashboard-container {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
    max-width: 1920px;
    margin: 0 auto;
    margin-top: 100px;
    min-height: calc(100vh - 100px);
    transform: none !important;
    position: relative;
    isolation: isolate;
}

/* ──────────────────────────────────────────────────────────────────────────────
   TOP NAVIGATION - PREMIUM DESIGN
   ────────────────────────────────────────────────────────────────────────────── */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 80px;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    padding: 1rem 2.5rem;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1920px;
    margin: 0 auto;
    height: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.logo-container:hover {
    opacity: 0.9;
}

.logo-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(157, 78, 221, 0.3);
    position: relative;
}

.logo-icon-music {
    width: 28px;
    height: 28px;
    color: #000;
    filter: none;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1;
}

.logo-text-main {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-text-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-btn {
    padding: 0.625rem 1.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.admin-btn-nav {
    background: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.3);
    color: var(--accent-hover);
}

.admin-btn-nav:hover {
    background: rgba(157, 78, 221, 0.25);
    border-color: rgba(157, 78, 221, 0.4);
}

.premium-btn-nav {
    background: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.3);
    color: var(--accent-hover);
}

.premium-btn-nav:hover {
    background: rgba(157, 78, 221, 0.25);
    border-color: rgba(157, 78, 221, 0.4);
}

.dashboard-btn-nav {
    background: var(--bg-glass);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu-wrapper {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.user-info:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
}

.username-link {
    text-decoration: none;
    color: inherit;
}

.user-avatar, .user-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
    object-fit: cover;
}

.user-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.username {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.user-info-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 10000;
    min-width: 280px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition-slow);
    display: none;
}

.user-info-tooltip.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    display: block;
}

.tooltip-content {
    background: var(--bg-card);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.tooltip-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
}

.tooltip-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tooltip-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 1rem 0;
}

.tooltip-info {
    margin-bottom: 1rem;
}

.tooltip-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tooltip-badge.premium {
    background: rgba(157, 78, 221, 0.15);
    color: var(--accent-hover);
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.tooltip-badge.free {
    background: var(--bg-glass);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.tooltip-admin {
    padding: 0.375rem 0.875rem;
    background: rgba(157, 78, 221, 0.15);
    color: var(--accent-hover);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.tooltip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.tooltip-section {
    margin-top: 1rem;
}

.tooltip-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.tooltip-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.tooltip-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tooltip-action-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
    transform: translateX(4px);
}

.tooltip-action-btn svg {
    width: 18px;
    height: 18px;
}

.logout-action {
    color: var(--accent);
    border-color: rgba(255, 107, 107, 0.3);
}

.logout-action:hover {
    background: rgba(255, 107, 107, 0.15);
    border-color: var(--accent);
}

/* ──────────────────────────────────────────────────────────────────────────────
   SIDEBAR - PREMIUM DESIGN
   ────────────────────────────────────────────────────────────────────────────── */
.sidebar-music, .dashboard-sidebar {
    background: var(--bg-card);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2.5rem;
    height: fit-content;
    max-height: calc(100vh - 130px);
    position: sticky;
    top: 120px;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-music::-webkit-scrollbar {
    width: 8px;
}

.sidebar-music::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-music::-webkit-scrollbar-thumb {
    background: var(--bg-glass-hover);
    border-radius: 10px;
}

.sidebar-music::-webkit-scrollbar-thumb:hover {
    background: var(--border-medium);
}

.sidebar-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin: 0;
}

.section-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.bot-selector-section, .server-selector-section, .search-section-modern {
    margin-bottom: 2.5rem;
}

.bot-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bot-option-btn {
    width: 100%;
    padding: 1.125rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.bot-option-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.bot-option-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
    transform: translateX(4px);
}

.bot-option-btn.active {
    background: rgba(157, 78, 221, 0.15);
    border-color: var(--accent);
    color: var(--accent-hover);
    font-weight: 700;
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.1);
}

.bot-option-btn.active::before {
    width: 4px;
}

.bot-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-tertiary);
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 0 0 2px var(--bg-card);
}

.bot-status-dot.online {
    background: var(--success);
    box-shadow: 0 0 0 2px var(--bg-card), 0 0 12px rgba(0, 210, 106, 0.6);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.server-select-modern {
    width: 100%;
    padding: 1.125rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23b3b3b3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

.server-select-modern:hover {
    background-color: var(--bg-glass-hover);
    border-color: var(--border-medium);
}

.server-select-modern:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-glass-hover);
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.1);
}

.search-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
    width: 20px;
    height: 20px;
    z-index: 1;
}

.search-input-modern {
    width: 100%;
    padding: 1.125rem 1.5rem 1.125rem 3.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.search-input-modern:focus {
    outline: none;
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.1);
}

.search-input-modern::placeholder {
    color: var(--text-tertiary);
}

.play-btn-modern {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    border: none;
    border-radius: 14px;
    color: #000;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 16px rgba(157, 78, 221, 0.3);
    position: relative;
    overflow: hidden;
}

.play-btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.play-btn-modern:hover::before {
    width: 400px;
    height: 400px;
}

.play-btn-modern:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--neon-cyan));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(157, 78, 221, 0.4);
}

.play-btn-modern:active {
    transform: translateY(0);
}

.play-btn-modern svg {
    width: 22px;
    height: 22px;
}

/* ──────────────────────────────────────────────────────────────────────────────
   MAIN CONTENT - PREMIUM DESIGN
   ────────────────────────────────────────────────────────────────────────────── */
.main-content-music {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 2.5rem;
    min-width: 0;
    min-height: calc(100vh - 130px);
}

.now-playing-section {
    width: 100%;
}

.now-playing-card {
    background: var(--bg-card);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    padding: 3.5rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.now-playing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.track-display {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
}

.album-artwork {
    width: 240px;
    height: 240px;
    min-width: 240px;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
}

.album-artwork:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-medium);
}

.album-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.artwork-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.artwork-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.track-info-modern {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
}

.track-title-modern {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.track-artist-modern {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.3px;
}

.track-progress-container {
    margin-top: 0.5rem;
    width: 100%;
}

.progress-bar-modern {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.875rem;
    cursor: pointer;
    transition: height 0.2s ease;
}

.progress-bar-modern:hover {
    height: 10px;
}

.progress-fill-modern {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    border-radius: 10px;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(157, 78, 221, 0.5);
    position: relative;
}

.progress-fill-modern::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-bar-modern:hover .progress-fill-modern::after {
    opacity: 1;
}

.progress-bar-modern:hover .progress-fill-modern {
    background: linear-gradient(90deg, var(--accent-hover), var(--neon-cyan));
    box-shadow: 0 0 16px rgba(157, 78, 221, 0.6);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.player-controls-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-subtle);
}

.control-btn-modern {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: var(--bg-glass);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.control-btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.control-btn-modern:hover::before {
    width: 100px;
    height: 100px;
}

.control-btn-modern:hover {
    background: var(--bg-glass-hover);
    box-shadow: var(--shadow-md);
    transform: scale(1.1);
    color: var(--accent-hover);
}

.control-btn-modern:active {
    transform: scale(0.95);
}

.control-btn-modern.play-pause-btn {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    color: #000;
    box-shadow: 0 8px 24px rgba(157, 78, 221, 0.4);
}

.control-btn-modern.play-pause-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 32px rgba(157, 78, 221, 0.5);
    filter: brightness(1.1);
}

.control-btn-modern svg {
    width: 28px;
    height: 28px;
}

.control-btn-modern.play-pause-btn svg {
    width: 36px;
    height: 36px;
}

/* ──────────────────────────────────────────────────────────────────────────────
   CHANGELOG SYSTEM
   ────────────────────────────────────────────────────────────────────────────── */
.changelog-info {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.changelog-info:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.05);
}

.changelog-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 350px;
    max-width: 450px;
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border-medium);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.changelog-tooltip .tooltip-content {
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────────────────────
   QUEUE - PREMIUM DESIGN
   ────────────────────────────────────────────────────────────────────────────── */
.queue-section-modern {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.queue-card {
    background: var(--bg-card);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 650px;
}

.queue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.queue-header-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.queue-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin: 0;
}

.queue-count {
    padding: 0.625rem 1.5rem;
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 14px;
    font-weight: 700;
    color: var(--accent-hover);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.queue-list-modern {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    padding-right: 0.5rem;
}

.queue-list-modern::-webkit-scrollbar {
    width: 8px;
}

.queue-list-modern::-webkit-scrollbar-track {
    background: transparent;
}

.queue-list-modern::-webkit-scrollbar-thumb {
    background: var(--bg-glass-hover);
    border-radius: 10px;
}

.queue-list-modern::-webkit-scrollbar-thumb:hover {
    background: var(--border-medium);
}

.queue-item-modern {
    padding: 1.5rem 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.875rem;
}

.queue-item-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}

.queue-item-modern:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-medium);
    transform: translateX(6px);
}

.queue-item-modern:hover::before {
    width: 4px;
}

.queue-item-modern.active {
    background: rgba(157, 78, 221, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.1), var(--shadow-md);
}

.queue-item-modern.active::before {
    width: 4px;
}

.queue-item-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.queue-item-modern.active .queue-item-number {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
    border-color: var(--accent);
}

.queue-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.queue-item-title-modern {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.queue-item-artist-modern {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.4;
}

.queue-item-duration-modern {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 600;
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
    letter-spacing: 0.5px;
}

.empty-queue-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    color: var(--text-tertiary);
    text-align: center;
}

.empty-queue-state svg {
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.empty-queue-state p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ──────────────────────────────────────────────────────────────────────────────
   NOTIFICATIONS
   ────────────────────────────────────────────────────────────────────────────── */
.notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: var(--transition-slow);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-color: var(--success);
    background: rgba(0, 210, 106, 0.15);
    color: var(--success);
}

.notification-error {
    border-color: var(--accent);
    background: rgba(255, 107, 107, 0.15);
    color: var(--accent);
}

.notification-warning {
    border-color: #ff8c00;
    background: rgba(255, 140, 0, 0.15);
    color: #ff8c00;
}

.notification-info {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
}

/* ──────────────────────────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1400px) {
    .dashboard-container {
        grid-template-columns: 320px 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .track-display {
        grid-template-columns: 220px 1fr;
        gap: 2.5rem;
    }
    
    .album-artwork {
        width: 220px;
        height: 220px;
        min-width: 220px;
    }
    
    .track-title-modern {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .dashboard-container {
        grid-template-columns: 300px 1fr;
        gap: 1.5rem;
    }
    
    .track-display {
        grid-template-columns: 200px 1fr;
        gap: 2rem;
    }
    
    .album-artwork {
        width: 200px;
        height: 200px;
        min-width: 200px;
    }
    
    .track-title-modern {
        font-size: 2rem;
    }
}

/* ──────────────────────────────────────────────────────────────────────────────
   FOOTER - DASHBOARD SPECIFIC
   ────────────────────────────────────────────────────────────────────────────── */


@media (max-width: 768px) {
    .dashboard-container {
        padding: 1.5rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sidebar-music {
        position: relative;
        top: 0;
        max-height: none;
    }
    
    .now-playing-card, .queue-card {
        padding: 2rem;
        border-radius: 24px;
    }
    
    .track-display {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .album-artwork {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .track-title-modern {
        font-size: 1.75rem;
    }
    
    .queue-item-modern {
        grid-template-columns: 40px 1fr auto;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }
}
