
.slot-preview-wrap {
    background: #26404D;
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.slot-preview-body {
    padding: 16px 18px 20px;
    position: relative;
    z-index: 2;
    background: #26404D;
}
.slot-preview-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 42px;
    background: #26404D;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
}
.slot-preview-handle {
    width: 80px;
    height: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.4);
}
.slot-preview-close {
    position: absolute;
    right: 8px;
    top: 5px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 60;
    transition: background 0.2s;
}
.slot-preview-close:hover {
    background: rgba(0, 0, 0, 0.5);
}
.slot-preview-close::before,
.slot-preview-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}
.slot-preview-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.slot-preview-media {
    position: relative;
    overflow: hidden;
    margin-top: 42px;
    max-height: 260px;
    transition:
        max-height 0.35s ease,
        opacity 0.25s ease;
}
.slot-preview-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.slot-preview-rtp {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 5;
    display: inline-block;
    max-width: calc(100% - 20px);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    background: rgba(243, 103, 32, .92);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}
.slot-preview-rtp[hidden] {
    display: none;
}
.slot-preview-media::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow:
        inset 0 0 28px rgba(0, 0, 0, 0.45),
        inset 0 0 50px rgba(0, 0, 0, 0.25);
    z-index: 2;
}
.slot-preview-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at center,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 0.22) 100%),
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 55%,
            rgba(0, 0, 0, 0.35) 100%);
    mix-blend-mode: multiply;
    z-index: 3;
}
.slot-btn-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%); 
    border: none;
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    text-align: left;
    color: #fff;
    transition: all 0.15s ease;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}
