/**
 * Estilos Frontend - Clube Atlântida Aniversários
 */

.caa-aniversarios-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.caa-aniversarios-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 450px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.caa-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.caa-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.caa-slide.active {
    opacity: 1;
    z-index: 1;
}

.caa-titulo {
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
    font-size: 23px;
    font-weight: 900;
    color: #3d3d8f;
    margin-bottom: 30px;
    line-height: 1.2;
}

.caa-lista-aniversarios {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.caa-aniversariante {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: transform 0.2s ease, background 0.2s ease;
}

.caa-aniversariante:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.4);
}

.caa-icone {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #3d3d8f;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(61, 61, 143, 0.3);
}

.caa-icone img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.caa-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.caa-nome {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #3d3d8f;
}

.caa-idade {
    color: #666;
    font-size: 16px;
    font-weight: normal;
}

.caa-data {
    font-family: Arial, sans-serif;
    font-size: 18px;
    color: #3d3d8f;
    font-weight: 600;
}

/* Navegação */
.caa-nav-button {
    position: absolute;
    top: 40px;
    background-color: #3d3d8f;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.caa-nav-button:hover {
    background-color: #2d2d6f;
    transform: scale(1.1);
}

.caa-nav-button:active {
    transform: scale(0.95);
}

.caa-nav-prev {
    right: 90px;
}

.caa-nav-next {
    right: 40px;
}

/* Indicadores */
.caa-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.caa-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(61, 61, 143, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.caa-indicator:hover {
    background-color: rgba(61, 61, 143, 0.6);
    transform: scale(1.2);
}

.caa-indicator.active {
    background-color: #3d3d8f;
    transform: scale(1.3);
}

/* Responsivo - Tablets */
@media (max-width: 768px) {
    .caa-aniversarios-container {
        max-width: 100%;
        height: 450px;
        border-radius: 15px;
    }

    .caa-slide {
        padding: 30px 20px;
    }

    .caa-titulo {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .caa-nome {
        font-size: 18px;
    }

    .caa-data {
        font-size: 16px;
    }

    .caa-icone {
        width: 50px;
        height: 50px;
    }

    .caa-icone img {
        width: 35px;
        height: 35px;
    }

    .caa-nav-button {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .caa-nav-prev {
        right: 75px;
    }

    .caa-nav-next {
        right: 30px;
    }
}

/* Responsivo - Mobile */
@media (max-width: 480px) {
    .caa-aniversarios-container {
        height: 400px;
        border-radius: 10px;
    }

    .caa-slide {
        padding: 25px 15px;
    }

    .caa-titulo {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .caa-lista-aniversarios {
        gap: 10px;
    }

    .caa-aniversariante {
        padding: 10px;
        gap: 10px;
    }

    .caa-nome {
        font-size: 16px;
    }

    .caa-idade {
        font-size: 14px;
    }

    .caa-data {
        font-size: 14px;
    }

    .caa-icone {
        width: 45px;
        height: 45px;
    }

    .caa-icone img {
        width: 30px;
        height: 30px;
    }

    .caa-nav-button {
        width: 32px;
        height: 32px;
        font-size: 16px;
        top: 25px;
    }

    .caa-nav-prev {
        right: 65px;
    }

    .caa-nav-next {
        right: 25px;
    }

    .caa-indicators {
        bottom: 15px;
    }

    .caa-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.caa-slide.active .caa-aniversariante {
    animation: fadeInUp 0.5s ease forwards;
}

.caa-slide.active .caa-aniversariante:nth-child(1) {
    animation-delay: 0.1s;
}

.caa-slide.active .caa-aniversariante:nth-child(2) {
    animation-delay: 0.2s;
}

.caa-slide.active .caa-aniversariante:nth-child(3) {
    animation-delay: 0.3s;
}
