
.coins-row-block {
    width: 100%;
    margin-top: 1.5rem;
    padding-bottom: 1.5rem;
    position: relative;
    overflow-x: hidden;
}

.coins-row-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.coins-row-block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, #00100E 0%, rgba(0, 16, 14, 0) 86.76%);
    height: 100%;
    width: 100px;
}

.coins-row-block::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(270deg, #00100E 0%, rgba(0, 16, 14, 0) 86.76%);
    height: 100%;
    width: 100px;
}

.coin-row {
    width: 192px;
    min-width: 192px;
    padding: 0 1.5rem;
}

.coin-row-images {
    position: relative;
    -webkit-transform-style: preserve-3d;
    transform: rotateY(0);
    transition: transform .5s;
    cursor: grab;
}

.coin-row-image img, .coin-row-reverse img {
    width: 100%;
}

.coin-row-image {
    display: block;
    position: relative;
    opacity: 1;
    transition: opacity .5s;
}

.coin-row-reverse {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateZ(-.005em) scaleX(-1);
    transition: opacity .5s;
}

.coin-row-text {
    color: #d2eeed;
    min-height: 54px;
    font-size: .875rem;
    line-height: 1.125rem;
    font-weight: 400;
    display: flex;
    justify-content: center;
    text-align: center;
}

.coin-row:hover .coin-row-images {
    transform: rotateY(180deg);

}

.coin-row:hover .coin-row-image {
    opacity: 0;
}

.coin-row:hover .coin-row-reverse {
    opacity: 1;
    transform: tranlateZ(-.005em) scaleX(-1);
}

@media (max-width: 1279px) {
    .coin-row:nth-of-type(5) {
        display: none;
    }

    .coin-row:nth-of-type(6) {
        display: none;
    }

    .coin-row:nth-of-type(2) {
        padding: 0;
        margin: 0 1.5rem;
    }

    .coin-row:not(:nth-of-type(2)) .coin-row-text {
        display: none;
    }

    .coin-row:not(:nth-of-type(2)) {
        padding-top: 25px;
    }

}

@media (max-width: 767px) {
    .coins-row-wrapper {
        padding-left: 192px;
    }
}

.promo-card {
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    padding-top: 0;
    position: relative;
    width: 100%;
    max-width: 412px;
    min-width: 320px;
    background-color: #031717;
    color: #3b6f6d;
}

.promo-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-column-gap: 1rem;
    grid-row-gap: 20px;
    width: 100%;
    justify-items: center;
}

.promo-card-image {
    height: 160px;
    width: 100%;
    margin-top: -.75rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.promo-card-image-shadow::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 73px;
    background: linear-gradient(0deg, rgba(13, 16, 22, .3) 0%, rgba(255, 255, 255, .3) 0%, rgba(13, 16, 22, .3) 0%, rgba(13, 16, 22, .24) 33.56%, rgba(13, 16, 22, 0) 100%), linear-gradient(0deg, #0d1016 0%, #fff 0%, #0d1016 0%, rgba(13, 16, 22, .81) 33.56%, rgba(13, 16, 22, 0) 100%);
    z-index: 1;
}

.promo-card-content {
    padding: .5rem 1rem;
    flex-grow: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.promo-card-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promo-card-meta {
    position: absolute;
    top: .5rem;
    left: .5rem;
    z-index: 3;
    color: #fff;
    background: #ff2400;
    text-transform: uppercase;
    border-radius: .5rem;
    padding: 2px .5rem;
    text-align: center;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 400;
    font-weight: 500;
}

.promo-card-title {
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.625rem;
    font-weight: 500;
    color: #d2eeed;
}

.promo-card-text {
    text-align: center;
    font-size: .875rem;
    line-height: 1.125rem;
    font-weight: 400;
}

.promo-card-label {
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 400;
}

.promo-card-value {
    white-space: nowrap;
    font-size: 1.75rem;
    line-height: 2.0625rem;
    font-weight: 700;
}

#countdown {
    display: flex;
    justify-content: center;
    font-size: 1.75rem;
    line-height: 2.0625rem;
    font-weight: 700;
    gap: .25rem;
}

.promo-card-time {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 1.75rem;
    line-height: 2.0625rem;
    font-weight: 700;
    color: #d2eeed;
}

.promo-card-footer {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
    gap: 10px;
}

.promo-card-contained-btn {
    width: 100%;
    min-height: 40px;
    line-height: 24px;
    font-size: 14px;
    text-transform: uppercase;
}

.promo-card-text-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    line-height: 24px;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    margin: 0 auto;
    color: #3b6f6d;
    transition: font-size .2s ease-in-out;
}

.promo-card-text-btn:hover {
    color: #3b6f6d;
    font-size: 1.125rem;
    line-height: 1.125rem;
    font-weight: 500;
}

.promo-card-link {
    padding: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: .5rem;
    border: solid .5px;
    color: #3b6f6d;
    transition: all .2s ease-in-out;
}

.promo-card-link:hover {
    color: #d2eeed;
}


.thematic-sections {
    padding: 26px 1rem 25px;
    display: grid;
    grid-gap: 1rem;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
}

