/* ═══════════════════════════════════════════════════════════
   IG RADIO — DESIGN SYSTEM
   Dark mode = default | Light mode = elegant slate/warm
═══════════════════════════════════════════════════════════ */

/* ── DARK THEME (default) ─────────────────────────────── */
:root {
    --primary:        #ff007f;
    --primary-hover:  #e60072;
    --primary-glow:   rgba(255, 0, 127, 0.35);
    --secondary:      #1a1a1e;
    --bg-dark:        #0f0f12;
    --bg-card:        #16161a;
    --bg-card-2:      #1c1c22;
    --text-main:      #e8e8f0;
    --text-muted:     #8888a0;
    --text-sub:       #aaaabc;
    --border:         #2a2a3a;
    --border-strong:  #3a3a4e;
    --shadow:         0 12px 40px rgba(0, 0, 0, 0.6);
    --shadow-sm:      0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-glow:    0 0 30px rgba(255, 0, 127, 0.15);
    --chat-bg:        #0a0a0d;
    --chat-border:    #2a2a3a;
    --input-bg:       rgba(255, 255, 255, 0.04);
    --progress-track: rgba(255, 255, 255, 0.06);
    --nav-bg:         rgba(15, 15, 18, 0.85);
    --footer-bg:      #08080a;
    --overlay-bg:     rgba(15, 15, 18, 0.98);
}

/* ── LIGHT THEME ──────────────────────────────────────── */
[data-theme="light"] {
    --primary:        #e8006e;
    --primary-hover:  #c80060;
    --primary-glow:   rgba(232, 0, 110, 0.25);
    --secondary:      #f0f0f8;
    --bg-dark:        #eef0f7;        /* soft lavender-grey page bg */
    --bg-card:        #f8f8fc;        /* cards: near-white with a tint */
    --bg-card-2:      #f0f0f8;
    --text-main:      #0f0f1a;        /* deep ink */
    --text-muted:     #5a5a78;
    --text-sub:       #7a7a98;
    --border:         #dcdce8;
    --border-strong:  #c8c8dc;
    --shadow:         0 12px 40px rgba(60, 60, 120, 0.10);
    --shadow-sm:      0 4px 16px rgba(60, 60, 120, 0.07);
    --shadow-glow:    0 0 30px rgba(232, 0, 110, 0.10);
    --chat-bg:        #1a1a22;        /* keep chat dark for readability */
    --chat-border:    #2a2a3a;
    --input-bg:       rgba(15, 15, 26, 0.05);
    --progress-track: rgba(15, 15, 26, 0.08);
    --nav-bg:         rgba(248, 248, 252, 0.90);
    --footer-bg:      #1a1a28;        /* footer stays dark */
    --overlay-bg:     rgba(238, 240, 247, 0.97);
}

/* ════════════════════════════════════════════════════════
   BASE RESET
════════════════════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.35s ease, color 0.35s ease;
}

/* ── Layout Container ─────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ════════════════════════════════════════════════════════
   TOP NAVIGATION
════════════════════════════════════════════════════════ */
.top-nav {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: background 0.35s ease, border-color 0.35s ease;
}

.top-nav-logo {
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -1px;
}

.top-nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link.active {
    color: var(--primary);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 2001;
}

