/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Mengubah arah susunan agar header di atas, konten di bawah */
    align-items: center;
    justify-content: flex-start; /* Memulai susunan dari atas */
    background: radial-gradient(circle at center, #4fa8ff 0%, #1d72dd 60%, #0a4fa8 100%);
    overflow: hidden;
    position: relative;
}

/* Background Map / Particle Overlay effect */
.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

/* ================= STYLING HEADER BARU ================= */
.main-header {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    z-index: 20;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo-box {
    width: 45px;
    height: 45px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d72dd;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Memastikan gambar logo tidak gepeng/terdistorsi */
}

.header-title-box h1 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.header-title-box p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 2px;
}

.header-meta {
    display: flex;
    align-items: center;
}

.badge-status {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Responsivitas Header untuk Mobile */
@media (max-width: 640px) {
    .main-header {
        padding: 12px 15px;
    }
    .header-logo-box {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
        border-radius: 8px;
    }
    .header-title-box h1 {
        font-size: 0.9rem;
    }
    .header-title-box p {
        font-size: 0.65rem;
    }
    .header-meta {
        display: none; /* Menyembunyikan status server di HP agar tidak padat */
    }
}

/* ================= MAIN CONTAINER PORTAL ================= */
.portal-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin: auto 0; /* Membuat menu orbit tetap berada di tengah sisa ruang vertikal browser */
}

@media (max-width: 640px) {
    .portal-container {
        width: 320px;
        height: 320px;
    }
}

/* Logo Tengah */
.logo-center {
    width: 220px;
    height: 220px;
    background: #ffffff;
    border-radius: 50%;
    border: 5px solid #e11d48;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: pulseSubtle 4s ease-in-out infinite;
    text-align: center;
}

@media (max-width: 640px) {
    .logo-center {
        width: 140px;
        height: 140px;
        border-width: 3px;
    }
}

.logo-graphics {
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1d72dd;
    letter-spacing: 2px;
}

.logo-text-sub {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 4px;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .logo-text-main { font-size: 1.6rem; }
    .logo-text-sub { font-size: 0.65rem; letter-spacing: 2px; }
}

/* Orbit Menu Container */
.orbit-menu {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Orbit Items (Base) */
.orbit-item {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    border: 3px solid #fda4af;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px;
    z-index: 5;
}

@media (max-width: 640px) {
    .orbit-item {
        width: 85px;
        height: 85px;
        padding: 5px;
        border-width: 2px;
    }
}

/* Icon Styles */
.icon-wrapper {
    width: 45px;
    height: 45px;
    background: #fff1f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e11d48;
    font-size: 1.3rem;
    transition: background 0.3s, color 0.3s;
}

@media (max-width: 640px) {
    .icon-wrapper {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
}

/* Label Styles */
.item-label {
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
}

@media (max-width: 640px) {
    .item-label {
        margin-top: 4px;
        font-size: 0.6rem;
    }
}

/* Hover Effects */
.orbit-item:hover {
    border-color: #2563eb;
    box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.4);
}

.orbit-item:hover .icon-wrapper {
    background: #eff6ff;
    color: #2563eb;
}

/* Keyframe Animations */
@keyframes pulseSubtle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}