/* ===================================
   CSS Variables & Design System
   =================================== */
:root {
    /* Colors - Pure Black Theme */
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --bg-tertiary: #0a0a0a;
    --bg-card: #000000;
    --bg-card-hover: #050505;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #505050;
    
    --accent-primary: #ffffff;
    --accent-secondary: #888888;
    --accent-gradient: linear-gradient(135deg, #111111 0%, #000000 100%);
    --accent-glow: rgba(255, 255, 255, 0.05);
    
    --status-online: #23a55a;
    --status-idle: #f0b232;
    --status-dnd: #f23f43;
    --status-offline: #444444;
    --status-streaming: #593695;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-glow: rgba(255, 255, 255, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.15);
    --shadow-avatar: 0 4px 24px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 40px rgba(255, 255, 255, 0.02);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===================================
   Reset & Base
   =================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Animated Background
   =================================== */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    display: none; /* Hidden for pure black background */
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #5865F2 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
    animation-duration: 25s;
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 22s;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
    animation-duration: 28s;
}

.bg-orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: 20%;
    right: 20%;
    animation-delay: -15s;
    animation-duration: 24s;
    opacity: 0.2;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 40px) scale(0.95); }
    75% { transform: translate(30px, 20px) scale(1.05); }
}

/* Particles Canvas */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ===================================
   Main Container
   =================================== */
.main-container {
    position: relative;
    z-index: 10;
    padding: 2rem;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* ===================================
   Profile Card
   =================================== */
.profile-card {
    width: 100%;
    background: var(--bg-card);
    backdrop-filter: blur(40px) saturate(1.5);
    -webkit-backdrop-filter: blur(40px) saturate(1.5);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: cardEnter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.profile-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

@keyframes cardEnter {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.card-banner {
    position: relative;
    height: 140px;
    background: #000000;
    overflow: hidden;
}

.card-banner::after {
    display: none;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, #000000 100%);
    z-index: 1;
}

/* Live Badge */
.live-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--status-online);
    border: 1px solid rgba(35, 165, 90, 0.3);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--status-online);
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(35, 165, 90, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(35, 165, 90, 0); }
}

/* ===================================
   Avatar Section
   =================================== */
.avatar-section {
    display: flex;
    justify-content: flex-start;
    padding: 0 24px;
    margin-top: -52px;
    position: relative;
    z-index: 5;
}

.avatar-wrapper {
    position: relative;
    width: 104px;
    height: 104px;
    cursor: pointer;
}

.avatar-wrapper:hover .avatar-img {
    transform: scale(1.05);
}

.avatar-wrapper:hover .avatar-ring-glow {
    opacity: 1;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-gradient);
    padding: 3px;
    animation: ringRotate 6s linear infinite;
}

.avatar-ring-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--accent-gradient);
    filter: blur(16px);
    opacity: 0.4;
    transition: opacity var(--transition-smooth);
    animation: ringRotate 6s linear infinite;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.avatar-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-secondary);
    z-index: 2;
    box-shadow: var(--shadow-avatar);
    transition: transform var(--transition-spring);
    background: var(--bg-tertiary);
}

/* Status Indicator */
.status-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border: 3px solid var(--bg-secondary);
}

.status-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--status-offline);
    transition: background var(--transition-fast);
}

.status-indicator[data-status="online"] .status-dot {
    background: var(--status-online);
    box-shadow: 0 0 8px rgba(35, 165, 90, 0.5);
}

.status-indicator[data-status="idle"] .status-dot {
    background: var(--status-idle);
    box-shadow: 0 0 8px rgba(240, 178, 50, 0.5);
}

.status-indicator[data-status="dnd"] .status-dot {
    background: var(--status-dnd);
    box-shadow: 0 0 8px rgba(242, 63, 67, 0.5);
}

.status-indicator[data-status="offline"] .status-dot {
    background: var(--status-offline);
}

.status-indicator[data-status="streaming"] .status-dot {
    background: var(--status-streaming);
    box-shadow: 0 0 8px rgba(89, 54, 149, 0.5);
}

/* ===================================
   User Info
   =================================== */
.user-info {
    padding: 16px 24px 8px;
}

.username-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.username {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #b0b3c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.badge {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(88, 101, 242, 0.15);
    padding: 3px;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.badge:hover {
    transform: scale(1.2);
    background: rgba(88, 101, 242, 0.3);
}

.badge img, .badge svg {
    width: 100%;
    height: 100%;
}

.display-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 2px;
    font-weight: 500;
}

.user-id {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

/* ===================================
   Divider
   =================================== */
.divider {
    height: 1px;
    margin: 12px 24px;
    background: linear-gradient(90deg, transparent, var(--border-color), var(--accent-primary), var(--border-color), transparent);
    opacity: 0.5;
}

/* ===================================
   Section Titles
   =================================== */
.section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ===================================
   Status Section
   =================================== */
.status-section {
    padding: 8px 24px;
}

.custom-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.status-emoji {
    font-size: 1.2rem;
}

.status-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===================================
   Activities Section
   =================================== */
.activities-section {
    padding: 8px 24px;
}

.activity-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.activity-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-glow);
}

