* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

/* Sblocchiamo lo scroll verticale generale mantenendo il blocco solo dove serve */
body, html {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background-color: #000;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

/* Video di Sfondo di Susy con Cristalli Liquidi al Massimo (Boost di nitidezza e colori) */
#bg-video-susy {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
    filter: contrast(1.18) saturate(1.25) brightness(1.04);
}

.cyber-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Trasparenza totale per un display cristallino al 100% */
    z-index: -1;
}

.susy-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    text-align: center;
}

.avatar-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stile pulito del volto senza cornici pesanti o riquadri */
#susy-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00f0ff;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
    background: #000;
}

.neon-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px dashed #ff007f;
    border-radius: 50%;
    animation: spin 12s linear infinite;
    pointer-events: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.speech-box {
    background: rgba(0, 10, 22, 0.90);
    border: 2px solid #00f0ff;
    padding: 25px;
    border-radius: 12px;
    max-width: 600px;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.4), inset 0 0 15px rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(6px);
}

.glitch-title {
    color: #00f0ff;
    font-size: 1.3rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
}

#speech-text {
    color: #e0f7ff;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.4);
}

@keyframes pulseMic {
    0% { transform: scale(0.9); opacity: 0.5; box-shadow: 0 0 5px #ff007f; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 20px #ff007f, 0 0 35px #00f0ff; }
    100% { transform: scale(0.9); opacity: 0.5; box-shadow: 0 0 5px #ff007f; }
}

/* --- 🤖 STILI WIDGET FLUTTUANTE UNIVERSALE DI SUSY --- */
/* --- 🤖 STILI WIDGET FLUTTUANTE UNIVERSALE DI SUSY (ALZATO IN ALTO A DESTRA) --- */
#susy-floating-widget {
    position: fixed;
    top: 25px; /* Spostato in alto a destra */
    bottom: auto;
    right: 25px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

#susy-float-bubble {
    background: rgba(0, 10, 22, 0.92);
    border: 2px solid #00f0ff;
    padding: 14px 18px;
    border-radius: 14px;
    max-width: 280px;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.2);
    display: none;
    font-family: 'Courier New', Courier, monospace;
    backdrop-filter: blur(6px);
}

#susy-float-text {
    color: #e0f7ff;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.4);
}

#susy-float-listening {
    margin-top: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#susy-float-listening .mic-dot {
    width: 8px;
    height: 8px;
    background: #ff007f;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff007f;
    animation: pulseMic 1.2s infinite ease-in-out;
}

#susy-float-listening .mic-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.8);
}

#susy-float-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 2px solid #00f0ff;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
    background: #000;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#susy-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.9);
}

#susy-float-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#susy-float-neon-ring {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px dashed #ff007f;
    border-radius: 50%;
    animation: spin 10s linear infinite;
    pointer-events: none;
}