/**
 * Interactive Eyes Styles
 * Estilos para el avatar con ojos interactivos
 */

.gnosis-avatar-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1 / 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    margin: 0 auto;
}

.gnosis-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 5;
    border-radius: 50%;
}

.gnosis-eye {
    position: absolute;
    width: 35px;
    height: 35px;
    background: radial-gradient(circle at 35% 35%, #f2f2f2, #e8e8e8 50%, #dcdcdc);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    user-select: none;
    transition: box-shadow 0.2s;
    z-index: 3;
    box-shadow:
        inset 0 3px 6px rgba(0, 0, 0, 0.15),
        inset 0 -2px 4px rgba(0, 0, 0, 0.08),
        inset -2px 0 3px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Reflejo principal - catchlight superior */
.gnosis-eye::before {
    content: '';
    position: absolute;
    width: 11px;
    height: 16px;
    background: radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.3) 50%, transparent 75%);
    border-radius: 50%;
    top: 5%;
    left: 12%;
    pointer-events: none;
    z-index: 15;
    filter: blur(0.5px);
}

/* Reflejo secundario - luz ambiental */
.gnosis-eye::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 65%);
    border-radius: 50%;
    bottom: 18%;
    right: 15%;
    pointer-events: none;
    z-index: 15;
}

.gnosis-eye-left {
    top: 34%;
    left: 30.5%;
}

.gnosis-eye-right {
    top: 34.3%;
    right: 39.8%;
}

.gnosis-pupil {
    width: 15px;
    height: 15px;
    background: radial-gradient(circle at 30% 30%, #1a1a1a, #000000);
    border-radius: 50%;
    position: absolute;
    transition: all 0.1s ease-out;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.4),
        inset 0 1px 3px rgba(0, 0, 0, 0.6),
        inset 0 -1px 2px rgba(255, 255, 255, 0.05);
}

.gnosis-iris {
    width: 27px;
    height: 27px;
    background: radial-gradient(circle at 40% 40%, #f5f5f5, #ececec 60%, #e0e0e0);
    border-radius: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 -1px 2px rgba(255, 255, 255, 0.1);
}

.gnosis-highlight {
    width: 9px;
    height: 9px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.2) 70%, transparent);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 4px;
    opacity: 0.95;
    filter: blur(0.2px);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media screen and (max-width: 782px) {
    .gnosis-avatar-wrapper {
        max-width: 66.666667%;
    }
    
    .gnosis-eye {
        width: 28px;
        height: 28px;
    }
    
    .gnosis-iris {
        width: 22px;
        height: 22px;
    }
    
    .gnosis-pupil {
        width: 12px;
        height: 12px;
    }
}
