/* --- Konfigurasi Dasar dan Variabel --- */
:root {
    --bg-dark: #0D0B14;
    --primary-glow: #00F6FF;
    --secondary-glow: #FF00E4;
    --text-color: #E1E1E1;
    --container-bg: rgba(26, 28, 44, 0.8);
    --font-heading: 'Orbitron', sans-serif;
    --font-code: 'Source Code Pro', monospace;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Latar Belakang Partikel --- */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* --- Wrapper Konten Utama --- */
.content-wrapper {
    width: 100%;
    max-width: 450px;
    z-index: 1;
}

/* --- Container Utama (Box) --- */
.container {
    background: var(--container-bg);
    border: 1px solid var(--primary-glow);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 246, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-in-out;
}

/* --- Elemen di Dalam Container --- */
.logo {
    width: 80px;
    margin-bottom: 15px;
    margin-top: 15px;
}

h2 {
    font-family: var(--font-heading);
    color: #FFF;
    text-shadow: 0 0 10px var(--primary-glow);
    margin-top: 0;
    margin-bottom: 10px;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary-glow);
    margin-bottom: 20px;
}

.description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.warning-text {
    font-size: 0.8rem;
    color: #ffcc00;
}

/* --- Tombol dan Input --- */
button, .primary-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--primary-glow);
}

.primary-button {
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
}

#tombol-daftar {
    background-color: transparent;
    border: 2px solid var(--primary-glow);
}

input[type="text"] {
    width: calc(100% - 30px);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--primary-glow);
    background-color: rgba(0,0,0,0.3);
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
}

input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* --- Kotak Log Terminal --- */
.log-box {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--primary-glow);
    text-shadow: 0 0 5px var(--primary-glow);
    font-family: var(--font-code);
    text-align: left;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid var(--primary-glow);
    margin-bottom: 20px;
}
.log-box p {
    margin: 0 0 5px 0;
    word-wrap: break-word;
}

/* --- Recent Activity --- */
.recent-activity {
    margin-top: 30px;
    text-align: left;
}
.recent-activity h4 {
    font-family: var(--font-heading);
    margin: 0 0 10px 0;
    color: var(--primary-glow);
}
#activity-feed {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 150px;
    overflow: hidden;
    position: relative;
}
#activity-feed li {
    display: flex;
    align-items: center;
    background-color: rgba(0, 246, 255, 0.05);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 8px;
    animation: slideDown 0.5s ease-in-out;
}
#activity-feed li img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

/* --- Animasi --- */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Desain Responsif --- */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 20px;
    }
    h2 {
        font-size: 1.5rem;
    }
    button, .primary-button, input[type="text"] {
        padding: 12px;
        font-size: 0.9rem;
    }
}