#game-container {
    width: 400px;
    height: 500px;
    background-color: #8e44ad;
    display: flex;
    justify-content: center;
    align-items: center;
}

#board {
    width: 350px;
    height: 350px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    background-color: #2c3e50;
    padding: 10px;
    border-radius: 12px;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.5), 0 10px 20px rgba(0,0,0,0.5);
    box-sizing: border-box;
}

.cell {
    background: linear-gradient(135deg, #7f8c8d, #95a5a6);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    transition: transform 0.1s;
    user-select: none;
}

.cell:active {
    transform: translateY(4px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.cell.revealed {
    background: #ecf0f1;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
    cursor: default;
    transform: none;
}

.cell.trap {
    background: #e74c3c;
    color: #fff;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
    animation: shake 0.3s;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

#hud-score, #hud-lives {
    background: rgba(0,0,0,0.6);
    padding: 5px 10px;
    border-radius: 5px;
}
