body {
    background-color: #121212;
    color: #00ff00; /* Warna hijau ala terminal hacker */
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* THE MAGIC FIX */
    min-height: 100vh; /* Ubah dari height ke min-height */
    padding: 20px;     /* Kasih ruang napas atas-bawah buat scroll */
    box-sizing: border-box;
    
    margin: 0;
}

.container {
    border: 2px solid #00ff00;
    /* padding: 30px; (Kita kecilin dikit paddingnya biar di HP lega) */
    padding: 20px; 
    border-radius: 10px;
    
    /* THE RESPONSIVE MAGIC */
    width: 90%; 
    max-width: 400px; 
    
    background-color: #000;
    box-shadow: 0 0 15px #00ff0033;
    box-sizing: border-box; /* Biar padding gak nambahin lebar */
}

h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #222;
    color: #00ff00;
    border: 1px solid #00ff00;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #00ff00;
    color: #000;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: #00cc00;
}

.toggle-text {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
}

/* --- TAMBAHAN UNTUK GAME.HTML --- */
.hidden {
    display: none !important;
}

.stats-box p {
    margin: 5px 0;
    font-size: 14px;
}

hr {
    border: 1px solid #00ff0055;
    margin: 15px 0;
}

.btn-danger {
    background-color: #aa0000;
    color: white;
}
.btn-danger:hover {
    background-color: #ff0000;
}

/* --- TAMBAHAN UNTUK MAP & BATTLE --- */
.monster-list {
    margin-top: 15px;
}

.monster-item {
    background: #222;
    padding: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #00ff00;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.battle-log {
    background: #000;
    border: 1px dashed #00ff00;
    height: 150px;
    overflow-y: auto;
    padding: 10px;
    margin: 15px 0;
    font-size: 13px;
    display: flex;
    flex-direction: column;
}

.battle-log p {
    margin: 3px 0;
}

.battle-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-warning {
    background-color: #aa8800;
    color: white;
}

/* --- TAMBAHAN UX STAT PANDUAN --- */
.guide-box {
    background-color: #111;
    border: 1px dashed #00ff00;
    padding: 10px;
    font-size: 12px;
    margin-bottom: 15px;
    text-align: left;
}

.guide-box ul {
    margin: 5px 0 0 15px;
    padding: 0;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.stat-row label {
    width: 40px;
    font-weight: bold;
}

.stat-row input {
    flex: 1;
    margin: 0;
}

.text-red { color: #ff3333 !important; font-weight: bold; }
.text-green { color: #00ff00 !important; font-weight: bold; }

/* --- TAMBAHAN UNTUK BORDER REGISTER --- */
.container.mode-register {
    border: 2px solid #ff00ff; /* Warna Magenta/Pink Neon */
    box-shadow: 0 0 15px #ff00ff44;
}

/* Opsional: Biar tombolnya juga ikut ganti warna di mode Register */
.container.mode-register button:not(.btn-danger) {
    background-color: #ff00ff;
    color: #fff;
}

.container.mode-register button:not(.btn-danger):hover {
    background-color: #cc00cc;
}