.activity-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
}

.activity-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.activity-type {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.activity-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-state {
    font-size: 0.78rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Spotify Special Styling */
.activity-card.spotify {
    border-color: rgba(30, 215, 96, 0.2);
    background: rgba(30, 215, 96, 0.04);
}

.activity-card.spotify:hover {
    background: rgba(30, 215, 96, 0.08);
    border-color: rgba(30, 215, 96, 0.3);
}

.activity-card.spotify .activity-type {
    color: #1ed760;
}

/* Progress bar for Spotify */
.spotify-progress {
    margin-top: 6px;
    width: 100%;
}

.progress-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #1ed760;
    border-radius: 2px;
    transition: width 1s linear;
}

.progress-times {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: 8px 24px;
}

.about-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   Links Section
   =================================== */
.links-section {
    padding: 8px 24px 16px;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.link-card:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.2);
}

.link-icon {
    width: 18px;
    height: 18px;
}

/* ===================================
   Card Footer
   =================================== */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-color);
}

.update-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.refresh-icon {
    width: 14px;
    height: 14px;
    animation: none;
}

.refresh-icon.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.conn-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--status-idle);
    transition: background var(--transition-fast);
}

.connection-status[data-state="connected"] .conn-dot {
    background: var(--status-online);
}

.connection-status[data-state="connecting"] .conn-dot {
    background: var(--status-idle);
    animation: livePulse 1.5s ease-in-out infinite;
}

.connection-status[data-state="error"] .conn-dot {
    background: var(--status-dnd);
}

.connection-status[data-state="connected"] .conn-text {
    color: var(--status-online);
}

.connection-status[data-state="connecting"] .conn-text {
    color: var(--status-idle);
}

.connection-status[data-state="error"] .conn-text {
    color: var(--status-dnd);
}

/* ===================================
   Lanyard Notice
   =================================== */
.lanyard-notice {
    width: 100%;
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(240, 178, 50, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(240, 178, 50, 0.15);
    border-radius: var(--radius-lg);
    animation: fadeIn 0.5s ease 1s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.notice-content p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.notice-content a {
    color: var(--accent-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.notice-content a:hover {
    color: var(--accent-primary);
}

/* ===================================
   Avatar Change Animation
   =================================== */
@keyframes avatarChange {
    0% { transform: scale(1); filter: brightness(1); }
    30% { transform: scale(0.9); filter: brightness(1.5); }
    60% { transform: scale(1.1); filter: brightness(0.8); }
    100% { transform: scale(1); filter: brightness(1); }
}

.avatar-img.changing {
    animation: avatarChange 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Notification toast for avatar change */
.avatar-change-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 12px 24px;
    background: rgba(88, 101, 242, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.4);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar-change-toast.show {
    transform: translateX(-50%) translateY(0);
}

.avatar-change-toast .toast-icon {
    font-size: 1.1rem;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 480px) {
    .main-container {
        padding: 1rem;
    }
    
    .card-banner {
        height: 110px;
    }
    
    .avatar-wrapper {
        width: 88px;
        height: 88px;
    }
    
    .avatar-section {
        margin-top: -44px;
    }
    
    .username {
        font-size: 1.25rem;
    }
    
    .user-info, .status-section, .activities-section, .about-section, .links-section {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .card-footer {
        padding: 10px 16px;
    }
    
    .divider {
        margin-left: 16px;
        margin-right: 16px;
    }
}

/* ===================================
   Scrollbar
   =================================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===================================
   Selection
   =================================== */
::selection {
    background: rgba(88, 101, 242, 0.3);
    color: #fff;
}

/* ===================================
   Photos Modal
   =================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    padding: 20px;
}

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

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transform: translateY(20px) scale(0.95);
    transition: all var(--transition-smooth);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #000000;
    border: 1px solid var(--border-color);
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-smooth);
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.slider-btn.prev {
    left: 12px;
}

.slider-btn.next {
    right: 12px;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* ===================================
   Music Player
   =================================== */
.music-player-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0;
    margin: 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.7);
}

.music-player {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 600px) {
    .music-player {
        padding: 10px 12px;
        gap: 10px;
    }
}


.player-cover {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

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

.player-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.track-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.player-play-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.player-play-btn:hover {
    transform: scale(1.08);
}

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

.player-progress-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.player-progress-fill {
    width: 0%;
    height: 100%;
    background: #1db954; /* Spotify green highlight */
    border-radius: 2px;
    transition: width 0.1s linear;
}

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

.spotify-link-btn {
    color: #1db954;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.spotify-link-btn:hover {
    background: rgba(29, 185, 84, 0.1);
    transform: scale(1.1);
}

.spotify-link-btn svg {
    width: 20px;
    height: 20px;
}
