.mines-game-widget * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif!important;
}
.mines-game-widget {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    overflow-x: auto;
}
.fa-classic, .fa-regular, .fa-solid, .far, .fas {
    font-family: "Font Awesome 6 Free"!important;
}
.mines-game-widget .game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.mines-game-widget .main-game-section {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 30px;
    align-items: start;
    flex: 1;
}
.mines-game-widget .betting-section {
    background: linear-gradient(135deg, #1a1f2e 0%, #2a2f3e 100%);
    border: 1px solid #00aaff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.1);
}
.mines-game-widget .game-board-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.mines-game-widget .stats-section {
    background: linear-gradient(135deg, #1a1f2e 0%, #2a2f3e 100%);
    border: 1px solid #1fc1ff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(31, 193, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mines-game-widget-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mines-game-widget .logo {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00aaff, #1fc1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}
.mines-game-widget .game-board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    background: linear-gradient(135deg, #1a1f2e 0%, #2a2f3e 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #00aaff;
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.3);
}
.mines-game-widget .cell {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2a2f3e 0%, #3a3f4e 50%, #2a2f3e 100%);
    border: 2px solid #3a3f4e;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.mines-game-widget .cell:hover:not(.revealed) {
    background: linear-gradient(135deg, #00aaff 0%, #1fc1ff 100%);
    border-color: #1fc1ff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(31, 193, 255, 0.5);
}
.mines-game-widget .cell.safe {
    background: linear-gradient(135deg, #f58220 0%, #fdf05c 100%);
    border-color: #fdf05c;
    animation: safeReveal 0.5s ease;
}
.mines-game-widget .cell.mine {
    background: linear-gradient(135deg, #ff4444 0%, #cc2222 100%);
    border-color: #ff4444;
    animation: mineReveal 0.5s ease;
}
@keyframes safeReveal {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); box-shadow: 0 0 20px rgba(0, 255, 136, 0.7); }
    100% { transform: scale(1); }
}
@keyframes mineReveal {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); box-shadow: 0 0 20px rgba(255, 68, 68, 0.7); }
    100% { transform: scale(1); }
}
.mines-game-widget .compact-winnings {
    background: linear-gradient(135deg, #1a1f2e 0%, #2a2f3e 100%);
    border: 1px solid #00ff88;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 100%;
}
.mines-game-widget .potential-win {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 10px;
}
.mines-game-widget .multiplier-compact {
    font-size: 1.2rem;
    color: #1fc1ff;
    margin-bottom: 15px;
}
.mines-game-widget .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    color: #1fc1ff;
}
.mines-game-widget .input-group {
    margin-bottom: 15px;
}
.mines-game-widget .input-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #b0b8c1;
    font-size: 0.9rem;
}
.mines-game-widget .input-field {
    width: 100%;
    padding: 10px;
    background: #2a2f3e;
    border: 1px solid #3a3f4e;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.mines-game-widget .input-field:focus {
    outline: none;
    border-color: #00aaff;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.3);
}
.mines-game-widget .btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}
.mines-game-widget .btn-primary {
    background: linear-gradient(135deg, #00aaff 0%, #1fc1ff 100%);
    color: #ffffff;
}
.mines-game-widget .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.4);
}
.mines-game-widget .btn-secondary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
}
.mines-game-widget .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}
.mines-game-widget .btn-success {
    background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    color: #ffffff;
}
.mines-game-widget .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}
.mines-game-widget .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #2a2f3e;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #3a3f4e;
}
.mines-game-widget .stat-label {
    color: #b0b8c1;
    font-weight: 500;
    font-size: 0.9rem;
}
.mines-game-widget .stat-value {
    color: #1fc1ff;
    font-weight: 600;
    font-size: 0.9rem;
}
.mines-game-widget .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}
.mines-game-widget .modal-content {
    background: linear-gradient(135deg, #1a1f2e 0%, #2a2f3e 100%);
    margin: 15% auto;
    padding: 30px;
    border: 2px solid #00aaff;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 170, 255, 0.3);
    position: relative;
}
.mines-game-widget .modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.mines-game-widget .modal-title.win {
    color: #00ff88;
}
.mines-game-widget .modal-title.lose {
    color: #ff4444;
}
.mines-game-widget .promo-code {
    background: linear-gradient(135deg, #00aaff 0%, #1fc1ff 100%);
    color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0;
    letter-spacing: 2px;
    max-width:100%;
}
.mines-game-widget .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}
.mines-game-widget .close:hover {
    color: #fff;
}
.mines-game-widget .notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 600;
    z-index: 1001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}
.mines-game-widget .notification.show {
    transform: translateX(0);
}
@media (max-width: 1200px) {
    .mines-game-widget .main-game-section {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }
    .mines-game-widget .betting-section,
    .mines-game-widget .stats-section {
        max-width: 350px;
        width: 100%;
    }
    .mines-game-widget .compact-winnings {
        max-width: 350px;
    }
}
@media (max-width: 768px) {
    .mines-game-widget .game-container {
        padding: 15px;
    }
    .mines-game-widget .cell {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    .mines-game-widget .logo {
        font-size: 1.8rem;
    }
    .mines-game-widget .betting-section,
    .mines-game-widget .stats-section {
        padding: 15px;
    }
    .mines-game-widget .compact-winnings {
        padding: 12px;
    }
}
@media (max-width: 480px) {
    .mines-game-widget .cell {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .mines-game-widget .game-board {
        padding: 20px;
        gap: 8px;
    }
} 

#modalMessage, #modalMessage, #promoCodeDisplay, #copyPromoCode {
    display:none;
}