/* ==========================================================================
   CSS STYLESHEET FOR PROFILE WEBSITE (QUANG TUAN PROFILE)
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-color: #08080a;
    --card-bg: rgba(15, 17, 24, 0.75);
    --card-bg-hover: rgba(22, 25, 36, 0.85);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(255, 255, 255, 0.2);
    
    --accent-purple: #9333ea;
    --accent-pink: #ec4899;
    --accent-cyan: #38bdf8;
    --accent-blue: #3b82f6;
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Resets & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    cursor: default;
}

body {
    min-height: 100vh;
    background: var(--bg-color);
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Canvas & Ambient Background --- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

#mouse-spotlight {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.12) 0%, rgba(56, 189, 248, 0.05) 40%, rgba(0, 0, 0, 0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s ease;
}

/* --- Custom Cyber Cursor --- */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #ffffff, 0 0 20px var(--accent-cyan);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cyber-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out;
}

.cursor-ring-halo {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulseRing 3s ease-in-out infinite;
}

.cursor-brackets .corner {
    position: absolute;
    width: 6px;
    height: 6px;
    border-color: rgba(56, 189, 248, 0.8);
    border-style: solid;
}
.c-tl { top: -2px; left: -2px; border-width: 1.5px 0 0 1.5px; }
.c-tr { top: -2px; right: -2px; border-width: 1.5px 1.5px 0 0; }
.c-br { bottom: -2px; right: -2px; border-width: 0 1.5px 1.5px 0; }
.c-bl { bottom: -2px; left: -2px; border-width: 0 0 1.5px 1.5px; }

@keyframes pulseRing {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

@media (pointer: coarse) {
    .cursor-dot, .cyber-cursor { display: none !important; }
}

/* --- Toast Notifications --- */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-msg {
    background: rgba(18, 20, 28, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.2);
    animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast-msg i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Cute Enter Overlay --- */
.enter-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(8, 8, 12, 0.92);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

.enter-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cute-floating-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decor-sparkle {
    position: absolute;
    font-size: 1.4rem;
    opacity: 0.6;
    animation: floatDecor 4s ease-in-out infinite alternate;
}
.d-1 { top: 20%; left: 25%; animation-delay: 0s; }
.d-2 { top: 30%; right: 22%; animation-delay: 1s; }
.d-3 { bottom: 25%; left: 20%; animation-delay: 2s; }
.d-4 { bottom: 30%; right: 26%; animation-delay: 1.5s; }
.d-5 { top: 15%; right: 40%; animation-delay: 0.5s; }

@keyframes floatDecor {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-15px) rotate(10deg); }
}

.cute-enter-card {
    background: rgba(20, 22, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 40px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.cute-avatar-wrap {
    position: relative;
    width: 100px;
    height: 100px;
}

.cute-avatar-halo {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple), var(--accent-cyan));
    filter: blur(10px);
    opacity: 0.7;
    animation: rotateAura 6s linear infinite;
}

.cute-avatar-fallback,
.cute-avatar-box {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #1f2937, #111827);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    display: block;
}

.cute-greet-bubble {
    position: absolute;
    top: -12px;
    right: -18px;
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cute-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
}

.cute-sparkle-icon {
    color: var(--accent-pink);
    margin-left: 6px;
}

.cute-subtext {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.cute-pill-btn {
    margin-top: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 28px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cute-pill-btn:hover {
    transform: translateY(-3px) scale(1.04);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 30px rgba(147, 51, 234, 0.3);
}

.cute-audio-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Main Layout Wrapper --- */
.main-wrapper {
    max-width: 1060px;
    margin: 0 auto;
    padding: 30px 20px 120px 20px;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.main-wrapper.hidden-content {
    opacity: 0;
    transform: translateY(30px);
}

.main-wrapper.visible-content {
    opacity: 1;
    transform: translateY(0);
}

/* --- Main Profile Card --- */
.profile-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: border-color var(--transition-normal);
}

.profile-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
}

/* --- Card Banner --- */
.card-banner {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #0d0e15 0%, #171a26 50%, #0d0e15 100%);
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.25) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
}

