.roll-link {
    aspect-ratio: 4 / 1;
}

#roll-home .icon {
    width: 20px;
    color: rgba(255, 255, 255, .5)
}

#roll-home a {
    opacity: .8;
    color: rgba(255, 255, 255, 1)
}

#roll-home a:hover {
    opacity: 1;
}

#roll-home a.roll {
    text-decoration: none;
    display: block;
    position: relative;
    padding: 1rem;
    background: rgba(0, 0, 0, .25);
    border-radius: 6px;
    box-shadow: 0 20px 20px -20px rgba(0, 0, 0, 0.5);
    border-bottom: 5px solid rgba(255, 255, 255, .03);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

#roll-home a.roll .roll-name {
    color: #FFF;
    transition: color 0.3s ease;
}

#roll-home a.roll svg {
    height: 40px;
    color: rgba(255, 255, 255.5);
    transition: color 0.3s ease;
}

#roll-home a.roll:hover {
    box-shadow: 0 20px 20px -20px rgba(0, 0, 0, 0.7);
    border-bottom-color: var(--bm-root-color);
}

#roll-home a.roll:hover .roll-name {
    color: var(--bm-root-color);
}

#roll-home a.roll .roll-info {
    border-left: 2px solid var(--bm-root-color);
    padding-left: 1rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.roll-info blockquote {
    font-size: .8rem;
    font-weight: normal;
    color: rgba(255, 255, 255, .75)
}

#roll-home a.roll.finished {
    cursor: default;
    background: rgba(0, 0, 0, .1);
}

#roll-home a.roll.finished:hover {
    opacity: .8 !important;
    background: rgba(0, 0, 0, .1);
    box-shadow: 0 20px 20px -20px rgba(0, 0, 0, 0.5);
}

#roll-home a.roll.finished .roll-info {
    opacity: .6;
}

#roll-home a.roll.finished:after {
    content: "Tükendi!";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    padding: .5rem 1rem;
    border-radius: 8px;
    opacity: .5;
}

.roulette-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    /*
    top: 50 %;
    transform: translateY(- 50 %);
    */
}

.roulette-button {
    position: relative;
}

.roulette-button:after {
    content: "";
    border-color: transparent transparent rgba(242, 107, 4, .8) transparent;
    border-style: solid;
    border-width: 20px;
    top: -40px;
    left: 50%;
    transform: translate(-50%, 0%);
    position: absolute;
    border-radius: 2px;
    z-index: 2;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.roulette-button:hover:after {
    border-color: transparent transparent rgba(242, 107, 4, 1) transparent;
}

.roulette-button.bg-dark:after {
    border-color: transparent transparent rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) transparent;
}

.roulette-button.bg-dark:hover:after {
    border-color: transparent transparent rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) transparent;
}

.roulette-wrapper .wheel {
    display: flex;
}

.roulette-wrapper .wheel .roulette-row {
    display: flex;
}

.roulette-wrapper .wheel .roulette-row .roulette-card {
    height: 160px;
    width: 240px;
    margin: 5px;
    border-radius: 12px;
    border-bottom: 8px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-size: 0.85em;
    opacity: .4;
    text-align: center;
    transition: opacity 0.1s ease, transform 0.3s ease;
    background: rgb(44 73 96 / 50%);

}

.roulette-wrapper .wheel .roulette-row .roulette-card b {
    display: block;
    font-size: 1rem;
}

.roulette-image {
    max-width: 72%;
    margin-bottom: 6px;
    max-height: 82px;
}

.roulette-wrapper .wheel .roulette-row .roulette-card.active-card {
    opacity: 1;
}

.roulette-wrapper .wheel .roulette-row .roulette-card.active-card b {
    font-size: 1.2rem;
}

#data-message {
    top: 0 !important;
}


#roll {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 1rem;
    margin: 0;
    background: rgba(242, 107, 4, .8);
    border: 0;
    border-bottom: 5px solid rgba(0, 0, 0, .3)
}

#roll:hover {
    background: rgba(242, 107, 4, 1);
    border-bottom: 5px solid rgba(0, 0, 0, .5)
}

#roll svg {
    width: 48px;
    height: 48px;
}

.roll-link {
    background: rgba(255, 255, 255, .04);
    text-decoration: none;
    padding: 1.5rem 0;
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, .7);
    border-radius: 8px;
}

.roll-link:hover {
    background: rgba(0, 0, 0, .1);
    color: rgba(255, 255, 255, 1)
}

.histories .hist {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.histories .hist .small {
    font-size: .7rem !important;
}

.histories .hist:nth-child(2n+1) {
    background: rgba(255, 255, 255, .05);
}

.histories .hist:nth-child(2n+2) {
    background: rgba(255, 255, 255, .02);
}

.my-item img {
    max-width: 40px;
    max-height: 30px;
}

.ro-it b {
    display: block;
}

.roll-category {
    display: flex;
    padding: 1rem;
    background: rgba(0, 0, 0, .25);
    border-radius: 6px;
    border-bottom: 5px solid rgba(255, 255, 255, .05);
    text-decoration: none;
    font-size: 1rem;
    align-items: center;
    box-shadow: 0 20px 20px -20px rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.roll-category:hover {
    border-color: var(--bm-root-color);
    box-shadow: 0 20px 20px -20px rgba(0, 0, 0, 0.7);
}

.roll-category svg, .roll-category img {
    margin-right: 1rem;
    height: 36px;
    color: rgba(255, 255, 255, .5);
    transition: color 0.3s ease;
}

.roll-category:hover svg {
    color: var(--bm-root-color);
}
