.sidebar__content {
    @include media('>=phone', '<tablet') {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

.side-block {
    position: relative;
    box-shadow: 0 4px 28px rgba(0, 151, 236, 0.5);
    border-radius: 4px;
    border: 1px solid #0097ec;
    background-image: linear-gradient(180deg, #111316 0%, #001c45 100%);
    margin-bottom: 50px;
    padding: 20px 14px 44px;
    width: 100%;
    max-width: 327px;

    @include media('<phone') {
        margin-left: auto;
        margin-right: auto;

        &:not(:last-child) {
            margin-bottom: 65px;
        }
    }

    @include media('>=phone', '<tablet') {
        flex: 0 0 48%;
    }
}

.side-block--banner {
    padding: 0;

    img {
        border-radius: 5px;

        @include media('<tablet') {
            max-height: 340px;
            object-fit: cover;
            width: 100%;
            object-position: 50% 0;
        }

        @include media('<phone') {
            max-height: 307px;
        }
    }

    .side-block__heading {
        position: absolute;
        left: 5px;
        right: 5px;
        top: 16px;

        @include media('>=desktop') {
            top: 20px;
        }
    }
}

.side-block__heading {
    text-align: center;
    position: relative;
    margin-bottom: 18px;

    &:before {
        @include xycenter;
        content: '';
        width: 194px;
        height: 24px;
        border-radius: 18px;
        background-color: rgba(0, 0, 0, .42);
        box-shadow: 0 0 20px 15px rgba(0, 0, 0, .48);
    }
}

.side-block__ttl {
    @include adaptive-font(19, 16);
    text-shadow: 0 0 11px rgba(149, 229, 255, 0.43), 0 0 3px rgba(161, 233, 255, 0.58);
    color: #ffffff;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    position: relative;
    margin-bottom: 0;

    &:after,
    &:before {
        @include ycenter;
        content: '';
        background: url(../images/star.png) no-repeat;
        background-size: cover;
        width: 23px;
        height: 23px;
        margin-top: -2px;
    }

    &:after {
        left: 99%;
    }

    &:before {
        right: 99%;
    }
}

.side-block__cta {
    position: absolute;
    left: -1px;
    right: -1px;
    top: 100%;
    transform: translateY(-50%);
}

.win-list {
    @extend %listreset;
    counter-reset: counter;
    margin-bottom: -14px;

    li {
        counter-increment: counter;
        padding-left: 22px;
        position: relative;
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;

        &:before {
            @include ycenter;
            left: 0;
            margin-top: -3px;
            content: counter(counter);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 17px;
            height: 17px;
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 2px 2px rgba(0, 0, 0, 0.35);
            background-color: #4a4a4a;
            border-radius: 3px;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.55);
            color: #fff;
            font-size: 12px;
            font-weight: 900;
            line-height: 1.2;
        }

        &:first-child {
            &:before {
                border: 1px solid rgba(255, 255, 255, 0.5);
                background-color: #ffbf44;
            }
        }

        &:nth-child(2) {
            &:before {
                border: 1px solid rgba(255, 255, 255, 0.5);
                background-color: #a9c6e1;
            }
        }

        &:nth-child(3) {
            &:before {
                background-color: #da884d;
            }
        }
    }
}

.win-list__name {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
}

.win-list__prize {
    font-size: 16px;
    font-weight: 900;
    color: #ffd84e;
}
