/* ================= GLOBAL ================= */

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: white;
    display: flex;
    height: 100vh;

    background:
        radial-gradient(circle at center,
            rgba(0,255,200,0.08),
            rgba(0,120,255,0.05) 30%,
            rgba(5,10,20,0.95) 70%
        ),
        linear-gradient(
            180deg,
            #020617,
            #030b18
        );
}

/* ================= SIDEBAR ================= */

.sidebar {
    width: 240px;
    background: rgba(0,0,0,0.5);
    padding: 20px;
    backdrop-filter: blur(20px);
    transition: 0.3s;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar h2 {
    color: #a8f0ff;
    font-weight: 300;
    letter-spacing: 3px;
}

/* MENU */

.menu-item {
    padding: 12px;
    margin: 6px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.menu-item:hover {
    background: rgba(0,255,200,0.1);
}

.menu-item.active {
    background: rgba(0,255,200,0.2);
    box-shadow: 0 0 10px rgba(0,255,200,0.3);
}

/* ================= MAIN ================= */

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ================= TOPBAR ================= */

.topbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;
    background: rgba(0,0,0,0.3);
}

/* ================= CONTENT ================= */

.content {
    flex: 1;
    display: flex;
}

/* ================= CENTER ================= */

.center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	.center {
    position: relative;
}
}
.center::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
        rgba(0,255,200,0.1),
        transparent 70%);
    filter: blur(40px);
    z-index: 0;
}
/* ================= CERCLE IA ================= */

.circle {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* anneau lumineux principal */

.circle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #00d4ff,
        #00ffb0,
        #00d4ff
    );
    filter: blur(6px);
    opacity: 0.9;
}

/* intérieur sombre */

.circle::after {
    content: "";
    position: absolute;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    background: radial-gradient(circle, #0b1d2a, #020617);
    box-shadow:
        inset 0 0 40px rgba(0,212,255,0.2),
        inset 0 0 80px rgba(0,255,176,0.1);
}

/* texte */

.circle h1 {
    position: relative;
    color: #d6faff;
    font-weight: 300;
    letter-spacing: 6px;
}

/* ================= ORBIT ================= */

.orbit {
    position: absolute;
    width: 130%;
    height: 130%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    animation: rotate 40s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ================= PARTICULES ================= */

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00ffb0;
    border-radius: 50%;
    opacity: 0.7;
    animation: float 10s linear infinite;
}

@keyframes float {
    from {
        transform: rotate(0deg) translateX(160px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(160px) rotate(-360deg);
    }
}

/* ================= VOICE ================= */

.voice-bars {
    display: flex;
    gap: 5px;
    margin-top: 15px;
}

.voice-bars span {
    width: 4px;
    height: 10px;
    background: #00ffb0;
    animation: sound 1.2s infinite ease-in-out;
}

.voice-bars span:nth-child(2) { animation-delay: 0.2s; }
.voice-bars span:nth-child(3) { animation-delay: 0.4s; }
.voice-bars span:nth-child(4) { animation-delay: 0.6s; }
.voice-bars span:nth-child(5) { animation-delay: 0.8s; }

@keyframes sound {
    0%, 100% { height: 10px; }
    50% { height: 28px; }
}

/* ================= CHAT ================= */

.chat {
    margin-top: 20px;
    width: 360px;
}

.chat input {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: rgba(255,255,255,0.05);
    color: white;
}

.chat input:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(0,255,176,0.5);
}

/* ================= RIGHT PANEL ================= */

.right {
    width: 300px;
    padding: 20px;
}

/* ================= CARDS ================= */

.card {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,255,176,0.2);
}

/* ================= FOOTER ================= */

.footer {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

/* ================= WIDGET ================= */

.widget {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 10px;
    width: 140px;
    text-align: center;
}
/* ================= HUD AVANCÉ ================= */

/* ANNEAUX */

.ring {
    position: absolute;
    border-radius: 50%;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0,255,200,0.3);
    box-shadow: 0 0 20px rgba(0,255,200,0.2);
}

.ring-2 {
    width: 120%;
    height: 120%;
    border: 1px dashed rgba(0,200,255,0.2);
    animation: rotate 30s linear infinite;
}

.ring-3 {
    width: 140%;
    height: 140%;
    border: 1px solid rgba(255,255,255,0.05);
}

/* GRADUATIONS (ticks) */

.ticks {
    position: absolute;
    width: 140%;
    height: 140%;
    border-radius: 50%;
}

.ticks::before {
    background: repeating-conic-gradient(
        rgba(0,255,200,0.6) 0deg 0.5deg,
        transparent 0.5deg 10deg
    );

    mask: radial-gradient(circle, transparent 74%, white 75%);
	.ticks {
    opacity: 0.7;
}
}

/* PARTICULES (améliorées) */

.particles span {
    width: 2px;
    height: 2px;
    background: #00eaff;
    opacity: 0.8;
}

/* EFFET PULSE INTERNE */

.circle {
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 20px rgba(0,255,200,0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(0,200,255,0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(0,255,200,0.2);
    }
}