body {
    font-family: "Roboto" sans-serif;
    margin: 0 auto;
    /* width: 100%; */
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0875c7;
}

.top-control {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 80px;
}

/* Header */
.header-text {
    position: fixed;
    top: 20px;
    width: 100%;
    text-align: center;
    color: white;
    font-family: 'Intro', sans-serif;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 100;
    background-color: rgba(0, 136, 204, 0.7);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    border: 3px solid #29b6f6;
    border-radius: 30px;
    width: 320px;
    margin: 0 auto;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-text:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 136, 204, 0.9);
}

.header-text img {
    width: 32px;
    height: 32px;
}

/* Container */
.container {
    background-color: #0875c7;
    width: 90%;
    height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0px;
}

.row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 7px;
    margin-bottom: 5px;
}

/* Cards */
.rectangle {
    position: relative;
    width: calc(18% - 8px);
    height: calc(20vw - 38px);
    background-color: #0f3e6a;
    border: 2px solid #034a8a;
    box-shadow: 0 3px 0 #04306f, 0 2px 3px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flipped {
    transform: rotateY(180deg);
}

.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.back {
    background-color: #085188;
    transform: rotateY(180deg);
}

.back img {
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Circle */
.circle {
    width: 45%;
    height: 60%;
    background: linear-gradient(to bottom, #1b4a90, #1e5395, #1e5b9c);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Mines selector */
.mines-oval {
    width: 120px;
    height: 30px;
    background-color: #095390;
    border: 2px solid #034a8a;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

label {
    font-size: 14px;
    color: white;
    margin-left: 25%;
    font-family: 'Intro', sans-serif;
}

select {
    font-family: 'Intro', sans-serif;
    padding: 2px;
    font-size: 14px;
    border: 1px solid #034a8a;
    border-radius: 5px;
    background-color: #095390;
    color: white;
    cursor: pointer;
    appearance: none;
    margin-right: 8%;
}

select:hover {
    background-color: #085188;
}

select:focus {
    outline: none;
    border-color: white;
}

/* Buttons */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.bet-button {
    font-family: 'Intro', sans-serif;
    width: 250px;
    height: 60px;
    padding: 10px 30px;
    background: linear-gradient(135deg, #277100, #4f9000, #276a00);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bet-button:hover {
    background-color: #218838;
}

.restart-button {
    width: 50px;
    height: 50px;
    background-color: #0051ba;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
}

.restart-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-button {
    margin-top: 10px;
    margin-left: 65px;
    font-family: 'Intro', sans-serif;
    width: 250px;
    height: 60px;
    padding: 10px 30px;
    background: linear-gradient(135deg, #d80d0d, #e00b0b, #b50a21);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* Switch Multiple */
.switch-multiple-btn {
    font-family: 'Intro', sans-serif;
    background-color: #095390;
    color: white;
    border: 2px solid #034a8a;
    border-radius: 20px;
    padding: 8px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.switch-multiple-btn:hover {
    background-color: #085188;
}

.switch-multiple-btn.active {
    background-color: #fb9317;
    border-color: #fb9317;
}

/* Custom dropdown */
.custom-dropdown {
    position: relative;
    width: 60px;
    font-family: 'Intro', sans-serif;
}

.custom-dropdown-select {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #095390;
    color: white;
    padding: 6px 10px;
    /* border: 2px solid #034a8a; */
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    user-select: none;
    transition: all 0.2s ease;
}

.custom-dropdown-select:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid white;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.custom-dropdown.open .custom-dropdown-select:after {
    transform: rotate(180deg);
}

.custom-dropdown-select:hover {
    background-color: #085188;
}

.custom-dropdown-options {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background-color: #095390;
    border: 2px solid #034a8a;
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 999;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.custom-dropdown.open .custom-dropdown-options {
    display: block;
    animation: fadeIn 0.2s ease;
}

.custom-dropdown-option {
    padding: 8px 10px;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-dropdown-option:hover {
    background-color: #0b6cb8;
}

.custom-dropdown-option.selected {
    background-color: #0088cc;
    font-weight: bold;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar for dropdown */
.custom-dropdown-options::-webkit-scrollbar {
    width: 6px;
}

.custom-dropdown-options::-webkit-scrollbar-track {
    background: #04407a;
    border-radius: 10px;
}

.custom-dropdown-options::-webkit-scrollbar-thumb {
    background: #29b6f6;
    border-radius: 10px;
}

.custom-dropdown-options::-webkit-scrollbar-thumb:hover {
    background: #0088cc;
}

/* Hide standard select on Android and PC */
.device-android select,
.device-pc select {
    display: none;
}

/* Hide custom dropdown on iPhone */
.device-iphone .custom-dropdown {
    display: none;
}

/* Vuе-slider component overrides */
.vue-slider-dot {
    position: absolute;
    transition: all 0s;
    z-index: 5;
}

.vue-slider-dot-tooltip {
    position: absolute;
    visibility: hidden;
}

/* … остальные правила для vue-slider-dot … */

.vue-slider-marks {
    position: relative;
    width: 100%;
    height: 100%;
}

/* … остальные правила для vue-slider-marks … */

.vue-slider {
    position: relative;
    box-sizing: content-box;
    user-select: none;
    display: block;
}

.vue-slider-rail {
    position: relative;
    width: 100%;
    height: 100%;
    transition: width, height, left, right, top, bottom;
}

/* … остальные правила для vue-slider … */