* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', sans-serif;
    background: #0a0a0a;
    color: #fff;
    line-height: 1.6;
}

.top-bar {
    background: #1a1a1a;
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    font-size: 0.9rem;
}

.header {
    background: #111;
    padding: 1.5rem 0;
    border-bottom: 2px solid #ff6b6b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 2rem;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(90deg); }
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b6b;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.featured {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.featured-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.slider-controls button {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-controls button:hover {
    background: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.section {
    margin-bottom: 4rem;
}

.section-header {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ff6b6b;
    display: inline-block;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.trending-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #1a1a1a;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.trending-item:hover {
    transform: translateY(-10px);
}

.number-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b6b;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.trending-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.trending-info {
    padding: 1.5rem;
    position: relative;
}

.trending-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.trending-info p {
    color: #999;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trending-item:hover .play-overlay {
    opacity: 1;
}

.play-button {
    background: #ff6b6b;
    border: none;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.genre-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.genre-card:hover {
    transform: scale(1.05);
}

.genre-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.genre-card:hover img {
    filter: brightness(0.9);
}

.genre-card h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}

.chart-list {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 2rem;
}

.chart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: background 0.3s ease;
    cursor: pointer;
}

.chart-item:hover {
    background: #252525;
}

.rank {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b6b;
    min-width: 50px;
}

.chart-item img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.chart-details {
    flex: 1;
}

.chart-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.chart-details p {
    color: #999;
    font-size: 0.9rem;
}

.duration {
    color: #999;
}

.footer {
    background: #111;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
}
