.mini-game {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    z-index: 999
}

.mini-game._active {
    display: flex
}

.mini-game .mini-game__popup {
    position: relative;
    display: flex;
    width: 370px;
    padding: 4px 15px 20px 15px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border-radius: 3.5px;
    background-color: #212942;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .2)
}

.mini-game .mini-game__controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.mini-game .mini-game__title {
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    color: #fff;
}

.mini-game .mini-game__subtitle {
    margin-top: 0;
    color: #fff
}

.mini-game .mini-game__description {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    color: #fff;
}

.mini-game .mini-game__counter {
    color: #1976D2;
}

.mini-game .mini-game__field {
    display: none;
    grid-template-rows:repeat(4, 1fr);
    grid-template-columns:repeat(4, 1fr)
}

.mini-game .mini-game__field._active {
    display: grid
}

.mini-game .mini-game__cell {
    width: 76px;
    height: 76px;
    background-color: #1976D2;
    border: 1px solid #212942;
    cursor: pointer
}

.mini-game .mini-game__cell:not(._opened):hover {
    opacity: .8
}

.mini-game .mini-game__cell._opened {
    background: #1976d2 url(../img/empty-cell.svg) center / contain no-repeat;
}

.mini-game .mini-game__cell._gift {
    background: #1976d2 url(../img/gift.svg) center / contain no-repeat;
}

.mini-game .mini-game__promo-field {
    display: none;
    grid-template-columns:1fr auto;
    justify-items: center;
    background-color: #131A26;
    color: #fff;
    padding: 0 16px 16px 16px
}

.mini-game .mini-game__close {
    display: flex;
    background: 0 0;
    border: none;
    cursor: pointer
}

.mini-game .mini-game__promo-field._active {
    display: grid
}

.promo-field img, .promo-field__button, .promo-field__description, .promo-field__title, .promocode__wrap {
    grid-column: 1/3
}

.promo-field__description, .promo-field__title {
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    margin-top: 0
}

.promo-field__description span, .promo-field__title span {
    color: #fff;
}

.promo-field__title {
    font-size: 16px;
    margin-bottom: 5px
}

.promo-field__description {
    font-size: 14px;
    margin-bottom: 30px
}

.promocode__wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(25, 118, 210, 0.25);
    padding: 4px 4px 4px 8px;
    border-radius: 6px;
    width: 100%
}

.promocode {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    border-radius: 3px;
    color: #FFCD1B;
    width: 100%
}

.promocode__copy {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    border: none;
    padding: 8px;
    background-color: rgba(25, 118, 210, 0.25);
    border-radius: 3px;
    margin-left: 10px;
    white-space: nowrap;
    cursor: pointer
}

.promo-field__button {
    width: 100%;
    margin-top: 8px;
    padding: 12px 24px;
    min-width: unset;
    background-color: #1976d2;
    font-weight: 700;
    font-size: 15px;
    line-height: 24px;
    border-radius: 24px;
    border: none;
    color: #fff;
    text-transform: uppercase;
}