:root {
    --bg-color: #0d47a1; /* Azul caso a imagem falhe */
    --panel-bg: rgba(255, 255, 255, 0.15); /* Efeito Vidro */
    --primary: #ffffff;
    --secondary: #bbdefb;
    --text: #ffffff;
    --win: #ffd700;
    --danger: #ff4c4c;
    --cell-size: clamp(55px, 17.5vw, 80px); /* Diminuído um pouco para caber nas laterais */
    --grid-gap: clamp(3px, 1.2vw, 8px);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color) !important;
    background-image: url('images/bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 100vh !important;
    overflow: hidden !important; /* Bloqueia rigorosamente o scroll da página */
    position: fixed; /* Trava a posição do body */
    width: 100%;
    top: 0;
    left: 0;
}

.app-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100vh - 70px); /* Ajusta para descontar o Header Real */
    align-items: center;
    position: relative;
    padding-bottom: 10px; /* Espaço para não colar no fundo */
}

body.modal-open {
    padding-right: 0 !important; /* Corrige o bug de deslocamento do modal de depósito */
}

/* --- Tela de Carregamento --- */
.loading-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #0d47a1 0%, #000000 100%);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease;
}
.loading-content {
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
}
.loading-logo {
    max-width: 80%; width: 280px;
    margin-bottom: 30px;
    animation: pulse 1.5s infinite alternate;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}
.loading-spinner {
    width: 50px; height: 50px;
    border: 5px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}
.loading-text { color: #fff; font-weight: bold; letter-spacing: 3px; font-size: 1.2rem; animation: flicker 1.5s infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Botão Voltar --- */
.btn-back {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 6px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 100;
    transition: all 0.2s ease;
}
.btn-back:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

/* --- Botão Como Jogar --- */
.btn-info-game {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.2s ease;
    padding: 0;
    color: #fff;
}
.btn-info-game:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* --- Botão Som --- */
.btn-sound-toggle {
    position: absolute;
    top: 60px; /* Fica abaixo do botão como jogar */
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.2s ease;
    color: #fff;
}
.btn-sound-toggle:hover { background: rgba(0, 0, 0, 0.9); transform: scale(1.1); }

/* --- Área do Jogo --- */
.game-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 60px 20px 20px 20px;
    align-items: center;
    justify-content: space-around; /* Distribui o espaço verticalmente */
    width: 100%;
    max-width: 450px;
}

.game-logo {
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
}
.game-logo img {
    max-width: 250px;
    width: 80%;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

/* --- Roleta (Efeito Vidro Clean) --- */
.slot-machine {
    background: var(--panel-bg);
    backdrop-filter: blur(8px);
    padding: 8px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 0 10px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.slot-grid {
    display: flex;
    gap: var(--grid-gap);
    height: calc(var(--cell-size) * 3);
    overflow: hidden;
}

.slot-column {
    box-sizing: border-box;
    width: var(--cell-size);
    height: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.reel-strip {
    display: flex;
    flex-direction: column;
    width: 100%;
    will-change: transform; /* Aceleração de Placa de Vídeo (Impede o engasgo no mobile) */
}

.slot-cell {
    box-sizing: border-box;
    height: var(--cell-size);
    width: var(--cell-size);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    position: relative;
}

.slot-cell.win-highlight {
    background: rgba(156, 39, 176, 0.6); /* Fundo Roxo Translúcido */
    border-color: #e040fb; /* Borda Roxo Neon */
    box-shadow: 0 0 20px #aa00ff, inset 0 0 15px #d500f9; /* Brilho Interno e Externo Roxo */
    animation: pulse 0.8s infinite alternate;
    z-index: 2;
    border-radius: 8px;
}

.slot-cell .symbol-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

/* --- Exibição de Ganhos Embaixo --- */
.win-and-spin-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    min-height: 60px; /* Aumentado levemente para caber o ganho e o saldo empilhados */
    margin-top: 15px;
    width: 100%;
}

.win-display {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    border-radius: 30px;
    padding: 5px 20px;
    margin-top: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), inset 0 0 10px rgba(0,0,0,0.4);
    min-width: 140px;
    width: 100%;
}
.win-label { 
    font-size: 0.7rem; color: #eee; text-transform: uppercase; font-weight: bold; letter-spacing: 1px;
}
.win-value { font-size: 1.2rem; font-weight: 900; color: var(--win); }

/* --- Selo Rodada Grátis --- */
.free-spin-badge {
    background: linear-gradient(90deg, #ff007f, #ff9100);
    color: white; border-radius: 20px; padding: 4px 15px; margin-top: 0 !important;
    font-size: 0.75rem; letter-spacing: 1px; box-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
    animation: pulse 1s infinite alternate; border: 1px solid #fff;
    white-space: nowrap;
}

/* --- Badge de Saldo Real --- */
.real-balance-badge {
    background: linear-gradient(to bottom, rgba(21, 87, 36, 0.7), rgba(40, 167, 69, 0.7));
    border-radius: 30px;
    padding: 5px 20px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    border: 2px solid rgba(40, 167, 69, 0.6);
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.3), inset 0 0 10px rgba(0,0,0,0.4);
    min-width: 140px; width: 100%; white-space: nowrap;
}

/* --- Balão Contador Auto Spin --- */
.auto-spin-counter {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: -15px; /* Puxa para perto dos controles */
    z-index: 5;
}
.spin-anim { animation: spin 2s linear infinite; }

/* ==========================================
   HUD INFERIOR MODERNO PREMIUM (AZUL NEON)
   ========================================== */
.bottom-controls {
    position: relative;
    height: auto;
    display: flex;
    width: 100%;
    margin-top: 15px;
    z-index: 10;
}

.hud-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 5px;
}