/* Theme toggle */
.theme-toggle {
    background: var(--input-bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 44px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.theme-toggle:hover {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

[data-theme="light"] .theme-toggle {
    background: rgba(232, 0, 110, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

.theme-select {
    display: flex;
    gap: 8px;
    align-items: center;
}

.theme-option {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 8px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.theme-option.active,
.theme-option[aria-pressed="true"] {
    background: rgba(255, 0, 127, 0.10);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--overlay-bg);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-overlay .nav-link {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-main);
}

/* ════════════════════════════════════════════════════════
   HERO / PLAYER
════════════════════════════════════════════════════════ */
.player-hero {
    background: linear-gradient(135deg, var(--bg-card-2) 0%, var(--bg-dark) 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    border-bottom: 1px solid var(--border);
    overflow: visible;
    transition: background 0.35s ease;
}

.player-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.player-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.player-container {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.player-artwork {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.player-artwork:hover {
    transform: scale(1.03) rotate(1deg);
}

.player-content {
    flex: 1;
}

/* Live badge */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 0, 127, 0.10);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 0, 127, 0.25);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* Song info */
.song-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -1px;
}

.song-artist {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

/* ── Player Controls ──────────────────────────────────── */
.player-controls-row {
    display: flex;
    align-items: center;
    gap: 25px;
}

.play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px var(--primary-glow);
    flex-shrink: 0;
}

.play-btn:hover {
    transform: scale(1.15);
    background: var(--primary-hover);
    box-shadow: 0 15px 35px var(--primary-glow);
}

.progress-wrap {
    flex: 1;
}

.progress-bar {
    height: 8px;
    background: var(--progress-track);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7000ff, var(--primary));
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px var(--primary-glow);
}

.time-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Vote pills */
.vote-pills {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    justify-content: center;
}

.vote-pill {
    background: var(--input-bg);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s;
}

.vote-pill:hover {
    background: var(--input-bg);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.vote-pill.active-like {
    border-color: #00d96e;
    color: #00d96e;
    background: rgba(0, 217, 110, 0.10);
}

.vote-pill.active-dislike {
    border-color: #ff3b3b;
    color: #ff3b3b;
    background: rgba(255, 59, 59, 0.10);
}

/* Action buttons */
.player-action-btns {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

/* ════════════════════════════════════════════════════════
   MAIN CONTENT GRID
════════════════════════════════════════════════════════ */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 80px;
}

/* ── Cards ────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 30px;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    transition: color 0.35s ease;
}

.card-title::before {
    content: '';
    width: 6px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary), #7000ff);
    border-radius: 10px;
    flex-shrink: 0;
}

/* ── News List ────────────────────────────────────────── */
.news-item {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.news-item:last-child { border-bottom: none; }

.news-item:hover {
    padding-left: 10px;
}

.news-item:hover .news-headline {
    color: var(--primary);
}

.news-img {
    width: 180px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.news-info { flex: 1; }

.news-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
    letter-spacing: 1px;
}

.news-headline {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--text-main);
    transition: color 0.2s;
}

.news-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Lists ────────────────────────────────────────────── */
.item-list { list-style: none; }

.item-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
}

.item-list li:last-child { border-bottom: none; }

/* ════════════════════════════════════════════════════════
   AI CHAT
════════════════════════════════════════════════════════ */
#ai-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    min-height: 350px;
    max-height: 400px;
    background: var(--chat-bg);
    border-radius: 8px;
    border: 1px solid var(--chat-border);
    transition: background 0.35s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ai-message-bot {
    background: #1c1c24;
    border: 1px solid #2a2a3a;
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 10px;
    padding: 11px 14px;
    align-self: flex-start !important;
    max-width: 82%;
    word-wrap: break-word;
    animation: slideIn 0.25s ease;
}

.ai-message-user {
    background: #222230;
    border: 1px solid #2a2a3a;
    border-radius: 10px 0 10px 10px;
    padding: 11px 14px;
    align-self: flex-end !important;
    max-width: 82%;
    word-wrap: break-word;
    animation: slideIn 0.25s ease;
}

.ai-message-bot p,
.ai-message-user p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.6;
    color: #d8d8e8;
    font-weight: 400;
}

/* Scrollbar */
#ai-messages::-webkit-scrollbar { width: 4px; }
#ai-messages::-webkit-scrollbar-track { background: transparent; }
#ai-messages::-webkit-scrollbar-thumb {
    background: #2a2a3a;
    border-radius: 10px;
}
#ai-messages::-webkit-scrollbar-thumb:hover { background: #3a3a4e; }

/* AI input */
#ai-input {
    flex: 1;
    padding: 11px 14px;
    border: 1px solid var(--chat-border);
    border-radius: 8px;
    background: var(--chat-bg);
    color: #e0e0f0;
    font-size: 0.93rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#ai-input::placeholder {
    color: #5a5a78;
}

#ai-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.12) !important;
}

#ai-send-btn {
    background: var(--primary) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    transition: all 0.2s !important;
    letter-spacing: 0.3px;
    padding: 11px 22px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

#ai-send-btn:hover:not(:disabled) {
    background: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px var(--primary-glow);
}

#ai-send-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Blinking cursor */
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.ai-cursor {
    display: inline-block;
    color: var(--primary);
    font-weight: 400;
    animation: cursorBlink 0.75s step-end infinite;
    margin-left: 1px;
}

/* Thinking dots */
@keyframes dotBounce {
    0%, 80%, 100% { transform: translateY(0);   opacity: 0.4; }
    40%           { transform: translateY(-5px); opacity: 1; }
}

.ai-thinking {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 2px;
}

.ai-thinking span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-block;
    animation: dotBounce 1.2s infinite ease-in-out;
}

.ai-thinking span:nth-child(2) { animation-delay: 0.2s; }
.ai-thinking span:nth-child(3) { animation-delay: 0.4s; }

