/* --- SAMA SEPERTI SEBELUMNYA (COPY DARI ATAS) --- */
* { margin: 0; padding: 0; box-sizing: border-box; user-select: none; -webkit-tap-highlight-color: transparent; }
body { font-family: 'Segoe UI', sans-serif; background: #050505; color: #fff; height: 100vh; overflow: hidden; display: flex; justify-content: center; align-items: center; }
.game-container { width: 100%; max-width: 450px; height: 100%; background: radial-gradient(circle at center, #1a1a2e, #000); position: relative; display: flex; flex-direction: column; border: 1px solid #333; }
.shake { animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes shake { 10%, 90% { transform: translate3d(-2px, 0, 0); } 20%, 80% { transform: translate3d(4px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-8px, 0, 0); background: #300; } 40%, 60% { transform: translate3d(8px, 0, 0); } }

.hud { padding: 30px 20px; display: flex; justify-content: space-between; z-index: 5; }
.hud-item { text-align: center; background: rgba(255,255,255,0.05); padding: 10px 20px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(5px); min-width: 100px; }
.label { display: block; font-size: 0.7rem; color: #00f2fe; letter-spacing: 2px; margin-bottom: 5px; }

/* STYLE UNTUK SCORE & LIVES */
#score { font-size: 1.8rem; font-weight: bold; font-family: monospace; color: #00f2fe; text-shadow: 0 0 10px #00f2fe; }
#lives { font-size: 1.8rem; font-weight: bold; font-family: monospace; color: #ff0055; text-shadow: 0 0 10px #ff0055; }

/* --- GRID, MOLE, & MODAL (SAMA SEPERTI SEBELUMNYA) --- */
/* Biar hemat tempat, bagian bawah ini sama persis dengan kode CSS Cyber Smash sebelumnya.
   Pastikan Anda menyalin bagian .grid, .mole, .btn-neon, .modal, dll dari jawaban sebelumnya. */

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding: 20px; margin-top: auto; margin-bottom: auto; }
.hole { position: relative; aspect-ratio: 1/1; background: rgba(0,0,0,0.5); border-radius: 50%; box-shadow: inset 0 5px 10px rgba(0,0,0,0.8); overflow: hidden; cursor: pointer; }
.ring { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #333; pointer-events: none; box-shadow: 0 0 10px rgba(0, 242, 254, 0.1); }
.hole:active .ring { border-color: #00f2fe; box-shadow: 0 0 20px #00f2fe; }

.mole { width: 80%; height: 80%; position: absolute; top: 100%; left: 10%; transition: all 0.1s; }
.mole::after { content: '🤖'; font-size: 4rem; position: absolute; top: 0; left: 0; width: 100%; text-align: center; filter: drop-shadow(0 0 5px #00f2fe); }
.mole.up { top: 10%; }
.mole.bomb::after { content: '💣'; filter: drop-shadow(0 0 5px #ff0000); }
.mole.whacked { transform: scale(0.8) rotate(10deg); filter: brightness(2); }
.float-text { position: absolute; font-size: 2rem; font-weight: bold; pointer-events: none; animation: floatUp 0.8s ease-out forwards; z-index: 10; }
.plus { color: #00f2fe; text-shadow: 0 0 10px #00f2fe; }
.minus { color: #ff0000; text-shadow: 0 0 10px #ff0000; }
@keyframes floatUp { 0% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(-50px) scale(1.5); opacity: 0; } }

.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 20; }
.neon-title { font-size: 3rem; color: #fff; text-shadow: 0 0 20px #00f2fe, 0 0 40px #00f2fe; text-align: center; margin-bottom: 10px; line-height: 1; }
.neon-red { color: #ff0055; text-shadow: 0 0 20px #ff0055; text-align: center; margin-bottom: 20px; font-size: 2.5rem; }

.btn-group { display: flex; flex-direction: column; gap: 15px; width: 80%; max-width: 250px; }
.btn-neon { padding: 15px; font-size: 1.1rem; font-weight: bold; letter-spacing: 2px; border: none; border-radius: 50px; cursor: pointer; transition: transform 0.1s; color: #000; width: 100%; }
.btn-neon:active { transform: scale(0.95); }
.btn-easy { background: #2ecc71; box-shadow: 0 0 15px #2ecc71; }
.btn-normal { background: #00f2fe; box-shadow: 0 0 15px #00f2fe; }
.btn-hard { background: #ff0055; box-shadow: 0 0 15px #ff0055; color: #fff; }

.info-group { margin-top: 30px; display: flex; gap: 15px; }
.btn-small { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #ccc; padding: 8px 15px; border-radius: 20px; cursor: pointer; }

.modal { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 100; display: flex; justify-content: center; align-items: center; }
.modal-content { background: #16213e; padding: 25px; border-radius: 15px; border: 1px solid #0f3460; width: 85%; max-width: 320px; text-align: center; box-shadow: 0 0 30px rgba(0,242,254,0.1); color: #fff; }
.neon-blue { color: #00f2fe; border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 15px; }
.rules-list { text-align: left; padding-left: 20px; margin-bottom: 20px; color: #ddd; font-size: 0.9rem; line-height: 1.6; }
.btn-close { background: #e94560; border: none; padding: 10px 30px; border-radius: 50px; color: white; font-weight: bold; cursor: pointer; }
.btn-link { background: none; border: none; color: #4facfe; text-decoration: underline; cursor: pointer; }