/* Mines Game — Premium */

.mines-container {
    display: flex;
    flex-direction: row-reverse;
}

.mines-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 33, 46, 0.4);
    min-height: 420px;
}

.mines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
}

.mine-cell {
    background: rgba(33, 55, 67, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.12s;
    aspect-ratio: 1;
}

.mine-cell:hover:not(.revealed) {
    background: var(--bg-hover);
    border-color: var(--border-light);
    transform: scale(1.03);
}

.mine-cell.revealed { cursor: default; }

.mine-cell.gem {
    background: var(--green-dim);
    border-color: var(--green-border);
    animation: gemReveal 0.3s ease;
}

.mine-cell.bomb {
    background: var(--red-dim);
    border-color: rgba(255, 59, 59, 0.3);
    animation: bombReveal 0.3s ease;
}

@keyframes gemReveal {
    0% { transform: scale(0.5) rotateY(180deg); }
    100% { transform: scale(1) rotateY(0); }
}

@keyframes bombReveal {
    0% { transform: scale(1); }
    30% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.mines-controls {
    width: 280px;
    min-width: 280px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(26, 44, 56, 0.5);
    border-right: 1px solid rgba(255,255,255,0.06);
}

.mines-info {
    text-align: center;
    padding: 16px;
    background: rgba(15, 33, 46, 0.5);
    border-radius: var(--radius-md);
}

.mines-multiplier {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
}

.mines-profit {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
    margin-top: 4px;
}

.btn-mines {
    background: var(--accent);
    color: white;
}

.btn-cashout {
    background: var(--green);
    color: var(--bg-darkest);
}