.slot-btn-primary:hover {
    background: linear-gradient(180deg, #5ff38e 0%, #27d068 100%);
    transform: translateY(-1px);
    box-shadow:
        0 3px 5px rgba(0, 0, 0, 0.25),
        inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}
.slot-btn-primary:active {
    transform: scale(0.98);
}
.slot-btn-icon {
    min-width: 40px;
    min-height: 40px;
    background: white;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e; 
    flex-shrink: 0;
}
.slot-btn-labels {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.slot-btn-title {
    font-size: 20px;
    font-weight: 800;
}
.slot-btn-sub {
    font-size: 12px;
    opacity: 0.9;
}
.slot-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 14px;
}
.slot-preview-title-wrap {
    flex: 1;
    min-width: 0;
}
.slot-preview-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 2px;
    color: #fff;
}
.slot-preview-provider {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}
.slot-rating-btn {
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.slot-btn {
    width: 100%;
    border-radius: 10px;
    padding: 12px 14px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: transform 0.1s;
}
.slot-btn:active {
    transform: scale(0.98);
}
.slot-btn-secondary {
    background: #F36720;
    color: #f1f5f9;
    border: 1px solid orangered;
    display: flex;
    gap:10px;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
}
.slot-preview-single-link {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    color: #cbd5f5;
    opacity: 0.85;
    font-size: 14px;
    font-weight: 500;
    transition: opacity .2s ease, transform .2s ease;
}
.slot-preview-single-link:hover {
    opacity: 1;
    transform: translateY(-1px);
}
.slot-single-arrow {
    stroke: #cbd5f5;
    transition: transform .25s cubic-bezier(.25,1,.4,1);
}
.slot-preview-single-link:hover .slot-single-arrow {
    transform: translateX(3px);
}
.cz-toggle-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.slot-preview-real-wrapper {
    margin-top: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}
.slot-preview-real-list {
    padding-top: 16px;
    padding-bottom: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease-out, transform 0.22s ease-out;
}
.cz-modal-overlay.slot-casinos-open .slot-preview-real-list {
    opacity: 1;
    transform: translateY(0);
}
.cz-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cz-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.cz-modal-dialog {
    width: 100%;
    max-width: 460px;
    margin: 20px;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cz-modal-overlay.is-open .cz-modal-dialog {
    transform: scale(1);
}
@media (max-width: 576px) {
    .cz-modal-overlay {
        align-items: flex-end;
        background: rgba(0, 0, 0, 0.5);
        padding: 0;
    }
    .cz-modal-dialog {
        margin: 0;
        max-width: 100%;
        width: 100%;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
        touch-action: none;
    }
    .cz-modal-overlay.is-open .cz-modal-dialog {
        transform: translateY(0);
    }
    .cz-modal-dialog.is-dragging {
        transition: none !important;
    }
    .slot-preview-wrap {
        border-radius: 16px 16px 0 0 !important;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    .cz-modal-overlay.slot-casinos-open .slot-preview-media {
        max-height: 0;
        opacity: 0;
    }
    .cz-modal-overlay.slot-casinos-open .slot-preview-wrap {
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }
    .cz-modal-overlay.slot-casinos-open .slot-preview-body {
        flex: 1;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .cz-modal-overlay.slot-casinos-open .slot-preview-real-wrapper {
        max-height: none;
        flex: 1;
        overflow-y: auto;
        opacity: 1;
        margin-top: 10px;
    }
    .cz-modal-overlay.slot-casinos-open .slot-preview-single-link {
        display: flex;
        margin-top: 14px;
    }
    .cz-modal-overlay.slot-casinos-open .cz-toggle-icon {
        transform: rotate(180deg);
    }
    .slot-preview-real-wrapper {
        overflow-y: auto;
        touch-action: pan-y;
        overscroll-behavior-y: contain;
    }
}
.slot-preview-real-casinos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.slot-casino-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #1f2937;
    background: #0b1120;
    text-decoration: none;
    color: #e5e7eb;
    min-height: 80px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}
.cz-modal-overlay.slot-casinos-open .slot-casino-row {
    opacity: 1;
    transform: translateY(0);
}
.slot-casino-row::after {
    content: '›';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 70px;
    opacity: 0.4;
    transition: transform 0.18s ease, opacity 0.18s ease;
}
.slot-casino-row:hover {
    background: #111827;
    border-color: #f97316;
    box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.3);
    transform: translateY(-1px);
}
.slot-casino-row:hover::after {
    opacity: 0.9;
    transform: translate(4px, -50%);
}
.slot-casino-logo img {
    width: 80px;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}
.slot-casino-fallback {
    font-size: 14px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
}
.slot-casino-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.slot-casino-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.slot-casino-bonuses {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.slot-casino-bonuses .bonus {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    white-space: nowrap;
}
.bonus-main {
    color: #22c55e;
    font-weight: 700;
    border: 1px solid #22c55e;
}
.bonus-sec {
    color: white;
    border: 1px solid gainsboro;
}
.slot-btn-loader {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid rgba(248, 250, 252, 0.3);
    border-top-color: #facc15;
    margin-left: 8px;
    display: none;
    box-sizing: border-box;
    animation: slot-btn-spin 0.6s linear infinite;
}
.slot-preview-real-btn.is-loading .slot-btn-loader {
    display: inline-block;
}
.slot-preview-real-btn.is-loading .slot-btn-text {
    opacity: 0.7;
}
.slot-preview-real-btn.is-loading {
    cursor: wait;
}
@keyframes slot-btn-spin {
    to {
        transform: rotate(360deg);
    }
}
@media (min-width: 576px) {
    .cz-modal-overlay.slot-casinos-open .slot-preview-real-wrapper {
        max-height: 60vh;
        opacity: 1;
        margin-top: 20px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #1f2937 #020617;
    }
    .cz-modal-overlay.slot-casinos-open .cz-modal-dialog {
        max-height: 90vh;
    }
    .slot-preview-real-wrapper::-webkit-scrollbar {
        width: 6px;
    }
    .slot-preview-real-wrapper::-webkit-scrollbar-track {
        background: #020617;
    }
    .slot-preview-real-wrapper::-webkit-scrollbar-thumb {
        background: #1f2937;
        border-radius: 999px;
    }
    .slot-preview-real-wrapper::-webkit-scrollbar-thumb:hover {
        background: #334155;
    }
    .cz-modal-overlay.slot-casinos-open .slot-preview-media {
        max-height: 0;
        opacity: 0;
    }
    .slot-casino-row {
        padding: 16px 20px;
        min-height: 90px;
        gap: 20px;
    }
    .slot-casino-logo img {
        width: 110px;
    }
    .slot-casino-title {
        font-size: 18px;
    }
    .slot-casino-bonuses .bonus {
        font-size: 13px;
        padding: 5px 10px;
    }
}
.slot-preview-rating {
    flex-shrink: 0;
}
.slot-preview-rating .czr-stars-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.slot-preview-rating .czr-stars {
    display: flex;
    gap: 2px;
}
.slot-preview-rating .czr-star svg {
    width: 30px;
    height: 30px;
}
.slot-preview-rating .czr-stars-text {
    font-size: 11px;
    line-height: 1.3;
    color: rgba(255,255,255,0.6);
    text-align: right;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .slot-preview-rating .czr-star svg {
        width: 28px;
        height: 28px;
    }
}
.cz-casinos-wrap {
    background: #26404D;
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.cz-casinos-body {
    padding: 50px 18px 20px;
    max-height: min(92vh, calc(100vh - 56px));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #1f2937 #26404D;
}
.cz-casinos-loading {
    text-align: center;
    padding: 32px 0;
    color: rgba(255,255,255,.6);
    font-size: 14px;
}
.cz-casinos-head {
    margin: 0 0 14px;
}
.cz-casinos-joc {
    margin: 0 0 3px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    color: #5FE39A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cz-casinos-title {
    margin: 0 0 6px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}
.cz-casinos-sub {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .68);
}
.cz-casinos-sheet .cz-rec .slot-casino-row {
    border-color: rgba(34, 197, 94, .55);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, .18), 0 8px 22px rgba(0, 0, 0, .35);
}
.cz-casinos-sheet .cz-rec-flag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 6px 2px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #22c55e;
}
.cz-casinos-sheet .cz-rec-flag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
}
.cz-casinos-sheet .cz-casinos-sep {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0;
    font-size: 11.5px;
    color: rgba(255, 255, 255, .5);
    white-space: nowrap;
}
.cz-casinos-sheet .cz-casinos-sep::before,
.cz-casinos-sheet .cz-casinos-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .14);
}
.cz-casinos-sheet .slot-casino-row {
    opacity: 1;
    transform: none;
    transition: none;
}
@media (max-width: 576px) {
    .cz-casinos-sheet .cz-modal-dialog {
        margin: 0;
        max-width: 100%;
        width: 100%;
        align-self: flex-end;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.19,1,0.22,1);
        will-change: transform;
    }
    .cz-casinos-sheet.is-open .cz-modal-dialog {
        transform: translateY(0);
    }
    .cz-casinos-wrap {
        border-radius: 16px 16px 0 0;
        max-width: 100%;
        will-change: transform;
        contain: layout style;
    }
    .cz-casinos-body {
        max-height: calc(85vh - 42px);
        padding-bottom: env(safe-area-inset-bottom, 16px);
    }
    .cz-casinos-head {
        margin-bottom: 12px;
    }
    .cz-casinos-title {
        font-size: 18px;
    }
    .cz-casinos-sub {
        font-size: 12px;
    }
}