/* ============================================
   SEÇÃO UPDATES ESTILO WUXIABOX
============================================ */

/* Controles da seção */
.updates-summary {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.summary-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.summary-stat i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.summary-stat span {
    color: var(--primary-color);
    font-weight: 700;
}

/* Seções de novels (estilo WuxiaBox) */
.novels-section {
    margin: 3rem 0;
}

.novels-section .section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.novels-section .section-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    flex: 1;
}

.novels-section .section-header i {
    font-size: 1.6rem;
    margin-right: 0.5rem;
}

.count-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Badges de atualização nos cards */
.update-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.chapters-badge {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.new-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Efeitos para novels atualizadas */
.novel-card.updated-novel {
    border: 2px solid #27ae60;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.2);
}

.novel-card.updated-novel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border-radius: 8px 8px 0 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .updates-summary {
        flex-direction: column;
        gap: 1rem;
    }
    
    .summary-stat {
        justify-content: center;
        padding: 1rem;
    }
    
    .novels-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .update-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 0.5rem;
        display: inline-block;
    }
}