/* --- LINHA 1: INFO (Wallet, Cash, Trophy) --- */
.hud-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.hud-info-box {
    flex: 1;
    background: rgba(13, 71, 161, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(0, 210, 255, 0.15);
    min-width: 0;
}

.hud-info-box iconify-icon {
    color: #00d2ff;
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.8));
}

.hud-info-box span {
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(0.75rem, 3.5vw, 0.95rem);
    letter-spacing: 0.5px;
    font-family: 'Arial', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- LINHA 2: CONTROLES --- */
.hud-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    position: relative;
    padding: 0 5px;
    min-height: 85px; /* Altura exata para o Spin ficar centralizado sobre os cantos */
}

/* Botões Laterais (Turbo / Auto) */
.hud-btn-side {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    color: #bbdefb;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 60px;
    height: 60px;
    padding-bottom: 5px;
}
.hud-btn-side iconify-icon { font-size: 1.8rem; }
.hud-btn-side span { font-size: 0.65rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.hud-btn-side:hover {
    color: #00d2ff;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.8));
    transform: scale(1.05);
}
.hud-btn-side.active, .hud-btn-side.active-turbo {
    color: #ffaa00; /* Laranja/Amarelo Neon para destacar quando ativo */
    filter: drop-shadow(0 0 12px rgba(255, 170, 0, 0.9));
    transform: scale(1.1);
}

/* Bloco Central ( - , SPIN, + ) */
.hud-center-controls {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Botões - e + */
.hud-btn-action {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.hud-btn-action:hover {
    background: rgba(0, 210, 255, 0.2);
    border-color: #00d2ff;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.5);
}
.hud-btn-action:active { transform: scale(0.9); }

/* BOTÃO SPIN GIGANTE NEON */
.hud-btn-spin {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #00d2ff, #0d47a1);
    border: 3px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.7), inset 0 0 15px rgba(255, 255, 255, 0.5);
    animation: spinPulse 2s infinite alternate;
    transition: all 0.15s ease-out;
    z-index: 20;
}
.hud-btn-spin iconify-icon {
    font-size: 3.8rem;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}
.hud-btn-spin:active:not(:disabled) {
    transform: scale(0.92);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.4);
}
.hud-btn-spin:disabled {
    background: radial-gradient(circle at 30% 30%, #444, #222);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.3);
    animation: none;
    cursor: not-allowed;
}
.hud-btn-spin.free-spin-mode {
    background: radial-gradient(circle at 30% 30%, #0d47a1, #000022);
    border-color: rgba(0, 210, 255, 0.8);
    box-shadow: 0 0 25px rgba(0, 150, 255, 0.7), inset 0 0 15px rgba(255, 255, 255, 0.5);
    color: #00d2ff;
}

/* Animação de Pulsar e Girar */
@keyframes spinPulse {
    0% { box-shadow: 0 0 15px rgba(0, 210, 255, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.4); transform: scale(1); }
    100% { box-shadow: 0 0 35px rgba(0, 210, 255, 1), inset 0 0 25px rgba(255, 255, 255, 0.6); transform: scale(1.04); }
}
.hud-btn-spin.spinning iconify-icon {
    animation: spinTick 0.5s ease-in-out forwards;
}
@keyframes spinTick {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(60deg); }
    100% { transform: rotate(0deg); }
}

/* --- Balão Contador Auto Spin --- */
.auto-spin-counter {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: -15px;
    z-index: 5;
    align-self: center;
}
.spin-anim { animation: spin 2s linear infinite; }

/* Selo de Rodada Grátis refeito para o tema azul escuro */
.free-spin-hud-badge {
    background: linear-gradient(90deg, #0d47a1, #00d2ff);
    color: white; border-radius: 20px; padding: 4px 15px; 
    font-size: 0.8rem; font-weight: bold; letter-spacing: 1px; 
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.6); border: 1px solid rgba(255,255,255,0.8);
    text-align: center; margin: 0 auto; animation: pulse 1s infinite alternate;
}

.alert-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px #000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
    text-align: center;
    width: 120%;
}

.alert-overlay.show { opacity: 1; animation: pop 0.5s ease; }
.alert-bingo { color: var(--win); }
.alert-almost { color: var(--danger); }

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes pop {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    80% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* --- Mini Win Floater --- */
.mini-win-floater {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(2rem, 10vw, 4rem);
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px #00d2ff, 0 0 20px #00d2ff, 2px 2px 0 #000, -2px -2px 0 #000;
    z-index: 100;
    pointer-events: none;
    animation: floatUp 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes floatUp {
    0% { transform: translate(-50%, -10%) scale(0.5); opacity: 0; }
    20% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -100%) scale(1); opacity: 0; }
}

/* --- Animação Gigante do Multiplicador --- */
.huge-multiplier-anim {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
    font-size: clamp(4rem, 20vw, 8rem); font-weight: 900; color: #ff0055;
    text-shadow: 0 0 20px #fff, 0 0 40px #ff0055, 4px 4px 0 #000;
    z-index: 500; pointer-events: none; opacity: 0;
    animation: boomMultiplier 2.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes boomMultiplier {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    20% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
    30% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    40% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; text-shadow: 0 0 50px #fff, 0 0 80px #ff0055; }
    80% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}

/* --- Overlay de Celebração de Ganhos --- */
.win-celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Super leve, não ofusca a grade */
    backdrop-filter: blur(4px); /* Borrão sutil */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s;
}
.win-celebration-overlay.show {
    opacity: 1;
    visibility: visible;
    z-index: 2000;
    pointer-events: all;
}

/* --- Canvas das Partículas Douradas --- */
.win-particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.win-celebration-box {
    text-align: center;
    transform: scale(0.7);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, rgba(0,0,0,0) 70%);
    padding: 40px;
    border-radius: 50%;
    z-index: 2;
    position: relative;
}
.win-celebration-overlay.show .win-celebration-box {
    transform: scale(1);
}

