/* Fragmanlar Listesi Sayfası */
.trailers-page {
    padding: 2rem 0;
}

.trailers-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trailers-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent, #e11d48), #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.trailers-header p {
    color: var(--text-muted, #6c757d);
    font-size: 1.1rem;
}

/* Filtreleme çubuğu */
.trailers-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    background: var(--bg-card, #f8f9fa);
    color: var(--text, #212529);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid var(--border-light, #e9ecef);
}

.filter-btn.active {
    background: var(--accent, #e11d48);
    color: white;
    border-color: var(--accent, #e11d48);
}

.filter-btn:hover:not(.active) {
    background: var(--bg-hover, #e9ecef);
}

/* Fragman Grid */
.trailers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.trailer-card {
    background: var(--bg-card, #fff);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trailer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.2);
}

.trailer-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.trailer-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.trailer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.trailer-card:hover .trailer-thumb img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trailer-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 4rem;
    color: white;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s;
}

.trailer-card:hover .play-overlay i {
    transform: scale(1.1);
}

.trailer-info {
    padding: 1.25rem;
}

.trailer-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trailer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted, #6c757d);
}

.type-badge {
    background: var(--accent, #e11d48);
    color: white;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.related-info {
    font-size: 0.75rem;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sayfalama */
.trailers-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

/* Boş durum */
.no-results {
    text-align: center;
    padding: 4rem;
    background: var(--bg-card, #f8f9fa);
    border-radius: 24px;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .trailers-header h1 {
        font-size: 1.8rem;
    }
    .trailers-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1rem;
    }
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}