/* Minesweeper styles */
.minesweeper-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
}

.minesweeper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: linear-gradient(135deg, #ff99cc, #a267ac);
}

.minesweeper-counter {
    background-color: #d5bde6;
    padding: 5px 10px;
    border: 2px inset #f0d9ff;
    font-family: 'Digital', monospace;
    font-size: 20px;
    color: #441d57;
    min-width: 60px;
    text-align: center;
}

.minesweeper-face {
    font-size: 24px;
    background-color: #d5bde6;
    border: 2px outset #f0d9ff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.minesweeper-face:active {
    border-style: inset;
}

.minesweeper-grid {
    display: grid;
    gap: 1px;
    padding: 10px;
    background-color: #d5bde6;
    flex-grow: 1;
}

.minesweeper-cell {
    aspect-ratio: 1;
    background-color: #f0d9ff;
    border: 2px outset #f0d9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
}

.minesweeper-cell.revealed {
    border-style: inset;
    background-color: #e6d4f2;
}

.minesweeper-cell.mine {
    background-color: #ff99cc;
}

/* Paw print number colors */
.minesweeper-cell[data-number="1"] { color: #ff99cc; }
.minesweeper-cell[data-number="2"] { color: #a267ac; }
.minesweeper-cell[data-number="3"] { color: #67c9dc; }
.minesweeper-cell[data-number="4"] { color: #9f5f80; }
.minesweeper-cell[data-number="5"] { color: #ff6b6b; }
.minesweeper-cell[data-number="6"] { color: #4a90e2; }
.minesweeper-cell[data-number="7"] { color: #50e3c2; }
.minesweeper-cell[data-number="8"] { color: #f5a623; }

.minesweeper-footer {
    display: flex;
    justify-content: center;
    padding: 10px;
    gap: 10px;
    background: linear-gradient(135deg, #a267ac, #67c9dc);
}

.difficulty-button {
    padding: 5px 15px;
    background-color: #d5bde6;
    border: 2px outset #f0d9ff;
    color: #441d57;
    cursor: pointer;
}

.difficulty-button:hover {
    background-color: #e6d4f2;
}

.difficulty-button.active {
    border-style: inset;
    background-color: #b89fc7;
    color: white;
}