.thematic-section {
    height: 182px;
    color: #d2eeed;
    text-decoration: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background-color: #031717;
    border-radius: 1rem;
    padding: 0;
    z-index: 1;
}

.thematic-section-underlay {
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #031717;
    border-radius: 1rem;
}

.thematic-section:hover {
    color: #d2eeed;
}

.thematic-section:hover::before {
    visibility: visible;
}

.thematic-section:hover::after {
    visibility: visible;
}

.thematic-section::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 1rem;
    background: linear-gradient(110.74deg, #fff6, #fff0);
    filter: blur(5px);
    visibility: hidden;
}

.thematic-section::after {
    content: "";
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 1rem;
    z-index: 0;
    background: linear-gradient(110.74deg, #fff, #fff0);
    position: absolute;
    padding: 1px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    visibility: hidden;
}

.thematic-section-image {
    width: 240px;
    height: 124px;
    margin-top: -16px;
    z-index: 2;
}

.thematic-section-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thematic-section-title {
    font-size: 26px;
    line-height: 26px;
    height: 52px;
    margin-top: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    text-transform: uppercase;
    padding: 0 8px;
}

@media (max-width: 991px) {
    .thematic-section-image {
        width: 165px;
        height: auto;
        margin-top: 16px;
    }

    .thematic-section-title {
        font-size: 18px;
        line-height: 18px;
        height: 36px;
    }

    .thematic-section {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .thematic-sections {
        grid-gap: 10px;
        grid-template-columns: 1fr 1fr;
        padding: 30px 0;
    }

}

.winning-slots {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: rgba(13, 16, 22, 0.95);
    z-index: 1500;
    overflow: hidden;
}

.winning-slots__toggle {
    display: flex;
    color: #80858f;
    background-color: rgb(13, 16, 22);
    width: 140px;
    height: 55px;
    text-align: left;
    text-transform: none;
    margin: 0 auto;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 400;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    align-items: center;
}

.winning-slots__items {
    max-width: 100%;
    display: flex;
    flex: 1;
    padding: 0;
    margin: 0;
}

.winning-slots__item {
    width: 156px;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    position: relative;
    margin-bottom: 0;
}

.winning-slots__item:hover .winning-slots__item-overlay {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.winning-slots__item-text {
    color: #80858f;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 400;
    display: block;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.winning-slots__item-amount {
    color: #fff;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 400;
    display: flex;
    gap: 0.25rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.winning-slots__item-image {
    border-radius: 0.125rem;
    overflow: hidden;
}

.winning-slots__item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(13, 16, 22);
    opacity: 0;
}

.winning-slots__item-btn {
    background-color: #ff2400;
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    touch-action: manipulation;
    font-size: 0.875rem;
    line-height: 0.875rem;
    cursor: pointer;
    padding: 0.4375rem 1rem;
    border-radius: 0.25rem;
    gap: 0.5rem;
    transition: opacity 0.3s ease;
}

.winning-slots__item-btn:hover {
    color: inherit;
}

.winning-slots__close {
    position: fixed;
    display: flex;
    height: 55px;
    align-items: center;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    background-color: rgb(13, 16, 22);
    color: #80858f;
    z-index: 2;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.winning-slots .image-replacer {
    width: 48px;
    height: 32px;
    border-radius: 0.125rem;
    background-color: #80858f;
}

.winning-slots.closed {
    display: none;
}

.winning-slots__open {
    position: fixed;
    display: flex;
    height: 55px;
    align-items: center;
    padding: 0.5rem;
    margin: 0.5rem 0;
    background-color: rgb(13, 16, 22);
    color: #80858f;
    z-index: 2;
    right: 0;
    bottom: 0;
    cursor: pointer;
    border-radius: 0.25rem 0 0 0.25rem;
    border: #80858f solid 1px;
    border-right: none;
    transition: padding 0.2s ease-in-out;
}

.winning-slots__open svg {
    transform: scaleX(-1);
}

.winning-slots__open:hover {
    padding-right: 1rem;
}

@media (max-width: 1279px) {
    .winning-slots {
        display: block;
        max-width: 100%;
        position: static;
        background-color: rgb(13, 16, 22);
    }

    .winning-slots__toggle {
        text-transform: uppercase;
        color: #fff;
        font-size: 1rem;
        line-height: 1.375rem;
        margin-bottom: 1rem;
        height: unset;
    }

    .winning-slots__close {
        display: none;
    }

    .winning-slots__viewport {
        overflow: hidden;
        max-width: 657px;
        margin: 0 auto;
        position: relative;
    }

    .winning-slots__viewport::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -1rem;
        width: 80px;
        background: linear-gradient(270deg, #0d1016 0%, rgba(13, 16, 22, 0.1) 86.76%);
        z-index: 11;
        transform: rotate(180deg);
    }

    .winning-slots__items {
        display: grid;
        grid-template-rows: repeat(3, auto);
        grid-auto-flow: column;
    }

    .winning-slots.closed {
        display: block;
    }
}

@media (max-width: 767px) {
    .winning-slots__viewport {
        max-width: 320px;
    }
}
