/* Premium Dark Minimalist Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0b0e;
    color: #ffffff;
    height: 100vh;
    overflow: hidden;
}

.app-container {
    display: flex;
    height: calc(100vh - 90px); /* Adjusting for bottom player */
    width: 100%;
}

/* SIDEBAR STYLING */
.sidebar {
    width: 260px;
    background-color: #121216;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #1f1f27;
}

.logo h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: #6366f1; /* Special accent purple-blue */
}

.nav-links {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
}

.nav-links a.active i {
    color: #6366f1;
}

.user-badge {
    background-color: #1e1e24;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
}

.user-points {
    font-size: 12px;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* MAIN CONTENT STYLING */
.main-content {
    flex-grow: 1;
    background: linear-gradient(to bottom, #13131a, #0b0b0e);
    padding: 30px;
    overflow-y: auto;
}

.main-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.vibe-tag {
    background-color: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #a5b4fc;
}

.section-wrapper {
    margin-bottom: 40px;
}

.section-wrapper h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Year Pills */
.year-filters {
    display: flex;
    gap: 12px;
}

.year-pill {
    background-color: #1e1e24;
    border: none;
    color: #94a3b8;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.year-pill:hover, .year-pill.active {
    background-color: #6366f1;
    color: white;
}

/* Artists Grid */
.artists-grid {
    display: flex;
    gap: 20px;
}

.artist-card {
    background-color: #121216;
    padding: 20px;
    border-radius: 16px;
    width: 160px;
    text-align: center;
    transition: background 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.artist-card:hover {
    background-color: #1e1e24;
    border-color: #2e2e38;
}

.artist-img-fallback {
    width: 100px;
    height: 100px;
    background-color: #282833;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #64748b;
}

.artist-card h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.artist-card p {
    font-size: 12px;
    color: #64748b;
}

/* FIXED BOTTOM PLAYER STYLING */
.bottom-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background-color: #121216;
    border-top: 1px solid #1f1f27;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 100;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 25%;
}

.album-art-fallback {
    width: 56px;
    height: 56px;
    background-color: #1e1e24;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6366f1;
}

.track-details h4 {
    font-size: 14px;
    font-weight: 600;
}

.track-details p {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Progress bar & Controls */
.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 45%;
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.control-btn {
    background: none;
    border: none;
    color: #b4b4c6;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}

.control-btn:hover {
    color: white;
}

.control-btn.play-main {
    background-color: white;
    color: black;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.control-btn.play-main:hover {
    transform: scale(1.05);
    background-color: #f1f5f9;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.progress-container span {
    font-size: 11px;
    color: #94a3b8;
    width: 35px;
}

#progress-bar, #volume-bar {
    flex-grow: 1;
    accent-color: #6366f1;
    height: 4px;
    cursor: pointer;
}

/* Extra controls / Volume */
.extra-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 25%;
    justify-content: flex-end;
}

.sync-indicator {
    background-color: #1e1e24;
    border: 1px solid #2e2e38;
    color: #94a3b8;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 120px;
}

.volume-container i {
    color: #94a3b8;
    font-size: 14px;
}