/* Verso Engine UI Styling */
.verso-console {
    --v-orange: var(--theme-palette-color-1, #ff6b00);
    --v-smoke-light: var(--theme-palette-color-7, #1a1a1a);
    --v-text-dim: var(--theme-palette-color-4, #888);
    
    background: var(--v-smoke-light);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    width: 100%;
    max-width: 560px;
    margin: 40px auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    font-family: 'JetBrains Mono', monospace;
}

.verso-console.champion-mode {
    border: 1px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.verso-display {
    background: rgba(0,0,0,0.2);
    height: 75px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.verso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.verso-node {
    background: rgba(255,255,255,0.05);
    border: 1px solid transparent;
    color: var(--v-text-dim);
    padding: 18px 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    transition: all 0.1s ease;
}

.verso-node.active { 
    background: var(--theme-palette-color-1) !important; 
    color: #fff !important; 
    transform: scale(0.95);
}

.verso-node.error { 
    background: #d32f2f !important; 
    color: #fff !important;
}

.verso-btn {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    background: transparent;
    border: 1px solid var(--theme-palette-color-1);
    color: var(--theme-palette-color-1);
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.2s;
}

.verso-btn:hover { background: var(--theme-palette-color-1); color: var(--theme-palette-color-3); }

.verso-btn-mini {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.65rem;
    font-family: inherit;
    cursor: pointer;
}

.verso-btn-mini:hover { border-color: var(--theme-palette-color-5); color: var(--theme-palette-color-1); }
.verso-stats {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
}

#v-total-plays {
    transition: all 0.5s ease;
}

/* Effetto pulsante per indicare che il sistema è live */
.v-status-dot {
    width: 4px;
    height: 4px;
    background-color: #FF6600;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px #FF6600;
    animation: v-pulse 2s infinite;
}

@keyframes v-pulse {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

/* Quando il numero cambia (tramite JS), possiamo aggiungere una classe temporanea per un flash */
.v-update-flash {
    color: #fff;
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
}