/* ════════════════════════════════════════════════════════
   FORM ELEMENTS
════════════════════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="file"],
textarea {
    width: 100%;
    padding: 15px;
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    transition: all 0.3s;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder,
textarea::placeholder {
    color: var(--text-sub);
}

input:focus, textarea:focus {
    border-color: var(--primary);
    background: var(--input-bg);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

label {
    color: var(--text-main);
    font-weight: 700;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1rem;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.btn.secondary {
    background: var(--input-bg);
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn.secondary:hover {
    background: var(--bg-card-2);
    border-color: var(--border-strong);
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn.danger  { background: #e03333; color: #fff; }
.btn.success { background: #00c96e; color: #fff; }

/* Share Panel */
#share-panel {
    background: var(--bg-card) !important;
    border: 1px solid var(--primary) !important;
    color: var(--text-main);
}

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
footer {
    background: var(--footer-bg);
    color: #e0e0f0;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 25px;
    display: block;
    color: #fff;
    background: linear-gradient(45deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.40);
    font-size: 0.9rem;
}

.footer-links h4 {
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--primary);
}

.footer-links ul  { list-style: none; }
.footer-links li  { margin-bottom: 12px; }
.footer-links a   { color: rgba(255, 255, 255, 0.50); text-decoration: none; transition: color 0.2s; font-weight: 600; }
.footer-links a:hover { color: #fff; }

.footer-contact {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-contact a {
    color: var(--primary);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ════════════════════════════════════════════════════════
   UTILS & MODAL
════════════════════════════════════════════════════════ */
.hidden { display: none !important; }

.msg {
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: 700;
    text-align: center;
}

.msg.success { background: rgba(0, 201, 110, 0.12); color: #00c96e; border: 1px solid rgba(0, 201, 110, 0.25); }
.msg.error   { background: rgba(255, 59, 59, 0.10);  color: #ff5050; border: 1px solid rgba(255, 59, 59, 0.20); }

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.50);
}

.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted);
    background: none;
    border: none;
}

/* ════════════════════════════════════════════════════════
   LIGHT MODE — SPECIFIC OVERRIDES
════════════════════════════════════════════════════════ */

/* Keep chat container always dark regardless of theme */
[data-theme="light"] #ai-messages,
[data-theme="light"] #ai-input {
    background: #14141c;
    border-color: #2a2a3a;
}

[data-theme="light"] #ai-input {
    color: #e0e0f0;
}

/* Captcha canvas on light */
[data-theme="light"] #captcha-canvas {
    filter: invert(1) hue-rotate(180deg);
}

/* Player hero subtle gradient on light */
[data-theme="light"] .player-hero {
    background: linear-gradient(135deg, #e8eaf6 0%, #eef0f7 60%, #f0e8f4 100%);
}

/* Light nav subtle shadow */
[data-theme="light"] .top-nav {
    box-shadow: 0 2px 20px rgba(60, 60, 120, 0.08);
}

/* Light card subtle raised feel */
[data-theme="light"] .card {
    background: #ffffff;
    border-color: #dcdce8;
    box-shadow: 0 2px 20px rgba(60, 60, 120, 0.07), 0 1px 4px rgba(60, 60, 120, 0.05);
}

/* Secondary btn on light */
[data-theme="light"] .btn.secondary {
    background: rgba(15, 15, 26, 0.05);
    border-color: #c8c8dc;
    color: #2a2a3a;
}

[data-theme="light"] .btn.secondary:hover {
    background: rgba(15, 15, 26, 0.10);
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .container        { padding: 0 30px; }
    .player-container { gap: 30px; }
    .player-artwork   { width: 240px; height: 240px; }
    .song-title       { font-size: 2.8rem; }
    .footer-content   { gap: 40px; }
}

@media (max-width: 768px) {
    .top-nav        { height: 70px; padding: 0 20px; }
    .top-nav-links  { display: none; }
    .mobile-menu-btn { display: block; }

    .player-container     { flex-direction: column; text-align: center; padding-top: 20px; }
    .player-artwork       { width: 220px; height: 220px; margin: 0 auto; }
    .player-controls-row  { flex-direction: column; gap: 20px; }
    .play-btn             { width: 70px; height: 70px; }
    .song-title           { font-size: 2.2rem; }

    .main-grid      { grid-template-columns: 1fr; gap: 30px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-links ul { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .player-artwork       { width: 180px; height: 180px; }
    .song-title           { font-size: 1.8rem; }
    .song-artist          { font-size: 1rem; }
    .player-action-btns   { flex-direction: column; width: 100%; }
    .btn.small            { width: 100%; justify-content: center; }
    #share-panel          { width: 90vw; right: -5vw; }
}
