/* FENOGRAM - Static Grids (No Slider) */

/* ==================== TOP 10 GRID ==================== */
.top10-section {
    padding: 40px 60px;
    background: #000000;
    position: relative;
}

/* Gündemdekiler - With Video Background */
.top10-section.top10-with-video {
    background-color: #000000;
    position: relative;
    overflow: hidden;
    padding: 80px 60px 100px 60px;
}

/* Background Video */
.top10-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Video Overlay - Black with opacity and blur */
.top10-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

/* Top Gradient for cinematic effect */
.top10-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Bottom Gradient for cinematic effect */
.top10-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Content should be above video and overlays */
.top10-section.top10-with-video .section-title,
.top10-section.top10-with-video .top10-grid {
    position: relative;
    z-index: 3;
}

/* Top 10 items - Add shadow behind posters */
.top10-section.top10-with-video .top10-item {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7));
    transition: filter 0.3s ease;
}

.top10-section.top10-with-video .top10-item:hover {
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.9));
}

.top10-section .section-title {
    margin-bottom: 40px;
    font-size: 3rem;
    font-weight: 900;
    color: #f5f5f5;
    text-align: center;
}

.top10-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.top10-grid .top10-item {
    position: relative;
    display: block;
    text-decoration: none;
}

.top10-grid .top10-rank {
    position: absolute;
    left: 12px;
    bottom: 12px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.8);
    z-index: 3;
    line-height: 1;
    -webkit-text-stroke: 3px #FFFF8A;
    text-stroke: 3px #FFFF8A;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.9));
    transition: transform 0.3s ease;
}

.top10-grid .top10-item:hover .top10-rank {
    transform: scale(1.1);
}

.top10-grid .top10-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 3px;
    overflow: hidden;
}

.top10-grid .top10-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.top10-grid .card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* ==================== POPULAR GRID (6 ITEMS) ==================== */
.popular-section {
    padding: 40px 60px;
}

.popular-section .section-title {
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 900;
    color: #f5f5f5;
    text-align: center;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.popular-grid .content-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.popular-grid .content-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

/* ==================== NEW GRID (4 ITEMS) ==================== */
.new-section {
    padding: 40px 60px;
}

.new-section .section-title {
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 900;
    color: #f5f5f5;
    text-align: center;
}

.new-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.new-grid .content-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.new-grid .content-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: 80px 60px;
    margin: 80px 80px 0 80px;
    background-color: #0a0a0a;
}

.faq-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    font-weight: 900;
    color: #f5f5f5;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background-color: #1a1a1a;
    border-radius: 3px;
    overflow: visible;
    transition: border-left-color 0.3s ease, background-color 0.2s ease;
    border-left: 4px solid transparent;
}

.faq-item.active {
    border-left-color: #FFFF8A;
    background-color: rgba(26, 26, 26, 1);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
    font-family: 'Poppins', sans-serif;
    user-select: none;
}

.faq-question:hover {
    background-color: rgba(255, 255, 138, 0.05);
}

.faq-question:focus {
    outline: none;
}

.faq-icon {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: max-height;
}

.faq-answer p {
    color: #b3b3b3;
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
    padding: 0 24px 20px 24px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .top10-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .popular-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .new-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .top10-section,
    .popular-section,
    .new-section {
        padding: 30px 20px;
    }
    
    /* Video background for mobile */
    .top10-section.top10-with-video {
        padding: 50px 20px 60px 20px;
    }
    
    .top10-gradient-top,
    .top10-gradient-bottom {
        height: 100px;
    }
    
    /* Reduce blur on mobile for performance */
    .top10-video-overlay {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        background-color: rgba(0, 0, 0, 0.8);
    }
    
    .top10-section .section-title {
        font-size: 2.2rem;
    }
    
    .top10-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .top10-grid .top10-rank {
        font-size: 4rem;
        left: 8px;
        bottom: 8px;
        -webkit-text-stroke: 2px #FFFF8A;
        text-stroke: 2px #FFFF8A;
    }
    
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .new-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .faq-section {
        padding: 60px 30px;
        margin: 60px 0 0 0;
    }
    
    .faq-section .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 18px 20px;
    }
    
    .faq-icon {
        font-size: 1.6rem;
        margin-left: 12px;
    }
    
    .faq-answer p {
        font-size: 0.88rem;
        padding: 0 20px 18px 20px;
    }
}

@media (max-width: 480px) {
    .top10-section,
    .popular-section,
    .new-section {
        padding: 25px 20px;
    }
    
    /* Video background for small mobile */
    .top10-section.top10-with-video {
        padding: 40px 20px 50px 20px;
    }
    
    .top10-gradient-top,
    .top10-gradient-bottom {
        height: 80px;
    }
    
    .top10-section .section-title {
        font-size: 1.8rem;
    }
    
    .top10-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .top10-grid .top10-rank {
        font-size: 3rem;
        left: 6px;
        bottom: 6px;
        -webkit-text-stroke: 2px #FFFF8A;
        text-stroke: 2px #FFFF8A;
    }
    
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .new-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .faq-section {
        padding: 40px 20px;
        margin: 40px 0 0 0;
    }
    
    .faq-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .faq-question {
        font-size: 0.9rem;
        padding: 16px 18px;
    }
    
    .faq-icon {
        font-size: 1.5rem;
        margin-left: 10px;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
        line-height: 1.6;
        padding: 0 18px 16px 18px;
    }
}
