
/* Модальная форма */
.roulette {
    position: fixed;
    width: 860px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 0 20px;
    border-radius: 5px;
    z-index: 3;
    display: none;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}
.ro_header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
}
.ro_footer {
    font-size: 0.95em;
    margin-bottom: 15px;
    color: #33383d;
}
/* золотые галимимы(валюта) */
.ro_footer>img {
    position: relative;
    width: 32px;
    height: 30px;
    right: 0;
    top: 8px;
}
.ro_footer>p {
    margin-top: 2px;
    margin-bottom: 0px;
}
.ro_footer>input {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* шрифт заголовка */
.ro_header>h5 {
    margin: 1em 0 0 0;
    font-size: 1.3em;
    font-weight: 600;
    color: #33383d;
}
/* крестик закрытия */
.close_ro {
    cursor: pointer;
    font-size: 1.3em;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.5);
    padding: 0.6em 1em 1em 1em;
    margin: 0px -20px 0px 0px;
}


/* инфо о рулетке */
.ro_info {
    margin-bottom: 5px;
}
.ro_info>h5 {
    font-size: 1.3rem;
    color: #33383d;
    margin: 0px;
}
.ro_info>p {
    font-size: 1.1rem;
    color: rgb(100, 100, 100);
    margin: 10px 0px 2px 0px;
}
.ro_info>span {
    font-size: 1.1rem;
    color: rgb(100, 100, 100);
}


/* кнопки подтверждения покупки */
.ro_buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
}
.ro_yes,
.ro_no {
    color: white;
    font-size: 1.25rem;
    min-width: 140px;
    background-color: rgba(192, 106, 0, .6);
    border: none;
    transition: 0.1s ease-in-out;
    text-align: center;
    padding: 6px 20px 6px 12px;
    border-radius: 0.2em;
    cursor: pointer;
}
.ro_yes:hover,
.ro_no:hover {
    padding-left: 15px;
    padding-right: 17px;
    box-shadow: 0 0 0.4em #7d8fa1;
    background-color: rgba(192, 106, 0, 1);
}
.ro_no {
    background-color: rgba(0, 0, 0, .3);
}
.ro_no:hover {
    background-color: #7F7F7F;
}



/* полоса прокрутки, главный div */
.ro_container {
    width: 100%;
    overflow: hidden;
    margin-block: 15px;
    position: relative;
}

/* поезд прокрутки */
.track {
    display: flex;
    gap: 20px;
    transition: none;
    transform: translateX(-210px);/* для смещения */
}

/* карточка дино */
.item {
    min-width: 240px;
    height: 240px;
    align-content: center;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 0 0.4em #7d8fa1;
    background-color: #C2D2FF;
    user-select: none;
}
/* картинка с дино */
.item>img {
    width: 100%;
    height: auto;
}
/* имя дино */
.item>p {
    font-size: 1.4rem;
    margin: 10px 0px 10px 0px;
}
/* иконка хищ/трав */
.item>p>img {
    position: relative;
    width: 32px;
    height: 30px;
    top: 2px;
    right: 0px;
}

/* треугольники указчика */
.triangle-up {
    position: relative;
    transform: translate(-50%, 0px);
    left: 50%;
    top: 5px;
    width: 0;
    height: 0;
    border-left: 48px solid transparent;
    border-right: 48px solid transparent;
    border-top: 24px solid #000f3c;
    z-index: 1;
}
.triangle-down {
    position: relative;
    transform: translate(-50%, 0px);
    left: 50%;
    bottom: 5px;
    width: 0;
    height: 0;
    border-left: 48px solid transparent;
    border-right: 48px solid transparent;
    border-bottom: 24px solid #000f3c;
    z-index: 1;
}

/* мобильные */
@media (max-width: 900px){
    .roulette {
        width: 100%;
        padding-inline: 2%;
    }
}