/* Hero Section */
.atm-hero-section {
    position: relative;
    padding: 80px 20px;
    /* Ajustar el espaciado superior e inferior */
    background: linear-gradient(135deg, #023F5E 0%, #612247 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
    z-index: 0;
}
 
/* Contenido del Hero */
.atm-hero-content {
    z-index: 2;
    position: relative;
}
 
.atm-hero-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 3px 6px rgba(255, 255, 255, 0.3);
}
 
.atm-hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 20px auto;
    color: #ddd;
}
 
/* Botón */
.atm-hero-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #023F5E 0%, #612247 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
 
.atm-hero-button:hover {
    background: linear-gradient(90deg, #50376F 0%, #007CB6 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
 
/* Responsivo */
@media (max-width: 768px) {
    .atm-hero-title {
        font-size: 2rem;
    }
 
    .atm-hero-description {
        font-size: 1rem;
    }
 
    .atm-hero-button {
        font-size: 0.9rem;
    }
}
 
/* Sección de Beneficios */
.atm-benefits-section {
    padding: 50px 20px !important;
    max-width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    margin-top: 0px !important;
    background-color: #f9f9f9;
}
 
/* Título de la Sección */
.atm-section-title {
    color: #666 !important;
    font-size: 2.8rem !important;
    margin-bottom: 40px !important;
    font-weight: 700 !important;
}
 
/* Contenedor de Tarjetas */
.atm-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin: 0 auto;
    padding: 50px 20px;
    justify-items: center;
}
 
/* Estilos de las Tarjetas */
.atm-benefit-card {
    position: relative;
    background: #ffffff;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: visible;
    width: 100%;
    max-width: 500px;
    padding: 40px 20px 20px 20px;
    text-decoration: none;
    color: #333;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
 
 
/* Números destacados */
.atm-benefit-number {
    font-size: 2rem;
    font-weight: bold;
    color: #8F3260;
    text-align: center;
    padding: 5px 15px;
    margin: -10px auto 15px auto;
}
 
/* Iconos */
.atm-icon-wrapper {
    position: absolute;
    top: -35px;
    /* Más espacio para evitar solapamiento */
    left: 20px;
    /* Mejor alineación a la izquierda */
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
    /* Asegura que el ícono quede por encima del contenido */
}
 
/* Estilo del Icono */
.atm-benefit-icon {
    font-size: 40px;
    color: #8F3260;
}
 
/* Títulos */
.atm-benefit-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #333;
}
 
/* Descripción */
.atm-benefit-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}
 
/* Título de la Sección */
.atm-section-title {
    font-size: 3rem;
    /* Tamaño grande para pantallas grandes */
    font-weight: 700;
    text-align: center;
    color: #8F3260;
    /* Color principal */
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}
 
/* Efecto decorativo bajo el título */
.atm-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #8F3260;
    margin: 10px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease-in-out;
}
 
/* Hover sobre el título (opcional) */
.atm-section-title:hover::after {
    width: 120px;
    /* Expande la línea decorativa */
}
 
/* Animación al cargar */
.atm-section-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInTitle 0.8s ease forwards;
    animation-delay: 0.2s;
}
 
@keyframes fadeInTitle {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
 
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
/* Responsivo */
@media (max-width: 1024px) {
    .atm-section-title {
        font-size: 2.5rem;
        /* Ajusta tamaño para tablets y pantallas medianas */
        margin-bottom: 30px;
    }
 
    .atm-section-title::after {
        width: 70px;
        /* Ajusta la línea decorativa */
    }
}
 
@media (max-width: 768px) {
    .atm-section-title {
        font-size: 2rem;
        /* Ajusta tamaño para móviles */
        margin-bottom: 25px;
    }
 
    .atm-section-title::after {
        width: 60px;
        /* Línea más pequeña en móviles */
    }
}
 
@media (max-width: 480px) {
    .atm-section-title {
        font-size: 1.8rem;
        /* Ajuste adicional para pantallas muy pequeñas */
        margin-bottom: 20px;
    }
 
    .atm-section-title::after {
        width: 50px;
        /* Línea decorativa más compacta */
    }
}
 
 
 
/* Hover */
.atm-benefit-card:hover {
    transform: scale(1.03) !important;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3);
}

.atm-alivio-fiscal-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgb(213, 204, 229);
    background: linear-gradient(90deg, #50376F 0%, #263F65 100%);
    color: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 100px;
    margin: 60px 0px 0px;

}

