/* Main Content */
.main-content {
    padding-top: 4rem;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Playlists Page */
.playlists-header {
    text-align: center;
    margin: 5rem 0 4rem;
}

.badge-container {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: white;
    border: 1px solid rgba(115, 143, 189, 0.2);
    margin-bottom: 2rem;
    font-family: 'Jersey 25', cursive;
    font-size: 1rem;
    color: var(--kpop-pink);
}

body.dark .badge-container {
    background: rgba(219, 214, 223, 0.1);
    border-color: rgba(219, 214, 223, 0.2);
}

.badge-container svg {
    width: 1rem;
    height: 1rem;
}

.page-title {
    font-family: 'Jersey 25', cursive;
    font-size: 3.5rem;
    background: linear-gradient(to right, var(--kpop-pink), var(--kpop-purple), var(--kpop-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
}

body.dark .page-description {
    color: #d1d5db;
}

/* Filters */
.filters-container {
    background: white;
    border: 1px solid rgba(115, 143, 189, 0.2);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 4rem;
}

body.dark .filters-container {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(219, 214, 223, 0.2);
}

.filters-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .filters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.filter-group {
    margin-bottom: 0;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

body.dark .filter-label {
    color: #e5e7eb;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    font-family: 'Jersey 25', cursive;
    font-size: 0.875rem;
    background: #f3f4f6;
    color: #2d2d2d;
    cursor: pointer;
    transition: all 0.3s;
}

body.dark .filter-btn {
    background: rgba(219, 214, 223, 0.1);
    color: #ffffff;
}

.filter-btn:hover {
    background: #e5e7eb;
}

body.dark .filter-btn:hover {
    background: rgba(219, 214, 223, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--kpop-pink), var(--kpop-purple));
    color: white;
    box-shadow: 0 4px 12px rgba(219, 136, 164, 0.3);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border: 1px solid rgba(115, 143, 189, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}

body.dark .stat-card {
    background: rgba(219, 214, 223, 0.1);
    border-color: rgba(219, 214, 223, 0.2);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card svg {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
}

.stat-card:nth-child(1) svg { color: var(--kpop-pink); }
.stat-card:nth-child(2) svg { color: var(--kpop-purple); }
.stat-card:nth-child(3) svg { color: var(--kpop-blue); }
.stat-card:nth-child(4) svg { color: var(--kpop-light-blue); }

.stat-number {
    font-family: 'Jersey 25', cursive;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.stat-card:nth-child(1) .stat-number { color: var(--kpop-pink); }
.stat-card:nth-child(2) .stat-number { color: var(--kpop-purple); }
.stat-card:nth-child(3) .stat-number { color: var(--kpop-blue); }
.stat-card:nth-child(4) .stat-number { color: var(--kpop-light-blue); }

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

body.dark .stat-label {
    color: #d1d5db;
}

/* Playlists Grid */
.playlists-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.playlist-card {
    background: white;
    border: 1px solid rgba(115, 143, 189, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

body.dark .playlist-card {
    background: rgba(219, 214, 223, 0.1);
    border-color: rgba(219, 214, 223, 0.2);
}

.playlist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(219, 136, 164, 0.2);
}

.playlist-cover {
    position: relative;
    height: 18rem;
    overflow: hidden;
}

.playlist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.playlist-card:hover .playlist-cover img {
    transform: scale(1.1);
}

.playlist-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
}

.playlist-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Jersey 25', cursive;
    font-size: 0.75rem;
    color: #2d2d2d;
}

.playlist-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kpop-blue), var(--kpop-purple), var(--kpop-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
}

.playlist-card:hover .playlist-play-btn {
    opacity: 1;
}

.playlist-play-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
    margin-left: 0.25rem;
}

.playlist-info-overlay {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 1rem;
    color: white;
    font-size: 0.875rem;
}

.playlist-info-overlay svg {
    width: 1rem;
    height: 1rem;
}

.playlist-content {
    padding: 1.25rem;
}

.playlist-title {
    font-family: 'Jersey 25', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2d2d2d;
}

body.dark .playlist-title {
    color: #ffffff;
}

.playlist-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

body.dark .playlist-description {
    color: #d1d5db;
}

.playlist-links {
    display: flex;
    gap: 0.75rem;
}

.playlist-link {
    flex: 1;
    padding: 0.75rem 1rem;
    text-align: center;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
}

.playlist-link.spotify {
    background: #1DB954;
}

.playlist-link.spotify:hover {
    background: #1ed760;
}

.playlist-link.apple {
    background: #FA243C;
}

.playlist-link.apple:hover {
    background: #fc4c5e;
}

.playlist-link.youtube {
    background: #FF0000;
}

.playlist-link.youtube:hover {
    background: #ff3333;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 5rem 0;
}

.no-results svg {
    width: 4rem;
    height: 4rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-family: 'Jersey 25', cursive;
    font-size: 1.5rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

body.dark .no-results h3 {
    color: #9ca3af;
}

.no-results p {
    color: #9ca3af;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--kpop-blue), var(--kpop-purple), var(--kpop-pink));
    border-radius: 2rem;
    padding: 4rem 3rem;
    color: white;
    margin-top: 5rem;
}

.cta-section h2 {
    font-family: 'Jersey 25', cursive;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* Responsive */
@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
    
    .hero-description {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        flex-direction: row;
    }
    
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .comeback-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .playlists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-btn {
        display: flex;
    }
    
    .profile-btn {
        display: flex;
    }
    
    .profile-text {
        display: inline;
    }
    
    .container {
        padding: 0 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 7rem;
    }
    
    .section-title {
        font-size: 5rem;
    }
    
    .page-title {
        font-size: 5rem;
    }
    
    .comeback-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .playlists-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .container {
        padding: 0 3rem;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .hero-feature-card {
        padding: 2rem;
    }
    
    .comeback-section {
        padding: 3rem 0;
    }
    
    .header-container {
        padding: 1rem 1.5rem;
    }
    
    .brand-title {
        font-size: 1.25rem;
    }
}
