/* Home Page Specific Styling */

/* Featured Anime Slider */
.featured-anime {
    padding: 0;
    margin-bottom: 2rem;
}

.featured-item {
    position: relative;
    height: 500px;
}

.featured-image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: center;
}

.featured-content {
    color: white;
    max-width: 600px;
    padding: 2rem;
}

.featured-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.anime-genres {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.anime-synopsis {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Slick Slider Custom Styling */
.featured-slider .slick-prev,
.featured-slider .slick-next {
    z-index: 100;
    width: 40px;
    height: 40px;
}

.featured-slider .slick-prev {
    left: 15px;
}

.featured-slider .slick-next {
    right: 15px;
}

.featured-slider .slick-dots {
    bottom: 15px;
}

.featured-slider .slick-dots li button:before {
    color: white;
    opacity: 0.5;
}

.featured-slider .slick-dots li.slick-active button:before {
    opacity: 1;
}

/* Genre Cards */
.genre-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.genre-image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}

.genre-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
    transition: background 0.3s;
}

.genre-card:hover .genre-image {
    transform: scale(1.1);
}

.genre-card:hover .genre-overlay {
    background: linear-gradient(to bottom, rgba(98,0,238,0.4) 0%, rgba(98,0,238,0.8) 100%);
}

.genre-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.anime-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Seasonal Anime Section */
.seasonal-anime {
    background-color: var(--surface);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Top Rated Section */
.top-rated {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

/* Advertisement Section */
.ad-section {
    background-color: var(--surface);
    padding: 2rem 0;
    text-align: center;
    margin: 2rem 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .featured-item {
        height: 400px;
    }
    
    .featured-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .featured-item {
        height: 350px;
    }
    
    .featured-content {
        max-width: 100%;
    }
    
    .featured-content h2 {
        font-size: 1.8rem;
    }
    
    .anime-synopsis {
        display: none;
    }
}

@media (max-width: 576px) {
    .featured-item {
        height: 300px;
    }
    
    .featured-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
        align-items: flex-end;
    }
    
    .featured-content {
        padding: 1rem;
    }
    
    .featured-content h2 {
        font-size: 1.5rem;
    }
    
    .anime-genres {
        font-size: 0.9rem;
    }
}
