/* =========================================
   TEMALAR SAYFASI (THEMES.CSS)
   ========================================= */
.themes-hero {
    padding: clamp(100px, 15vh, 140px) 0 clamp(60px, 10vh, 100px);
}

.theme-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    margin-top: 30px;
}

.filter-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 99px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    transition: 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 30px;
    padding: 40px 0;
}

.theme-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}

.theme-preview {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: var(--bg-light);
}

.theme-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: 0.5s ease;
}

.theme-card:hover .theme-img {
    transform: scale(1.05);
}

.theme-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background-color: var(--bg-light);
}

.theme-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: 0.3s ease;
    backdrop-filter: blur(4px);
}

.theme-card:hover .theme-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 80%;
    max-width: 250px;
}

.theme-info {
    padding: 20px;
}

.t-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.t-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.t-status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 700;
}

.t-status.premium { background: #eef2ff; color: #4f46e5; }
.t-status.free { background: #f1f5f9; color: #64748b; }

.t-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.t-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Mobilde Hover Efektini Sürekli Açık Tutma (Telefonda fare yoktur) */
@media (max-width: 768px) {
    .theme-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
        justify-content: flex-end;
        padding-bottom: 20px;
    }
}