:root {
    /* Variabel Warna */
    --main-bg: #0d0d1e; /* Latar belakang ungu/biru gelap */
    --hud-color: #55e6f6; /* Warna biru muda neon */
    --grid-line: #1c2c4d; /* Warna garis grid */
    --text-color: #a0f0ff;
    --shadow-color: rgba(85, 230, 246, 0.5); /* Bayangan neon */
}

/* Pengaturan Dasar */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif; /* Ganti dengan font futuristik jika ada */
    background-color: var(--main-bg);
    color: var(--text-color);
    overflow: hidden; /* Menyembunyikan scrollbar jika elemen keluar */
}

/* Latar Belakang Grid (Menggunakan Box-Shadow untuk membuat pola) */
.hud-container {
    width: 100%;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    /* Efek Grid: Menggunakan latar belakang gambar berulang atau background-size */
    background-image: linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
                      linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 50px 50px; /* Ukuran kotak grid */
}

/* Gaya Dasar Elemen HUD */
.hud-element {
    background-color: rgba(13, 13, 30, 0.4); /* Background elemen semi-transparan */
    border: 1px solid var(--hud-color);
    box-shadow: 0 0 5px var(--shadow-color), inset 0 0 5px var(--shadow-color);
    padding: 10px;
    border-radius: 2px;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.8em;
}

/* Tata Letak Menggunakan Flexbox */
.top-row, .middle-row, .bottom-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

/* --- Elemen Khusus --- */

/* Dial/Circular Elements (Membutuhkan lebih banyak CSS untuk detail) */
.dial-1, .dial-2 {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Membuat lingkaran */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6em;
    position: relative;
    /* Hilangkan background default untuk efek transparan di tengah */
    background: none;
    border: 1px solid var(--hud-color);
}

.dial-1::before, .dial-2::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 1px dashed var(--hud-color);
    border-radius: 50%;
    animation: rotate 10s linear infinite; /* Contoh animasi putar */
}

/* Kotak Data Siku/Miring (Perlu Transform: Skew untuk efek miring) */
.data-box {
    width: 300px;
    height: 150px;
    text-align: left;
    padding: 15px;
}

.data-title {
    color: var(--hud-color);
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--hud-color);
    padding-bottom: 3px;
}

/* Menu List */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 150px;
}
.menu-item {
    padding: 5px;
    border: 1px solid transparent;
}
.menu-item.active {
    border: 1px solid var(--hud-color);
    background-color: rgba(85, 230, 246, 0.1);
}

/* Central Diagram (Placeholder) */
.central-diagram {
    flex-grow: 1; /* Mengisi ruang di tengah */
    height: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.diagram-node {
    width: 20px;
    height: 20px;
    background-color: var(--hud-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--shadow-color);
}

/* Large Display */
.large-display {
    width: 60%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

/* Status Rings (Untuk 6 cincin di bagian bawah) */
.status-rings {
    display: flex;
    gap: 10px;
    align-items: flex-end; /* Menyelaraskan ke bagian bawah footer */
    height: 100%;
    background: none;
    border: none;
    box-shadow: none;
}
.ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--hud-color);
    box-shadow: 0 0 5px var(--shadow-color);
}


/* --- Animasi Contoh --- */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}