/* ============================================
   ESTILOS ESPECÍFICOS PARA ICONOS DE ANIMALES
   (No interfieren con estilos existentes)
============================================= */

/* Contenedor principal de iconos de animales */
.animal-icons-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2.5rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Iconos de animales individuales */
.animal-icon-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 140px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    animation: animal-icon-appear 0.6s ease-out forwards;
    opacity: 0;
}

/* Efecto de brillo para iconos de animales */
.animal-icon-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s;
}

.animal-icon-link:hover::before {
    transform: translateX(100%);
}

/* Iconos dentro de los enlaces de animales */
.animal-icon-link .fa-animal {
    font-size: 3.2rem;
    color: white;
    z-index: 2;
    transition: all 0.4s;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
}

.animal-icon-link:hover .fa-animal {
    transform: scale(1.2) rotate(5deg);
}

/* Nombre del animal debajo del icono */
.animal-icon-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    z-index: 2;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* Colores específicos para cada animal (clases individuales) */
.animal-icon-bear {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    animation-delay: 0.1s;
}

.animal-icon-frog {
    background: linear-gradient(135deg, #228B22, #32CD32);
    animation-delay: 0.2s;
}

.animal-icon-horse {
    background: linear-gradient(135deg, #8B7355, #A0522D);
    animation-delay: 0.3s;
}

.animal-icon-lion {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    animation-delay: 0.4s;
}

.animal-icon-penguin {
    background: linear-gradient(135deg, #000000, #2F4F4F);
    animation-delay: 0.5s;
}

.animal-icon-dolphin {
    background: linear-gradient(135deg, #1E90FF, #00BFFF);
    animation-delay: 0.6s;
}

.animal-icon-butterfly {
    background: linear-gradient(135deg, #9400D3, #DA70D6);
    animation-delay: 0.7s;
}

.animal-icon-elephant {
    background: linear-gradient(135deg, #696969, #808080);
    animation-delay: 0.8s;
}

/* Efecto hover para iconos de animales */
.animal-icon-link:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
}

/* Tarjetas de información de animales */
.animal-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8rem;
    margin-top: 2rem;
    width: 100%;
}

.animal-info-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.5rem;
    width: 220px;
    transition: transform 0.3s, background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.animal-info-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
}

.animal-info-card h3.animal-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.animal-info-card h3.animal-title .fa-animal-small {
    font-size: 1.5rem;
}

.animal-info-card .animal-description {
    font-size: 0.9rem;
    color: #b0c4de;
    line-height: 1.5;
}

.animal-info-card .animal-fact {
    margin-top: 1rem;
    font-style: italic;
    color: #FFD700;
    font-size: 0.85rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    padding-top: 0.8rem;
}

/* Instrucciones específicas para animales */
.animal-instructions {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.animal-instructions h3.animal-subtitle {
    color: #FF99AC;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.animal-instructions .animal-instruction-text {
    color: #b0c4de;
    line-height: 1.6;
    font-size: 1.1rem;
}

.animal-instructions .animal-highlight {
    color: #FF9A8B;
    font-weight: bold;
}

/* Animaciones específicas para animales */
@keyframes animal-icon-appear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para iconos de animales */
@media (max-width: 1024px) {
    .animal-icons-wrapper {
        gap: 1.5rem;
        padding: 2rem;
    }

    .animal-icon-link {
        width: 110px;
        height: 130px;
    }

    .animal-icon-link .fa-animal {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .animal-icons-wrapper {
        gap: 1.2rem;
        padding: 1.8rem;
    }

    .animal-icon-link {
        width: 100px;
        height: 120px;
    }

    .animal-icon-link .fa-animal {
        font-size: 2.5rem;
    }

    .animal-info-card {
        width: 180px;
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .animal-icons-wrapper {
        gap: 1rem;
        padding: 1.5rem;
    }

    .animal-icon-link {
        width: 85px;
        height: 105px;
    }

    .animal-icon-link .fa-animal {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }

    .animal-icon-name {
        font-size: 0.8rem;
    }

    .animal-cards-container {
        gap: 1rem;
    }

    .animal-info-card {
        width: 100%;
        max-width: 300px;
    }
}

/* Clases utilitarias para animales (opcional) */
.animal-margin-top {
    margin-top: 2rem;
}

.animal-margin-bottom {
    margin-bottom: 2rem;
}

.animal-text-center {
    text-align: center;
}