/* =============================================
   Baku Muzik 2.0 — Modern YouTube Portal Design
   ============================================= */

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

:root {
    --bg: #0b0c10;
    --surface: #14161d;
    --surface2: #1e212b;
    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.15);
    --text: #f3f4f6;
    --text-sec: #9ca3af;
    --text-muted: #6b7280;
    --accent: #ff0036;
    --accent-hover: #ff2a55;
    --accent-bg: rgba(255, 0, 54, 0.12);
    --accent-border: rgba(255, 0, 54, 0.3);
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --pro: #8b5cf6;
    --pro-bg: rgba(139, 92, 246, 0.12);
    --radius: 10px;
    --player-height: 80px;
}

/* Light Theme */
[data-theme="light"] {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface2: #f1f5f9;
    --border: rgba(0,0,0,0.08);
    --border-strong: rgba(0,0,0,0.15);
    --text: #0f172a;
    --text-sec: #475569;
    --text-muted: #94a3b8;
    --accent: #dc2626;
    --accent-hover: #ef4444;
    --accent-bg: rgba(220, 38, 38, 0.08);
    --accent-border: rgba(220, 38, 38, 0.25);
}

/* Cyberpunk Neon Theme */
[data-theme="cyberpunk"] {
    --bg: #05050f;
    --surface: #0f0c1b;
    --surface2: #1b1633;
    --border: rgba(0, 243, 255, 0.15);
    --border-strong: rgba(0, 243, 255, 0.3);
    --text: #e2f1ff;
    --text-sec: #80bfff;
    --text-muted: #4d88bf;
    --accent: #00f3ff;
    --accent-hover: #59f7ff;
    --accent-bg: rgba(0, 243, 255, 0.15);
    --accent-border: rgba(0, 243, 255, 0.4);
}

body.video-mode {
    --accent: #10b981;
    --accent-hover: #34d399;
    --accent-bg: var(--success-bg);
    --accent-border: rgba(16, 185, 129, 0.3);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem calc(var(--player-height) + 2rem);
    transition: background 0.3s, color 0.3s;
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Brand — Premium Glassmorphism Header ── */
.brand {
    width: 100%;
    max-width: 620px;
    margin-bottom: 1rem;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 0, 54, 0.08) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(0, 243, 255, 0.06) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(255, 0, 54, 0.12),
        0 0 60px rgba(139, 92, 246, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: headerFloat 6s ease-in-out infinite;
}

/* Animated gradient border glow */
.brand::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, #ff0036, #8b5cf6, #00f3ff, #ff0036);
    background-size: 400% 400%;
    animation: borderGlow 4s ease infinite;
    z-index: -1;
    opacity: 0.5;
}

/* Floating shimmer overlay */
.brand::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    animation: shimmer 5s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

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

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

@keyframes headerFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

[data-theme="light"] .brand {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.06) 0%, rgba(139, 92, 246, 0.06) 50%, rgba(59, 130, 246, 0.04) 100%);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 40px rgba(139, 92, 246, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

[data-theme="cyberpunk"] .brand {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1) 0%, rgba(139, 0, 255, 0.08) 50%, rgba(255, 0, 100, 0.06) 100%);
    box-shadow:
        0 8px 32px rgba(0, 243, 255, 0.15),
        0 0 80px rgba(0, 243, 255, 0.08),
        inset 0 1px 0 rgba(0, 243, 255, 0.12);
}

.brand-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.brand-logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 0, 54, 0.35);
    animation: iconPulse 3s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(255, 0, 54, 0.35); transform: scale(1); }
    50% { box-shadow: 0 8px 30px rgba(255, 0, 54, 0.5); transform: scale(1.05); }
}

[data-theme="cyberpunk"] .brand-icon-wrap {
    background: linear-gradient(135deg, #00f3ff 0%, #8b00ff 100%);
    box-shadow: 0 6px 20px rgba(0, 243, 255, 0.4);
}

.brand-title {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.badge-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 0, 54, 0.3);
}

.brand-subtitle {
    font-size: 13px;
    color: var(--text-sec);
    margin-top: 2px;
    font-weight: 400;
}

.brand-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    vertical-align: middle;
    box-shadow: 0 6px 20px rgba(255, 0, 54, 0.35);
    animation: iconPulse 3s ease-in-out infinite;
}

/* ── Statistics Panel ── */
.stats-panel {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 14px 14px 0 0;
    opacity: 0.8;
}