.atm-alivio-fiscal-card h3 {
    font-size: 2rem;
    color: #f9f9f9;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Efecto hover */
.atm-alivio-fiscal-card:hover {
    background: linear-gradient(135deg, #023F5E 0%, #612247 100%);
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

 
/* Animación al cargar */
.atm-benefit-card {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}
 
.atm-benefit-card:nth-child(1) {
    animation-delay: 0.1s;
}
 
.atm-benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}
 
.atm-benefit-card:nth-child(3) {
    animation-delay: 0.3s;
}
 
.atm-benefit-card:nth-child(4) {
    animation-delay: 0.4s;
}
 
/* Responsivo */
@media (max-width: 1024px) {
    .atm-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
 
@media (max-width: 768px) {
    .atm-cards-container {
        grid-template-columns: 1fr;
    }
 
    .atm-icon-wrapper {
        top: -20px;
        width: 60px;
        height: 60px;
    }
 
    .atm-benefit-icon {
        font-size: 28px;
    }
 
    .atm-benefit-number {
        font-size: 1.5rem;
    }
}
 
/* Sección de estadísticas */
.atm-statistics-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}
 
.atm-statistics-title {
    font-size: 2.4rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
 
/* Contenedor de tarjetas */
.atm-statistics-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}
 
/* Tarjeta individual */
.atm-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgb(213, 204, 229);
    background: linear-gradient(90deg, #50376F 0%, #007CB6 100%);
    color: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 200px;
    /* Define una altura mínima consistente */
}
 
/* Efecto hover */
.atm-stat-card:hover {
    background: linear-gradient(135deg, #023F5E 0%, #612247 100%);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
 
/* Ícono en la tarjeta */
.atm-stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #f9f9f9;
}
 
/* Título de la tarjeta */
.atm-stat-card h3 {
    font-size: 1.5rem;
    color: #f9f9f9;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
 
/* Valor de la estadística */
.atm-stat-value {
    font-size: 2.5rem;
    line-height: 1.2em;
    font-weight: bold;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    margin-top: 5px;
}
 
/* Tooltip general */
.atm-stat-card:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #023F5E 0%, #612247 100%);
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
 
/* Flecha del tooltip */
.atm-stat-card:hover::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9;
}
 
/* Mostrar tooltip al hover */
.atm-stat-card:hover::after,
.atm-stat-card:hover::before {
    opacity: 1;
    visibility: visible;
}
 
/* Responsivo */
@media (max-width: 768px) {
    .atm-statistics-container {
        grid-template-columns: 1fr;
    }
 
    .atm-stat-card {
        min-height: auto;
    }
 
    .atm-stat-card:hover::after {
        bottom: -60px;
    }
}
 
 
 
/* Contenido de la Tarjeta */
.atm-card-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
 
 
/* Sección del sorteo único */
.atm-sorteo-unico-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, #023F5E 0%, #612247 100%);
    background-size: 200% 200%;
    animation: gradientMove 6s infinite alternate;
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    margin: 30px auto;
    max-width: 100%;
    overflow: hidden;
}
 
/* Gradiente animado */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
 
    100% {
        background-position: 100% 50%;
    }
}
 
.atm-sorteo-container {
    max-width: 90%;
    margin: 0 auto;
}
 
.atm-sorteo-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 3px 6px rgba(255, 255, 255, 0.3);
}
 
.atm-sorteo-description {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #fff;
    line-height: 1.8;
    font-weight: 500;
}
 
/* Cuenta regresiva */
.atm-countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    flex-wrap: wrap;
    /* Permite que los elementos se ajusten en líneas nuevas */
}
 
.atm-countdown div {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    min-width: 100px;
    position: relative;
    overflow: hidden;
    flex: 1 1 120px;
    /* Ajusta el tamaño de las cajas para adaptarse al espacio */
}
 
/* Brillo en los números */
.atm-countdown div::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    animation: glowEffect 3s infinite ease-in-out;
}
 
@keyframes glowEffect {
 
    0%,
    100% {
        transform: scale(0);
    }
 
    50% {
        transform: scale(1);
    }
}
 
.atm-countdown span {
    display: block;
    font-size: 1.1rem;
    color: #ddd;
    margin-top: 5px;
    text-transform: uppercase;
}

.atm-sorteo-link-resultados {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #023F5E 0%, #612247 100%);
    color: white;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.atm-sorteo-link-resultados:hover {
    background: linear-gradient(135deg, #023F5E 0%, #612247 100%);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

/* Anuncio final del sorteo */
.atm-sorteo-anuncio-final {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 20px 0 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.atm-sorteo-proximo {
    font-size: 1.3rem;
    color: #eaeaea;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.6;
}
 
/* Footer */
.atm-sorteo-footer {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 20px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
 
/* Botones */
.atm-sorteo-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
 
.atm-sorteo-button {
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    background: linear-gradient(90deg, #50376F 0%, #B6264F 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
 
.atm-sorteo-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}
 
/* Responsivo */
@media (max-width: 768px) {
    .atm-sorteo-title {
        font-size: 2rem;
    }
 
    .atm-sorteo-description {
        font-size: 1.2rem;
    }
 
    .atm-countdown {
        gap: 10px;
    }
 
    .atm-countdown div {
        padding: 15px;
        font-size: 1.8rem;
        min-width: 80px;
    }
 
    .atm-countdown span {
        font-size: 0.9rem;
    }
 
    .atm-sorteo-buttons {
        flex-direction: column;
        gap: 10px;
    }
 
    .atm-sorteo-button {
        font-size: 1rem;
    }
}