:root { --bg: #1a1a1a; --text: #4caf50; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex;
    flex-direction: column; justify-content: flex-start; align-items: center; }
.game-container { width: 100%; max-width: 500px; padding: 1rem; display: flex; flex-direction: column; align-items: center; position: relative;}
header { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.back-btn { text-decoration: none; background: #8d6e63; color: white; padding: 10px 20px; border-radius: 20px; font-weight: bold; box-shadow: 0 4px 0 #5d4037; }
.back-btn:active { transform: translateY(4px); box-shadow: 0 0 0; }
h1 { font-size: 2rem; color: #795548; text-shadow: 2px 2px 0 #000; }
.hud { width: 100%; display: flex; justify-content: space-between; font-size: 1.5rem; font-weight: 900; margin-bottom: 2rem; background: rgba(30,30,30,0.95); padding: 10px 20px; border-radius: 20px;}

.game-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; max-width: 400px; }
.hole { background: #5d4037; height: 100px; border-radius: 50% 50% 10% 10%; position: relative; overflow: hidden; box-shadow: inset 0 -10px 20px rgba(0,0,0,0.5), 0 5px 0 #3e2723;}
.mole { position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%); font-size: 4rem; transition: bottom 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: crosshair; user-select: none;}
.mole.up { bottom: 0; }
.mole.hit { font-size: 4.5rem; filter: drop-shadow(0 0 10px #ffeb3b); }

.overlay { position: absolute; inset: 0; background: rgba(30,30,30,0.95); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 10; border-radius: 20px; }
.overlay h2 { font-size: 3rem; color: #ff5722; margin-bottom: 1rem; text-align: center;}
.btn { background: #ff9800; border: none; padding: 15px 40px; font-size: 1.5rem; font-weight: 900; border-radius: 50px; cursor: pointer; color: white; font-family: 'Outfit'; box-shadow: 0 5px 0 #f57c00; }
.btn:active { transform: translateY(5px); box-shadow: none; }
.hidden { display: none !important; }
