/* Mines Game Specific Styles */

.mines-game-area {
    background-color: var(--bg-lighter);
}

.mines-board-container {
    background: transparent;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1; /* Keep it square */
}

.mine-block {
    background-color: var(--bg-dark);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 0 rgba(0,0,0,0.3);
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.mine-block:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.3);
    background-color: #242838;
}

.mine-block.revealed {
    transform: translateY(4px);
    box-shadow: 0 0 0 rgba(0,0,0,0.3);
    background-color: #242838;
    cursor: default;
}

.mine-block.star {
    background-color: #fca311;
}

.mine-block.bomb {
    background-color: #dc3545;
}

.mine-block i {
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mine-block.star i { color: #fff; }
.mine-block.bomb i { color: #fff; }

.mine-block.inactive {
    opacity: 0.5;
    pointer-events: none;
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.select-wrap select {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 12px 0;
    outline: none;
    font-weight: 600;
    cursor: pointer;
}
.select-wrap select option {
    background: var(--bg-dark);
    color: white;
}