.win-celebration-title {
    font-size: clamp(1.2rem, 5vw, 2rem);
    font-weight: 900;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.win-celebration-amount-container {
    margin-top: 0;
    color: var(--win);
    text-shadow: 0 0 20px #ffc107, 0 0 40px #ff8f00, 0 0 80px #ff6f00, 2px 2px 0px #000;
    animation: intenseGlow 1.5s infinite alternate;
    display: flex;
    align-items: baseline; /* Alinha o R$ exatamente pela base do número */
    justify-content: center;
    font-family: 'Arial Black', Impact, sans-serif; /* Fonte robusta */
}
.currency-symbol {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    font-weight: bold;
    margin-right: 8px;
}
.win-celebration-amount {
    font-size: clamp(3.5rem, 14vw, 6rem);
    line-height: 1;
}

@keyframes intenseGlow {
  0% { text-shadow: 0 0 10px #ffc107, 0 0 20px #ff8f00, 2px 2px 0px #000; transform: scale(1); }
  100% { text-shadow: 0 0 30px #ffc107, 0 0 60px #ff8f00, 0 0 100px #fff, 2px 2px 0px #000; transform: scale(1.05); }
}

/* --- Animação de Choque/Terremoto (Jackpot) --- */
.grid-shake {
    animation: shake 0.6s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}
@keyframes shake {
    10%, 90% { transform: translate3d(-3px, 0, 0); }
    20%, 80% { transform: translate3d(5px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-8px, 0, 0); }
    40%, 60% { transform: translate3d(8px, 0, 0); }
}

/* --- Efeito de Borrão (Motion Blur) Super Leve para Celular --- */
.blur-spin img {
    transform: scaleY(1.3);
    opacity: 0.8;
}

/* --- Alerta Bonito de Rodadas Grátis --- */
.free-spin-alert {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle at 50% 50%, #0d47a1, #000033);
    border: 3px solid #00d2ff; box-shadow: 0 0 40px #00d2ff, inset 0 0 20px rgba(0,0,0,0.5);
    color: #fff; padding: 25px 35px; border-radius: 25px; text-align: center;
    z-index: 1000; pointer-events: none; opacity: 0; width: 90%;
    animation: popFreeSpin 3.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.free-spin-alert h3 { margin: 0 0 5px 0; font-weight: 900; font-size: clamp(1.8rem, 6vw, 2.5rem); text-shadow: 2px 2px 0 #000; }
.free-spin-alert p { margin: 0; font-weight: bold; font-size: clamp(0.9rem, 3.5vw, 1.2rem); text-shadow: 1px 1px 0 #000; }

@keyframes popFreeSpin {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    10% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    15% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    85% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* --- Mini Slot para Exemplos no Modal --- */
.mini-slot {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #0a0a1a;
    padding: 8px;
    border-radius: 8px;
    border: 2px solid #2a2a3c;
}
.mini-row {
    display: flex;
    gap: 4px;
}
.mini-cell {
    flex: 1;
    height: 35px;
    background: #1e1e2f;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mini-cell img {
    height: 75%;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.6));
}
.mini-cell.win {
    background: rgba(156, 39, 176, 0.6);
    border: 1px solid #e040fb;
    box-shadow: 0 0 10px #aa00ff;
}
.mini-cell.error {
    background: rgba(220, 53, 69, 0.4);
    border: 1px solid #dc3545;
    opacity: 0.7;
}
