/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

.albums-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo i {
    font-size: 2.5rem;
    color: #ff4757;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff4757, #ff6b81);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav ul {
    list-style: none;
    margin-bottom: 40px;
}

.main-nav li {
    margin-bottom: 8px;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    color: #b3b3b3;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateX(5px);
}

.main-nav a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.main-nav li.active a {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(255, 107, 129, 0.2));
    color: #ff4757;
    border-left: 3px solid #ff4757;
    font-weight: 500;
}

.user-stats {
    margin-top: auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-stats h3 {
    font-size: 1rem;
    color: #b3b3b3;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
}

.stat-item i {
    font-size: 1.5rem;
    color: #ff4757;
    margin-bottom: 10px;
}

.stat-item h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.8rem;
    color: #b3b3b3;
}

.sidebar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff4757;
}

.user-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.user-info p {
    font-size: 0.8rem;
    color: #ff6b81;
    font-weight: 500;
}

.logout-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 71, 87, 0.2);
    border: none;
    border-radius: 10px;
    color: #ff4757;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 71, 87, 0.3);
    transform: rotate(15deg);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 30px;
    background: linear-gradient(180deg, #0a0a0a 0%, #121212 100%);
    overflow-y: auto;
}

/* Header */
.albums-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-content h1 i {
    color: #ff4757;
}

.header-content p {
    color: #b3b3b3;
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search-bar {
    position: relative;
    min-width: 300px;
}

.search-bar i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b3b3b3;
}

.search-bar input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #ff4757;
    background: rgba(255, 255, 255, 0.1);
}

.create-album-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.create-album-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-tab {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #b3b3b3;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-tab.active,
.filter-tab:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: #ff4757;
    color: white;
}

/* Sort Options */
.sort-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-group span {
    color: #b3b3b3;
    font-size: 0.95rem;
}

.sort-select {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: #ff4757;
}

.sort-select option {
    background: #121212;
}

.view-options {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #b3b3b3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: rgba(255, 71, 87, 0.2);
    border-color: #ff4757;
    color: white;
}

/* Albums Grid */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.album-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.album-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.album-cover {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.1);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: #1db954;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background: #1ed760;
}

.album-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    transform: scale(1.1);
    background: white;
}

.action-btn.favorite.active {
    background: #ff4757;
    color: white;
}

.action-btn.favorite:hover {
    background: #ff6b81;
    color: white;
}

.album-year {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: white;
}

.album-info {
    padding: 25px;
}

.album-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist {
    color: #ff4757;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.album-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.album