.banner-badge {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(10, 12, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    padding: 6px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.badge-dot.offline { background: #6b7280; }
.badge-dot.online { background: #22c55e; box-shadow: 0 0 10px #22c55e; }

/* --- Card Header Content --- */
.card-header-content {
    padding: 0 32px 32px 32px;
}

.header-top-row {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    margin-top: -60px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.avatar-container {
    position: relative;
    width: 124px;
    height: 124px;
    flex-shrink: 0;
}

.avatar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f43f5e, #ec4899, #8b5cf6, #3b82f6);
    filter: blur(4px);
    opacity: 0.95;
    animation: rotateAura 8s linear infinite;
}

@keyframes rotateAura {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.avatar-box {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #1e2130, #0f111a);
    border: 3px solid #0f111a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.identity-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
}

.name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.verified-icon {
    color: #38bdf8;
    font-size: 1.2rem;
}

.meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.username-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.tag-handle {
    color: var(--text-secondary);
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.icon-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.dot-separator {
    color: var(--text-muted);
}

.sub-titles {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.location-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Interest Tags --- */
.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.tag-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

.tag-pill i {
    color: var(--accent-cyan);
    font-size: 0.85rem;
}

/* --- Grid Layout --- */
.card-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}

@media (max-width: 840px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.grid-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Status Quote Box --- */
.status-quote-box {
    background: rgba(10, 12, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.quote-icon {
    color: var(--accent-pink);
    font-size: 1rem;
}

.typing-container {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 500;
    flex-grow: 1;
}

.typing-cursor {
    color: var(--accent-cyan);
    animation: blinkCursor 0.8s infinite;
    margin-left: 2px;
}

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

.reticle-corner {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* --- Bio Card --- */
.bio-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Sub-Headers --- */
.card-sub-header {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.card-sub-header i {
    color: var(--accent-cyan);
}

/* --- Discord Realtime Presence Card --- */
.discord-presence-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
}

.presence-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6b7280;
    margin-left: auto;
}

.presence-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.presence-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 1.1rem;
}

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

.presence-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.presence-val {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
}

/* --- Social Links Grid --- */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.social-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.social-btn.discord:hover { background: rgba(88, 101, 242, 0.2); border-color: #5865f2; color: #5865f2; }
.social-btn.facebook:hover { background: rgba(24, 119, 242, 0.2); border-color: #1877f2; color: #1877f2; }
.social-btn.instagram:hover { background: rgba(225, 48, 108, 0.2); border-color: #e1306c; color: #e1306c; }
.social-btn.github:hover { background: rgba(255, 255, 255, 0.15); border-color: #ffffff; color: #ffffff; }
.social-btn.spotify:hover { background: rgba(30, 215, 96, 0.2); border-color: #1ed760; color: #1ed760; }
.social-btn.youtube:hover { background: rgba(255, 0, 0, 0.2); border-color: #ff0000; color: #ff0000; }

/* --- Affiliated Discord Server Card --- */
.server-card-header {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.discord-server-card {
    background: rgba(20, 23, 33, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.discord-server-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.server-banner {
    height: 90px;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.server-content {
    padding: 16px 20px 20px 20px;
}

.server-top-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: -35px;
    margin-bottom: 12px;
}

.server-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    background: #111827;
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.server-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.server-meta {
    margin-top: 18px;
}

.server-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-name {
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
}

.server-badge {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
}

.server-stats {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.online-indicator {
    color: #22c55e;
}

.server-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.join-server-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.join-server-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

/* --- Fixed Bottom Music Bar --- */
.bottom-audio-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 70px;
    background: rgba(10, 11, 16, 0.88);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 220px;
}

.footer-center {
    flex-grow: 1;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    opacity: 0.8;
}

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

.player-track-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vinyl-disc {
    font-size: 1.6rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-disc.spin {
    animation: spinDisc 4s linear infinite;
    color: var(--accent-pink);
}

@keyframes spinDisc {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.track-info {
    display: flex;
    flex-direction: column;
    max-width: 140px;
}

.track-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

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

.control-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.control-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.control-btn.play-btn {
    background: #ffffff;
    color: #000000;
}

.control-btn.play-btn:hover {
    background: #e5e7eb;
    transform: scale(1.06);
}

/* Equalizer Bars */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    width: 20px;
}

.eq-bar {
    flex-grow: 1;
    background: var(--accent-cyan);
    height: 20%;
    border-radius: 2px;
    transition: height 0.2s ease;
}

.equalizer.playing .eq-bar:nth-child(1) { animation: eqAnim 0.8s ease-in-out infinite alternate; }
.equalizer.playing .eq-bar:nth-child(2) { animation: eqAnim 1.1s ease-in-out infinite alternate 0.2s; }
.equalizer.playing .eq-bar:nth-child(3) { animation: eqAnim 0.7s ease-in-out infinite alternate 0.4s; }
.equalizer.playing .eq-bar:nth-child(4) { animation: eqAnim 0.9s ease-in-out infinite alternate 0.1s; }

@keyframes eqAnim {
    0% { height: 20%; }
    100% { height: 100%; }
}

/* Volume Slider */
.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

#volume-slider {
    width: 70px;
    accent-color: #ffffff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .footer-left, .footer-center { display: none; }
    .footer-right { width: 100%; justify-content: space-between; }
    .header-top-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}
