:root {
    --main-bg: #4A4A48;
    --secondary-bg: #1e2126;
    --text-color: #fff;
    --red-color: #8b1d1d;
    --invert: 0;
}

html,body {
    overflow-x: hidden;
}

body {
    font-family: sans-serif;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background-color: var(--main-bg);
    color: var(--text-color);
    padding: 0;
    margin: 0;
}

a {
    color: var(--text-color);
}

table {
    border-collapse: collapse;
}

.mobile-plug {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background-color: var(--main-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-plug.hidden {
    display: none;
}

.mobile-plug__title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    max-width: 500px;
    text-align: center;
}

.main-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

@media (max-width: 700px) {
    .main-row {
        flex-direction: column;
        align-items: center;
    }
}

.roulette__title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    margin: 0 auto;
    text-align: center;
    transition: 0.3s;
}

.roulette__description {
    text-align: center;
    margin-bottom: 0;
}

.theme-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    z-index: 8;
    margin-bottom: 20px;
}

.theme-switcher svg {
    height: 25px;
    width: auto;
    fill: var(--text-color);
    transition: 0.3s;
}

.theme-switcher__thumb {
    width: 50px;
    height: 20px;
    border-radius: 30px;
    background-color: var(--text-color);
    position: relative;
    transition: 0.3s;
}

.theme-switcher__thumb:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-color: var(--main-bg);
    transition: 0.3s;
}

.theme-switcher.active .theme-switcher__thumb:before {
    left: 32px;
}

.roulette-track-table-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
}

.roulette-row {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.roulette-img {
    width: 200px;
    height: auto;
    margin-right: -50px;
}

.roulette-track-wrapper {
    padding: 60px 85px;
    position: relative;
}

.table-roulette__track-wrapper {
    width: 100%;
    position: relative;
}

.table-roulette__track-counter {
    position: absolute;
    z-index: 1;
    color: #fff;
    font-size: 13px;
    transform: translateY(40%);
    text-align: center;
}

.table-roulette__track-counter.first {
    top: 20%;
    left: 40px;
    width: calc(33% - 40px);
}

.table-roulette__track-counter.second {
    top: 45%;
    left: 40px;
    width: calc(33% - 40px);
}

.table-roulette__track-counter.third {
    top: 20%;
    left: calc(33% - 0px);
    width: 20%;
}

.table-roulette__track-counter.fourth {
    top: 45%;
    left: calc(33% - 0px);
    width: 20%;
}

.table-roulette__track-counter.fifth {
    top: 20%;
    right: 25%;
    width: calc(25% - 20px);
}

.table-roulette__track-counter.sixth {
    top: 45%;
    right: 25%;
    width: calc(25% - 20px);
}

.table-roulette__track-counter.seventh {
    top: 20%;
    right: 40px;
    width: calc(25% - 40px);
}

.table-roulette__track-counter.eighth {
    top: 45%;
    right: 40px;
    width: calc(25% - 40px);
}


.roulette-track {
    --border-color: var(--main-bg);
    border-collapse: collapse;
    /* background: #200227; */
    position: relative;
}

.roulette-track:before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 50px;
    height: 55px;
    transform: translateY(-100%);
    background-color: var(--main-bg);
    z-index: 1;
}

.roulette-track td {
    text-align: center;
    border: 1px solid var(--border-color);
    padding: 8px;
    min-width: 40px;
    color: #fff;
    transition: 0.3s;
    font-size: 20px;
    position: relative;
    background-color: #1f2227;
}

.roulette-track td .counter {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 10px;
    margin: 0;
}

.roulette-track td .counter.second {
    bottom: 0;
    left: 0;
    top: auto;
    right: auto;
}

td.zero .counter.second {
    left: 20px;
}

.roulette-track td sup {
    font-size: 10px;
}

.roulette-track td.red {
    background-color: var(--red-color);
}

path.red {
    fill: var(--red-color) !important;
}

.roulette-track td.black {
    background-color: black;
}

path.black {
    fill: black !important;
}

.roulette-track td.empty {
    border: none;
    background: none;
    position: relative;
    z-index: 1;
}

.roulette-track td.active {
    background-color: #015270 !important;
}

.roulette-track td.empty:before {
    position: absolute;
    left: -1px;
    bottom: -1px;
    width: calc(100% + 1px);
    height: calc(100% + 1px);
    background-color: var(--main-bg);
    content: '';
}

.roulette-track td.empty.end:before {
    right: -1px;
    left: initial;
}

.roulette-track td.zero {
    background-color: #008100;
    width: 30px;
    position: relative;
    padding-left: 10px;
    padding-right: 0;
}

path.zero {
    fill: #008100 !important;
}

.roulette-track td.zero:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -1px;
    width: 20px;
    height: 100%;
    background-color: var(--main-bg);
    transform: rotate(20deg);
    border-right: 1px solid var(--border-color);
}

.roulette-track td.zero:after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -1px;
    width: 20px;
    height: 100%;
    background-color: var(--main-bg);
    transform: rotate(-20deg);
    border-right: 1px solid var(--border-color);
}

