.footer-icon {
    /* 1. Reset de estilos base */
    display: inline-flex;      /* Permite alinear el SVG al centro */
    align-items: center;
    justify-content: center;
    text-decoration: none;     /* Quita el subrayado del <a> */
    border: 1px solid var(--stroke);
    cursor: pointer;
    background-color: var(--background4);
    
    /* 2. Geometría Circular */
    width: 40px;               /* Ancho fijo */
    height: 40px;              /* Alto igual al ancho */
    border-radius: 50%;        /* Hace el círculo perfecto */
    padding: 0;                /* Quitamos padding para que no deforme el círculo */
    
    /* 3. Efectos y Sombras */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease, 
                background 0.3s ease;
}

.footer-icon div{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
}

.footer-icon svg {
    /* Ajustamos el tamaño del icono relativo al círculo */
    width: 20px; 
    height: auto;
    fill: var(--primary); 
    transition: fill 0.3s ease;
}

/* Hover y Estados */
.footer-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

.footer-icon:active {
    transform: translateY(-1px);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
}

#shareIcon svg {
    width: 15px;
}

@media (max-width: 480px){
    .footer-icon{
        width: 60px;
        height: 60px; 
    }

    .footer-icon div{
        height: 40px;
        width: 40px;
    }

    .footer-icon svg {
        width: 30px; 
    }

    #shareIcon svg {
        width: 25px;
    }
}