.casta-sticky-sidebar-wrap {
    position: relative;
    margin-top: 24px;
    z-index: 0 !important;
}

.casta-sticky-sidebar {
    background: #0b0b12;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 0 !important;
}

.casta-rating {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 18px;
}

.casta-bonus {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 22px;
    color: #ffffff;
}

.casta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(90deg, #ffae00, #ff4b3e);
    color: #fff;
    padding: 16px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.casta-btn:hover {
    color: #fff;
    opacity: 0.95;
}

.casta-sticky-sidebar-wrap.is-fixed .casta-sticky-sidebar {
    position: fixed;
    top: 100px;
    width: 100%;
    max-width: inherit;
    z-index: 0 !important;
}

body.admin-bar .casta-sticky-sidebar-wrap.is-fixed .casta-sticky-sidebar {
    top: 130px;
}

.casta-sticky-sidebar-wrap.is-bottom .casta-sticky-sidebar {
    position: absolute;
    top: auto;
    bottom: 0;
    width: 100%;
    z-index: 0 !important;
}

@media (max-width: 768px) {

    .casta-sticky-sidebar-wrap {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        z-index: 1 !important;
        margin-top: 0;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
        pointer-events: none;
    }

    .casta-sticky-sidebar-wrap.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .casta-sticky-sidebar {
        border-radius: 0;
        padding: 8px 10px;
        margin: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .casta-rating,
    .casta-bonus {
        display: none !important;
    }

    .casta-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 16px;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: .3px;
        color: #fff;
        text-decoration: none;
        border-radius: 10px;
        background: linear-gradient(90deg, #ffb300, #ff3d3d);
        box-shadow: 0 6px 18px rgba(255, 80, 0, 0.35);
        position: relative;
        overflow: hidden;
        transition: all .25s ease;
    }

    .casta-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(120deg, rgba(255,255,255,0.25), rgba(255,255,255,0));
        transform: skewX(-25deg);
    }

    .casta-btn:active::before {
        animation: shine-mobile .6s ease;
    }

    @keyframes shine-mobile {
        100% {
            left: 120%;
        }
    }

    .casta-btn:active {
        transform: scale(0.96);
    }
}