.categories-section {
    padding: 72px 92px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

@media (max-width: 1439.9px) {
    .categories-section {
        padding: 5.55556vw 6.38889vw;
    }
}

@media (max-width: 1024px) {
    .categories-section {
        padding: 60px 24px;
    }
}

.categories-container {
    max-width: 1256px;
    margin: 0 auto;
    padding-top: 0;
}

.categories-header {
    text-align: center;
    margin-bottom: 24px;
}

.categories-title {
    font-size: 42px;
    font-weight: 800;
    color: #8B5CF6;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.categories-subtitle {
    font-size: 18px;
    color: #6B7280;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .categories-title {
        font-size: 28px;
    }

    .categories-subtitle {
        font-size: 15px;
    }

    .categories-header {
        margin-bottom: 32px;
    }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .categories-grid {
        gap: 16px;
    }
}

.category-card {
    position: relative;
    height: 180px;
    border-radius: 20px;
    padding: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Category Overlays */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.category-card:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.2) 100%);
}

/* Background Mapping */
.category-card.romance {
    background-image: url('../../images/cat_romance.png');
}

.category-card.drama {
    background-image: url('../../images/cat_drama.png');
}

.category-card.suspense {
    background-image: url('../../images/cat_suspense.png');
}

.category-card.thriller {
    background-image: url('../../images/cat_thriller.png');
}

.category-card.mini-series {
    background-image: url('../../images/cat_miniseries.png');
}

.category-card.filmes {
    background-image: url('../../images/cat_filmes.png');
}

.category-card.popular {
    background-image: url('../../images/cat_popular.png');
}

.category-card.new {
    background-image: url('../../images/cat_new.png');
}

/* Category Icons removed */

.category-name {
    position: relative;
    z-index: 2;
    font-size: 18px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

/* Hover States & Colors */
.category-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.3);
}

.category-card:hover .category-name {
    transform: scale(1.1);
}

.category-card.romance:hover {
    box-shadow: 0 15px 35px rgba(242, 7, 101, 0.3);
}

.category-card.drama:hover {
    box-shadow: 0 15px 35px rgba(156, 77, 204, 0.3);
}

.category-card.suspense:hover {
    box-shadow: 0 15px 35px rgba(55, 65, 81, 0.3);
}

.category-card.thriller:hover {
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.3);
}

.category-card.popular:hover {
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.3);
}

.category-card.new:hover {
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.3);
}

/* Active State */
.category-card:active {
    transform: translateY(-2px) scale(0.98);
    transition: all 0.1s ease;
}

@media (max-width: 1024px) {
    .category-card {
        padding: 24px 16px;
    }

    .category-icon {
        font-size: 28px;
    }

    .category-name {
        font-size: 16px;
    }
}

.section-title {
    margin-top: 62px;
}