.stat-card:nth-child(1)::before { background: linear-gradient(90deg, #ff0036, #ff6b6b); }
.stat-card:nth-child(2)::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.stat-card:nth-child(3)::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .stat-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="cyberpunk"] .stat-card {
    background: rgba(0, 243, 255, 0.04);
    border-color: rgba(0, 243, 255, 0.12);
}

.stat-icon {
    font-size: 22px;
    margin-bottom: 6px;
    display: block;
    opacity: 0.9;
}

.stat-card:nth-child(1) .stat-icon { color: #ff4d6d; }
.stat-card:nth-child(2) .stat-icon { color: #a78bfa; }
.stat-card:nth-child(3) .stat-icon { color: #fbbf24; }

.stat-value {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    display: block;
}

.stat-label {
    font-size: 11px;
    color: var(--text-sec);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ── Language Selector (Header) ── */
.lang-selector {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .lang-selector {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

.lang-selector .lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.lang-selector .lang-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.lang-selector .lang-btn.active {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(255, 0, 54, 0.3);
}

/* ── Theme Toggle Button ── */
.btn-theme {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-sec);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-theme:hover {
    background: var(--accent-bg);
    color: var(--accent);
    border-color: var(--accent-border);
    transform: rotate(20deg);
}

[data-theme="light"] .btn-theme {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

.brand h1 span { color: var(--accent); }
.brand p {
    font-size: 14px;
    color: var(--text-sec);
    margin-top: 4px;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-tool-btn {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}
.icon-tool-btn:hover {
    background: var(--surface2);
    color: var(--accent);
    border-color: var(--accent-border);
}

/* ── Language Switcher ── */
.lang-switcher {
    display: flex; gap: 3px;
    background: var(--surface); padding: 3px;
    border-radius: var(--radius); border: 1px solid var(--border-strong);
}
.lang-btn {
    background: transparent; border: none; cursor: pointer;
    padding: 3px 5px; border-radius: 5px;
    opacity: 0.5; transition: all 0.15s;
    display: flex; align-items: center;
}
.lang-btn:hover { opacity: 0.8; }
.lang-btn.active { opacity: 1; background: var(--accent-bg); }
.lang-btn img {
    width: 20px; height: auto; border-radius: 3px;
    display: block; box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ── Main Card ── */
.main-card {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ── Input & Autocomplete ── */
.inp-wrap { position: relative; width: 100%; }
.inp-wrap input {
    width: 100%;
    height: 48px;
    background: var(--surface2);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 0 42px 0 14px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}
.inp-wrap input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
}
.inp-clear {
    position: absolute; right: 10px; top: 50%;
    transform: translateY(-50%);
    background: transparent; border: none;
    color: var(--text-sec); cursor: pointer;
    padding: 6px; font-size: 18px; display: none;
}
.inp-clear:hover { color: var(--text); }

.autocomplete-box {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    max-height: 240px;
    overflow-y: auto;
}
.autocomplete-item {
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}
.autocomplete-item:hover {
    background: var(--surface2);
    color: var(--accent);
}

/* ── Action Buttons ── */
.btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}
.main-btn {
    height: 46px;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: var(--surface2);
    color: var(--text);
    font-size: 14px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.main-btn:hover {
    background: var(--accent-bg);
    border-color: var(--accent-border);
    color: var(--accent);
    transform: translateY(-1px);
}
.btn-music:hover { color: #ff0055; border-color: rgba(255, 0, 85, 0.4); }
.btn-video:hover { color: #10b981; border-color: rgba(16, 185, 129, 0.4); }

/* ── Section UI ── */
.section {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    overflow: hidden;
}
.sec-header {
    padding: 12px 16px;
    background: var(--surface2);
    border-bottom: 1px solid var(--border);
    font-size: 15px; font-weight: 600;
    display: flex; align-items: center; justify-content: space-between;
}
.sec-body { padding: 14px; }

/* ── Quality Selector Grid ── */
.q-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}
.q-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.q-card:hover, .q-card.selected {
    border-color: var(--accent);
    background: var(--accent-bg);
}
.q-title { font-size: 14px; font-weight: 700; color: var(--text); }
.q-sub { font-size: 12px; color: var(--text-sec); margin-top: 2px; }

/* ── Audio Trimmer Box ── */
.trimmer-box {
    margin: 12px 0;
    padding: 10px 12px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.trimmer-cb-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; cursor: pointer; color: var(--text);
}
.trimmer-controls {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; margin-top: 10px;
}
.trim-input-group {
    display: flex; flex-direction: column; gap: 4px;
}
.trim-input-group label { font-size: 12px; color: var(--text-sec); }
.trim-input-group input {
    height: 36px; background: var(--surface);
    border: 1px solid var(--border-strong); border-radius: 6px;
    padding: 0 10px; color: var(--text); font-size: 14px; outline: none;
}

/* ── Telegram Direct Send Box ── */
.tg-send-box {
    margin-bottom: 12px;
    display: flex; flex-direction: column; gap: 6px;
}
.tg-send-header {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.tg-send-box label { font-size: 13px; color: var(--text-sec); display: flex; align-items: center; gap: 6px; }
.tg-bot-link {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(0, 136, 204, 0.15); border: 1px solid rgba(0, 136, 204, 0.35);
    color: #0088cc; padding: 4px 10px; border-radius: 6px;
    font-size: 12px; font-weight: 600; text-decoration: none;
    transition: all 0.2s;
}
.tg-bot-link:hover {
    background: #0088cc; color: #ffffff; transform: translateY(-1px);
}
.tg-send-box input {
    height: 38px; background: var(--surface2);
    border: 1px solid var(--border-strong); border-radius: var(--radius);
    padding: 0 12px; color: var(--text); font-size: 13px; outline: none;
}

/* ── Download Button ── */
.dl-btn {
    width: 100%; height: 46px;
    background: var(--accent);
    color: #ffffff;
    border: none; border-radius: var(--radius);
    font-size: 15px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    cursor: pointer; transition: background 0.2s, transform 0.1s;
    margin-top: 10px;
}
.dl-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ── Progress Bar ── */
.prog-wrap { margin-top: 12px; display: none; }
.prog-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-sec); margin-bottom: 4px; }
.prog-bar { width: 100%; height: 8px; background: var(--surface2); border-radius: 4px; overflow: hidden; }
.prog-fill { height: 100%; width: 0%; background: var(--accent); transition: width 0.3s; }

/* ── Trending Section ── */
.trend-tabs {
    display: flex; gap: 6px; overflow-x: auto;
    padding-bottom: 8px; margin-bottom: 12px;
}
.trend-tab {
    background: var(--surface2); border: 1px solid var(--border);
    color: var(--text-sec); padding: 6px 12px; border-radius: 20px;
    font-size: 13px; white-space: nowrap; cursor: pointer; transition: all 0.2s;
}
.trend-tab:hover, .trend-tab.active {
    background: var(--accent-bg); color: var(--accent); border-color: var(--accent-border);
}
.trending-grid {
    display: grid; grid-template-columns: 1fr; gap: 8px;
    max-height: 380px; overflow-y: auto;
}
.trend-card {
    display: flex; align-items: center; gap: 10px;
    padding: 8px; background: var(--surface2);
    border-radius: 8px; border: 1px solid var(--border);
    transition: background 0.2s;
}
.trend-card:hover { background: var(--border); }
.trend-thumb { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; }
.trend-info { flex: 1; min-width: 0; }
.trend-title { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-channel { font-size: 12px; color: var(--text-sec); margin-top: 2px; }
.trend-actions { display: flex; gap: 6px; }
.trend-btn {
    background: var(--surface); border: 1px solid var(--border-strong);
    color: var(--text); padding: 6px 10px; border-radius: 6px;
    font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.trend-btn:hover { background: var(--accent-bg); color: var(--accent); }

/* ── Playlist & Search Items ── */
.pl-actions { display: flex; align-items: center; gap: 8px; }
.pl-action-btn {
    background: var(--surface2);
    border: 1px solid var(--border-strong);
    color: var(--text);
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    transition: all 0.2s;
}
.pl-action-btn:hover {
    background: var(--border-strong);
    border-color: var(--accent-border);
    color: var(--accent);
    transform: translateY(-1px);
}
.pl-action-btn.primary {
    background: var(--accent);
    color: #ffffff;
    border: none;
}
.pl-action-btn.primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--accent-bg);
}

.playlist-list { display: flex; flex-direction: column; gap: 6px; padding: 10px; max-height: 350px; overflow-y: auto; }
.track-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; background: var(--surface2);
    border-radius: 8px; border: 1px solid var(--border);
}
.track-thumb { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.track-info { flex: 1; min-width: 0; }
.track-title { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-channel { font-size: 11px; color: var(--text-sec); }

/* ── Sticky Bottom Audio Player ── */
.sticky-player {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--player-height);
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-strong);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 0 1rem;
}
[data-theme="light"] .sticky-player { background: rgba(255, 255, 255, 0.95); }

.player-content {
    width: 100%; max-width: 900px;
    display: flex; align-items: center; gap: 16px;
}
.player-cover-img {
    width: 48px; height: 48px; border-radius: 8px; object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.player-cover-img.playing { animation: spinCover 15s linear infinite; }
@keyframes spinCover { 100% { transform: rotate(360deg); } }

.player-track-info { width: 180px; min-width: 0; }
.player-title { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-channel { font-size: 11px; color: var(--text-sec); margin-top: 2px; }

.player-controls { display: flex; align-items: center; gap: 8px; }
.player-btn {
    background: transparent; border: none;
    color: var(--text); font-size: 18px; cursor: pointer;
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.player-btn:hover { background: var(--surface2); color: var(--accent); }
.play-main-btn {
    background: var(--accent); color: #fff; width: 38px; height: 38px;
}
.play-main-btn:hover { background: var(--accent-hover); color: #fff; transform: scale(1.05); }

.player-timeline {
    flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-sec);
}
.player-timeline input[type="range"] {
    flex: 1; accent-color: var(--accent); cursor: pointer; height: 4px;
}

.player-volume { display: flex; align-items: center; gap: 6px; width: 110px; }
.player-volume input[type="range"] { width: 70px; accent-color: var(--accent); height: 4px; }

@media (max-width: 640px) {
    .player-volume { display: none; }
    .player-track-info { width: 110px; }
}

footer {
    margin-top: 2rem; font-size: 12px; color: var(--text-sec); text-align: center;
}
