* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

#game-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

#game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

#score, #timer {
    padding: 10px 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 10px;
    color: white;
    min-width: 120px;
}

#game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.hole {
    width: 100px;
    height: 100px;
    position: relative;
    background: #8B4513;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid #5D2906;
    cursor: pointer;
    transition: transform 0.2s;
}

.hole:hover {
    transform: scale(1.05);
}

.mole {
    width: 70px;
    height: 70px;
    position: absolute;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    transition: bottom 0.3s ease-out;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.mole.up {
    bottom: 0;
}

.mole.bonked {
    background-image: url('https://raw.githubusercontent.com/cv70/cv70.github.io/master/assets/img/gopher.png');
}

.hole.bonked .mole {
    bottom: 0;
    transform: translateX(-50%) scale(0.9);
}

#controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

#start-btn {
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
}

#start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
}

#start-btn:active {
    transform: translateY(1px);
}

#start-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Go Gopher CSS Art Style */
.mole::before {
    content: '🐹';
    font-size: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive */
@media (max-width: 600px) {
    .hole {
        width: 80px;
        height: 80px;
    }
    
    #game-header {
        font-size: 18px;
    }
    
    #score, #timer {
        min-width: 100px;
        padding: 8px 15px;
    }
}