.roulette-track .rhombus-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.roulette-track .rhombus {
    height: 20px;
    width: auto;
    fill: black;
}

.roulette-track .rhombus.red {
    fill: var(--red-color);
}

.table-roulette {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    flex: 1;
    width: 700px;
    margin-right: 0;
}

.table-roullete__controls-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.table-roullete__controls-title {
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 0;
}

.table-roulette__track {
    width: 100%;
    height: auto;
}

.table-roulette__track * {
    stroke-width: 1px;
}

.table-roulette__track > path,
.table-roulette__track > rect{
    fill: #1f2227;
}

.table-roulette__track .text path {
    fill: #fff;
}

.table-roulette__track > path {
    transition: 0.3s;
}

.table-roulette__track > path.last {
    stroke: yellow;
    stroke-width: 1px;
}

.table-roulette__track > path.active {
    fill: #015270 !important;
}

.table-roulette__track .text path.bold {
    stroke-width: 2px;
    stroke: #fff;
}

.table-roullete__controls-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.table-roulette__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.table-roulette__button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    position: relative;
    padding: 0;
}

.table-roulette__counter {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    transition: 0.3s;
}

.table-roulette__button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
}

.table-roulette__button.plus:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 60%;
    background-color: #fff;
    border-radius: 2px;
}

.spins {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    max-width: 960px;
    width: 100%;
    grid-gap: 7px 0;
    margin: 0;
}
.spins .spin {
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    color: #fff;
    background-color: #666;
    border-radius: 5px;
    margin: auto;
}

.spins-row:not(.active) .spin:nth-child(n + 41) {
    display: none;
}

.spins .spin:first-child {
    width: 30px;
    height: 30px;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
}
.spins .spin.red {
    background-color: var(--red-color);
}
.spins .spin.black {
    background-color: black;
}
.spins .spin.zero {
    background-color: green;
}

.spins-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 40px 10px 0;
    position: relative;
    left: 25px;
}

.more-spins {
    width: 25px;
    min-width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 25px;
    text-align: center;
    color: var(--main-bg);
    background-color: var(--text-color);
    line-height: 0;
    letter-spacing: 0;
    padding: 2px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    border: none;
    transition: 0.3s;
}

.spins-row.active .more-spins {
    transform: rotate(180deg);
}

.more-spins svg {
    width: 15px;
    height: auto;
    stroke: var(--main-bg);
    transition: 0.3s;
}

.faq__title {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    color: var(--text-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 200px);
    max-width: 950px;
    gap: 20px;
    list-style: none;
    padding: 0 85px;
    margin: 0;
}

.faq-list__item {
    width: 100%;
    margin: 0;
    padding: 10px;
    border-radius: 5px;
    background-color: var(--text-color);
    color: var(--main-bg);
    cursor: pointer;
    position: relative;
}

.faq-list__item a {
    color: var(--main-bg);
}

.faq-list__item:before {
    content: '';
    position: absolute;
    top: 10px;
    right: 15px;
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KDTwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIEdlbmVyYXRvcjogU1ZHIFJlcG8gTWl4ZXIgVG9vbHMgLS0+Cjxzdmcgd2lkdGg9IjgwMHB4IiBoZWlnaHQ9IjgwMHB4IiB2aWV3Qm94PSIwIC0xOS4wNCA3NS44MDQgNzUuODA0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KICA8ZyBpZD0iR3JvdXBfNjciIGRhdGEtbmFtZT0iR3JvdXAgNjciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC03OTguMjAzIC01ODcuODE1KSI+DQogICAgPHBhdGggaWQ9IlBhdGhfNTkiIGRhdGEtbmFtZT0iUGF0aCA1OSIgZD0iTTc5OC4yLDU4OS4zMTRhMS41LDEuNSwwLDAsMSwyLjU2MS0xLjA2bDMzLjU2LDMzLjU1NmEyLjUyOCwyLjUyOCwwLDAsMCwzLjU2NCwwbDMzLjU1OC0zMy41NTZhMS41LDEuNSwwLDEsMSwyLjEyMSwyLjEyMWwtMzMuNTU4LDMzLjU1N2E1LjUzLDUuNTMsMCwwLDEtNy44MDcsMGwtMzMuNTYtMzMuNTU3QTEuNSwxLjUsMCwwLDEsNzk4LjIsNTg5LjMxNFoiIGZpbGw9IiMwYzJjNjciLz4NCiAgPC9nPg0KPC9zdmc+");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s;
    filter: invert(var(--invert));
}

.faq-list__item.active:before {
    transform: rotate(180deg);
}

.faq-list__item--title {
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.faq-list__item--description {
    margin: 10px 0 0 0;
    padding: 0;
    font-size: 14px;
}

.faq-list__item:not(.active) .faq-list__item--description {
    display: none;
}


/* */
.table-two {
    background-color: var(--secondary-bg);
    width: 350px;
    margin-top: 60px;
}
.proc {
    color: var(--text-color);
}
.table-two .text {
    width: 100%;
    margin: 0;
    padding: 4px 0;
}