/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Circular', Arial, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: #a7a7a7;
    font-size: 0.8rem;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

.container {
    display: flex;
    height: calc(100vh - 80px); /* Account for bottom banner */
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: #121212;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    overflow-y: auto;
}

.logo {
    padding: 0 20px;
    margin-bottom: 20px;
}

.logo i {
    font-size: 2rem;
    color: #fff;
}

.nav-icons {
    padding: 0 20px;
    margin-bottom: 20px;
}

.nav-icon {
    padding: 10px 0;
    font-size: 1.2rem;
    color: #a7a7a7;
}

.nav-icon.active {
    color: #fff;
}

.sidebar-content {
    padding: 0 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sidebar-content h3 {
    display: inline-block;
    margin-right: 10px;
}

.add-button {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #a7a7a7;
    font-size: 1.5rem;
    line-height: 30px;
    text-align: center;
    float: right;
}

.playlist-section, .podcast-section {
    background-color: #242424;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.playlist-section h4, .podcast-section h4 {
    margin-bottom: 10px;
}

.playlist-section p, .podcast-section p {
    color: #a7a7a7;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.create-playlist-btn {
    background-color: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: auto;
    padding-top: 20px;
}

.links-row {
    margin-bottom: 10px;
}

.links-row a {
    margin-right: 10px;
}

.language-selector button {
    border: 1px solid #a7a7a7;
    border-radius: 20px;
    padding: 5px 10px;
    color: #fff;
    font-size: 0.8rem;
    margin-top: 20px;
}

.language-selector button i {
    margin-right: 5px;
}

/* Main Content Styles */
.main-content {
    flex-grow: 1;
    background-color: #121212;
    overflow-y: auto;
    padding: 0 20px 40px;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.search-bar {
    background-color: #242424;
    border-radius: 20px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    width: 300px;
}

.search-bar i {
    margin-right: 10px;
    color: #a7a7a7;
}

.search-bar input {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right a {
    margin-right: 20px;
    color: #a7a7a7;
}

.divider {
    width: 1px;
    height: 20px;
    background-color: #a7a7a7;
    margin: 0 20px;
}

.install-btn {
    color: #a7a7a7;
    margin-right: 20px;
}

.register-btn {
    color: #a7a7a7;
    margin-right: 20px;
}

.login-btn {
    background-color: #fff;
    color: #000;
    padding: 10px 30px;
    border-radius: 20px;
    font-weight: bold;
}

/* Content Section Styles */
.content-section {
    margin: 30px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.show-all {
    color: #a7a7a7;
    font-weight: bold;
    font-size: 0.9rem;
}

.music-grid, .artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.music-card, .artist-card {
    background-color: #181818;
    border-radius: 6px;
    padding: 15px;
    transition: background-color 0.3s;
}

.music-card:hover, .artist-card:hover {
    background-color: #282828;
}

.music-img, .artist-img {
    position: relative;
    margin-bottom: 15px;
}

.music-img img, .artist-img img {
    width: 100%;
    border-radius: 4px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.artist-img img {
    border-radius: 50%;
}

.music-card h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-card p {
    font-size: 0.8rem;
    color: #a7a7a7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bottom Banner Styles */
.bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #AF2896, #509BF5);
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

.banner-content {
    flex-grow: 1;
}

.banner-content h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.banner-content p {
    font-size: 0.9rem;
}

.register-free-btn {
    background-color: #fff;
    color: #000;
    padding: 10px 30px;
    border-radius: 20px;
    font-weight: bold;
    white-space: nowrap;
    margin-left: 20px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .music-grid, .artist-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 992px) {
    .header-right a {
        margin-right: 10px;
    }
    
    .search-bar {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        padding: 10px 20px;
        flex-direction: row;
        align-items: center;
    }
    
    .logo, .nav-icons {
        margin-bottom: 0;
        margin-right: 20px;
    }
    
    .sidebar-content {
        display: none;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-bar {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .header-right a:not(.premium-link) {
        display: none;
    }
    
    .divider {
        display: none;
    }
    
    .music-grid, .artist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bottom-banner {
        flex-direction: column;
        height: auto;
        padding: 15px;
        text-align: center;
    }
    
    .register-free-btn {
        margin-top: 15px;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .music-grid, .artist-grid {
        grid-template-columns: 1fr;
    }
    
    .header-right {
        flex-wrap: wrap;
    }
    
    .install-btn, .register-btn {
        margin-bottom: 10px;
    }
}