﻿:root {
    --cb-bg: #040302;
    --cb-surface: #0a0907;
    --cb-surface-2: #15110a;
    --cb-line: rgba(216, 169, 43, 0.18);
    --cb-muted: #b8ab91;
    --cb-text: #fff7df;
    --cb-gold: #d8a92b;
    --cb-gold-light: #fff1ad;
    --cb-gold-deep: #8c5b12;
    --cb-champagne: #e8dcc2;
    --cb-red: #c73535;
}

html,
body {
    background: var(--cb-bg) !important;
    color: var(--cb-text);
    font-family: "Poppins", Arial, sans-serif;
    letter-spacing: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 4%, rgba(216, 169, 43, 0.13), transparent 360px),
        linear-gradient(180deg, #070604 0%, #030201 42%, #0d0a05 100%);
}

.yb-bg-pattern {
    display: none !important;
}

.yb-top-alert {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 80;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    overflow: hidden;
    padding: 0 42px 0 0;
    background: #030303;
    border-bottom: 1px solid rgba(213, 182, 106, 0.45);
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
}

.yb-top-alert span:not(:first-child) {
    display: none !important;
}

.yb-top-alert span:first-child {
    min-width: max-content;
    display: inline-block;
    white-space: nowrap;
    animation: ybTopTicker 18s linear infinite;
    will-change: transform;
}

.yb-top-alert strong {
    color: #ffffff;
    font-weight: 700;
}

.yb-alert-close {
    position: absolute;
    top: 5px;
    right: 8px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cb-gold);
    font-size: 16px;
    line-height: 1;
    border: 0;
    background: transparent;
    cursor: pointer;
}

@keyframes ybTopTicker {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

.yb-main-nav {
    top: 28px !important;
    height: 64px !important;
    background: rgba(5, 4, 2, 0.98) !important;
    border-color: rgba(216, 169, 43, 0.22) !important;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 28px rgba(216, 169, 43, 0.08);
}

.yb-main-nav > div {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.yb-main-nav > div > div {
    position: relative;
    height: 64px !important;
}

.yb-main-nav img {
    max-height: 42px;
    width: auto !important;
    padding: 0 !important;
    object-fit: contain;
}

.karbet-logo-link {
    display: inline-flex;
    align-items: center;
    min-width: 142px;
    text-decoration: none !important;
    line-height: 1;
}

.cscasino-header-logo {
    display: block;
    width: auto !important;
    height: 46px !important;
    max-width: 174px;
    max-height: 46px !important;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(216, 169, 43, 0.22));
}

.karbet-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.karbet-logo::before {
    content: "CS";
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: linear-gradient(145deg, var(--cb-gold-light) 0%, var(--cb-gold) 54%, var(--cb-gold-deep) 100%);
    color: #0b0b0b;
    font-size: 18px;
    font-weight: 950;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    text-shadow: none;
}

.karbet-logo span,
.karbet-logo strong {
    color: #ffffff;
}

.karbet-logo strong {
    color: var(--cb-gold);
    font-weight: 900;
}

.classbet-nav-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    gap: 30px;
    white-space: nowrap;
}

.classbet-nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b9b9b9;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.classbet-nav-links a:hover,
.classbet-nav-links a.is-active {
    color: #ffffff;
}

.classbet-nav-links i {
    color: #d7d7d7;
    font-size: 15px;
}

.classbet-nav-links .classbet-sports-link > i {
    width: 10px;
    height: 10px;
    display: inline-block;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #ff3145;
    color: transparent !important;
    font-size: 0 !important;
    box-shadow: 0 0 0 0 rgba(255, 49, 69, 0.62), 0 0 10px rgba(255, 49, 69, 0.8);
    animation: ybLiveDotPulse 1.05s ease-in-out infinite;
}

.classbet-nav-links .classbet-sports-link > i::before {
    content: "" !important;
    display: none !important;
}

@keyframes ybLiveDotPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 49, 69, 0.62), 0 0 10px rgba(255, 49, 69, 0.8);
    }

    50% {
        opacity: 0.42;
        transform: scale(0.82);
        box-shadow: 0 0 0 7px rgba(255, 49, 69, 0), 0 0 4px rgba(255, 49, 69, 0.55);
    }
}

.classbet-nav-links em {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 5px;
    background: var(--cb-red);
    color: #ffffff;
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
}

.yb-header-social,
.yb-app-sidebar,
.yb-legacy-sidebar,
#mobileSidebar,
#mobileSidebarOverlay {
    display: none !important;
}

.classbet-shell {
    width: 100%;
    min-width: 0;
    margin-left: 0 !important;
}

.yb-content-main {
    min-height: 100vh;
    padding-top: 126px !important;
    background: transparent !important;
}

.classbet-auth-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.yb-main-nav .classbet-auth-btn {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.yb-main-nav .classbet-auth-btn::before {
    content: none !important;
    display: none !important;
}

.yb-main-nav .classbet-auth-btn i {
    font-size: 13px;
    line-height: 1;
}

.yb-main-nav .classbet-auth-login {
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    background: #0d0d0d !important;
    color: #cfcfcf !important;
}

.yb-main-nav .classbet-auth-login:hover {
    border-color: rgba(255, 255, 255, 0.42) !important;
    color: #ffffff !important;
}

.yb-main-nav .classbet-auth-register {
    border: 1px solid rgba(255, 255, 255, 0.86) !important;
    background: #eeeeee !important;
    color: #080808 !important;
    box-shadow: 0 8px 22px rgba(255, 255, 255, 0.08);
}

.yb-main-nav .classbet-auth-register:hover {
    background: #ffffff !important;
    color: #000000 !important;
}

.classbet-modal-open {
    overflow: hidden;
}

.classbet-login-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.classbet-login-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.classbet-login-backdrop {
    position: absolute;
    inset: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(0, 0, 0, 0.78) !important;
    backdrop-filter: blur(10px);
    box-shadow: none !important;
    color: transparent !important;
    cursor: default;
    filter: none !important;
    transform: none !important;
}

.classbet-login-dialog {
    position: relative;
    width: min(500px, calc(100vw - 32px));
    overflow: hidden;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #111111;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.classbet-login-modal.is-open .classbet-login-dialog {
    transform: translateY(0) scale(1);
}

.classbet-login-head {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: #151515;
}

.classbet-login-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.classbet-login-icon,
.classbet-login-close {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #202020 !important;
    color: #9ca6b8 !important;
    box-shadow: none !important;
}

.classbet-login-close {
    cursor: pointer;
    color: #747474 !important;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.classbet-login-close:hover {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.26) !important;
    filter: none !important;
    transform: none !important;
}

.classbet-login-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.classbet-login-head p {
    margin: 6px 0 0;
    color: #d6d6d6;
    font-size: 12px;
}

.classbet-login-form {
    padding: 64px 26px 28px;
}

.classbet-login-errors {
    margin: -34px 0 20px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(220, 38, 38, 0.35);
    background: rgba(127, 29, 29, 0.22);
    color: #fecaca;
    font-size: 12px;
}

.classbet-login-form label {
    display: block;
    margin: 0 0 9px;
    color: #aab1bf;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.classbet-login-form label span {
    color: #e44848;
}

.classbet-login-field {
    position: relative;
    margin-bottom: 20px;
}

.classbet-login-field > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #626262;
    font-size: 14px;
}

.classbet-login-field input {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: #151515;
    color: #ffffff;
    padding: 0 44px 0 40px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.classbet-login-field input::placeholder {
    color: #595959;
}

.classbet-login-field input:focus {
    border-color: rgba(255, 255, 255, 0.32);
    background: #191919;
}

.classbet-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #5e6672 !important;
    cursor: pointer;
    filter: none !important;
}

.classbet-password-toggle:hover {
    transform: translateY(-50%) !important;
    filter: none !important;
}

.classbet-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 4px 0 18px;
}

.classbet-login-options label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #8c96a5;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
}

.classbet-login-options input {
    width: 15px;
    height: 15px;
    accent-color: #ffffff;
}

.classbet-login-options a,
.classbet-login-register a {
    color: #c9d3e5;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.classbet-login-submit {
    width: 100%;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0 !important;
    border-radius: 9px;
    background: linear-gradient(180deg, #f4f4f4, #d1d1d1) !important;
    color: #0a0a0a !important;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(255, 255, 255, 0.08) !important;
    cursor: pointer;
    filter: none !important;
    transform: none !important;
}

.classbet-login-submit:hover {
    background: linear-gradient(180deg, #ffffff, #d9d9d9) !important;
    color: #0a0a0a !important;
    filter: none !important;
    transform: none !important;
}

.classbet-login-submit i {
    display: none;
    color: #111111;
    font-size: 13px;
    animation: classbetSpin 1.1s linear infinite;
}

.classbet-login-submit:disabled i,
.classbet-login-submit.is-loading i {
    display: inline-block;
}

.classbet-login-register {
    margin: 20px 0 0;
    color: #6f7888;
    text-align: center;
    font-size: 13px;
}

.classbet-register-modal .classbet-login-dialog {
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 36px);
    overflow-y: auto;
}

.classbet-register-modal .classbet-login-form {
    padding-top: 26px;
}

.classbet-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.classbet-register-wide {
    grid-column: 1 / -1;
}

.classbet-register-modal .classbet-register-grid > div > div {
    margin: 0;
}

.classbet-register-modal .classbet-register-grid label {
    margin: 0 0 8px !important;
    color: #aab1bf !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
}

.classbet-register-modal .classbet-register-grid input,
.classbet-register-modal .classbet-register-grid select {
    width: 100% !important;
    height: 42px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.11) !important;
    background: #151515 !important;
    color: #ffffff !important;
    padding: 0 14px !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 13px !important;
}

.classbet-register-modal .classbet-register-grid input::placeholder {
    color: #595959 !important;
}

.classbet-register-modal .classbet-register-grid input:focus,
.classbet-register-modal .classbet-register-grid select:focus {
    border-color: rgba(255, 255, 255, 0.32) !important;
    background: #191919 !important;
}

.classbet-register-passwords {
    margin-top: 18px;
}

.classbet-register-passwords .classbet-login-field {
    margin-bottom: 0;
}

.classbet-register-terms {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 18px 0 18px !important;
    color: #8c96a5 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    cursor: pointer;
    position: relative;
    z-index: 4;
    user-select: none;
}

.classbet-login-options input[type="checkbox"],
.classbet-register-terms input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    accent-color: #00d6ff;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer;
    margin: 0;
    padding: 0 !important;
    border-radius: 2px !important;
}

.classbet-register-terms span {
    color: #8c96a5 !important;
}

@keyframes classbetSpin {
    to {
        transform: rotate(360deg);
    }
}

.yb-content-main > .min-h-screen {
    background: transparent !important;
}

.yb-content-main section {
    position: relative;
}

.yb-content-main .max-w-7xl,
.yb-content-main .max-w-\[1400px\] {
    max-width: 1360px !important;
}

.home-slider {
    height: clamp(300px, 31vw, 455px) !important;
    overflow: hidden;
    border-radius: 22px;
    background: #070707;
    box-shadow: 0 40px 85px rgba(0, 0, 0, 0.58);
}

.home-slider .swiper-wrapper,
.home-slider .swiper-slide,
.home-slider .swiper-slide > a,
.home-slider .swiper-slide > div,
.home-slider .swiper-slide > a > div {
    height: 100% !important;
}

.home-slider img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.78;
    filter: saturate(0.82) contrast(1.04);
}

.home-slider .swiper-pagination {
    bottom: 18px !important;
}

.home-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
    background: rgba(255, 255, 255, 0.42) !important;
    opacity: 1 !important;
}

.home-slider .swiper-pagination-bullet-active {
    width: 34px;
    border-radius: 999px;
    background: #ffffff !important;
}

.home-slider .swiper-button-prev,
.home-slider .swiper-button-next {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 8, 8, 0.55);
    color: #ffffff !important;
    backdrop-filter: blur(8px);
}

.home-slider .swiper-button-prev {
    left: 22px !important;
}

.home-slider .swiper-button-next {
    right: 22px !important;
}

.home-slider .swiper-button-prev::after,
.home-slider .swiper-button-next::after {
    font-size: 15px !important;
    font-weight: 800;
}

.yb-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.yb-wide-promo {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #0a0a0a;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(213, 182, 106, 0.08);
}

.yb-wide-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22) 62%, rgba(0, 0, 0, 0.06)),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.52) 100%);
}

.yb-wide-promo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.9;
    transform: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.yb-wide-promo:hover img {
    opacity: 0.96;
    transform: scale(1.02);
}

.yb-wide-promo > div {
    position: relative;
    z-index: 2;
    max-width: 78%;
    padding: 20px 22px;
}

.yb-wide-promo span {
    display: block;
    margin-bottom: 8px;
    color: #d9c78c;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.yb-wide-promo strong {
    display: block;
    color: #ffffff;
    font-size: clamp(22px, 2.1vw, 34px);
    font-weight: 900;
    line-height: 0.96;
    text-transform: uppercase;
}

.yb-wide-promo p {
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.3;
}

.yb-jackpot-strip {
    display: none !important;
}

.yb-content-main section:has(.recent-winners-scroll) {
    margin-top: 22px;
    padding: 24px 0 40px !important;
    overflow: hidden;
    border-top: 1px solid rgba(45, 73, 118, 0.34);
    border-bottom: 1px solid rgba(14, 58, 45, 0.4);
    background: #080b0f !important;
}

.yb-content-main section:has(.recent-winners-scroll) .max-w-7xl {
    max-width: 100% !important;
}

.yb-content-main section:has(.recent-winners-scroll) .mb-4 {
    display: flex;
    justify-content: center;
    margin-bottom: 18px !important;
}

.yb-content-main section:has(.recent-winners-scroll) .mb-4 > .relative {
    width: auto;
    overflow: visible !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.yb-content-main section:has(.recent-winners-scroll) .mb-4 .absolute {
    display: none !important;
}

.yb-content-main section:has(.recent-winners-scroll) .mb-4 .relative.flex {
    gap: 12px;
    align-items: center;
}

.yb-content-main section:has(.recent-winners-scroll) h2 {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.yb-content-main section:has(.recent-winners-scroll) p {
    display: none !important;
}

.yb-content-main section:has(.recent-winners-scroll) .rounded-lg {
    border-radius: 999px !important;
}

.yb-content-main section:has(.recent-winners-scroll) .mb-4 .relative.p-1\.5,
.yb-content-main section:has(.recent-winners-scroll) .mb-4 .relative.sm\:p-2 {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-size: 0 !important;
}

.yb-content-main section:has(.recent-winners-scroll) .mb-4 .relative.p-1\.5 > svg,
.yb-content-main section:has(.recent-winners-scroll) .mb-4 .relative.p-1\.5 > i,
.yb-content-main section:has(.recent-winners-scroll) .mb-4 .relative.sm\:p-2 > svg,
.yb-content-main section:has(.recent-winners-scroll) .mb-4 .relative.sm\:p-2 > i {
    display: none !important;
}

.yb-content-main section:has(.recent-winners-scroll) .mb-4 .relative.p-1\.5::before,
.yb-content-main section:has(.recent-winners-scroll) .mb-4 .relative.sm\:p-2::before {
    content: "\f091";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
}

.recent-winners-scroll {
    width: max-content;
    gap: 34px !important;
    align-items: flex-start;
    padding: 8px 0 12px;
}

.recent-winners-scroll .winner-card {
    width: 88px !important;
    max-width: 88px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.recent-winners-scroll .winner-card > .flex {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: center !important;
}

.recent-winners-scroll .winner-card a > div {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    overflow: hidden;
    border: 5px solid #253149 !important;
    background: #121820 !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 12px 22px rgba(0, 0, 0, 0.35);
}

.recent-winners-scroll .winner-card img {
    object-fit: cover !important;
}

.recent-winners-scroll .winner-card .min-w-0 {
    align-items: center;
    text-align: center;
}

.recent-winners-scroll .winner-card .min-w-0 span:first-child,
.recent-winners-scroll .winner-card .min-w-0 span:last-child {
    display: none !important;
}

.recent-winners-scroll .winner-card .min-w-0 span:nth-child(2) {
    display: block;
    max-width: 88px;
    overflow: hidden;
    color: #8091aa !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-overflow: ellipsis;
}

.yb-content-main section:has(.oyun-card) {
    padding: 44px 16px 12px !important;
    background: #050505 !important;
}

.yb-content-main section:has(.oyun-card) .max-w-7xl {
    max-width: 1360px !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 {
    margin-bottom: 28px !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 > .relative {
    overflow: visible !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 > .relative > .absolute {
    display: none !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 .relative.flex {
    align-items: center;
    gap: 14px;
}

.yb-content-main section:has(.oyun-card) .mb-3 .relative.p-1\.5,
.yb-content-main section:has(.oyun-card) .mb-3 .relative.sm\:p-2 {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-size: 0 !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 .relative.p-1\.5 > svg,
.yb-content-main section:has(.oyun-card) .mb-3 .relative.p-1\.5 > i,
.yb-content-main section:has(.oyun-card) .mb-3 .relative.sm\:p-2 > svg,
.yb-content-main section:has(.oyun-card) .mb-3 .relative.sm\:p-2 > i {
    display: none !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 .relative.p-1\.5::before,
.yb-content-main section:has(.oyun-card) .mb-3 .relative.sm\:p-2::before {
    content: "\f11b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
}

.yb-content-main section:has(.oyun-card) .mb-3 .relative.p-1\.5::after,
.yb-content-main section:has(.oyun-card) .mb-3 .relative.sm\:p-2::after {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(255, 71, 87, 0.7);
    border-radius: 4px;
    pointer-events: none;
}

.yb-content-main section:has(.oyun-card) h2 {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff;
    font-size: clamp(19px, 1.8vw, 26px) !important;
    font-weight: 900 !important;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.yb-content-main section:has(.oyun-card) p {
    color: #b7b7b7 !important;
    font-size: 13px !important;
}

.horizontal-scroll {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 26px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
    scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.oyun-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #0d0d0d !important;
    box-shadow: none !important;
    transform: none !important;
}

.oyun-card:hover {
    border-color: rgba(255, 255, 255, 0.32) !important;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42) !important;
}

.oyun-card > a > div {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 14px !important;
    background:
        radial-gradient(circle at center, rgba(216, 169, 43, 0.10), transparent 60%),
        #071923 !important;
}

.oyun-card img {
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    object-fit: contain !important;
    object-position: center center !important;
    background:
        radial-gradient(circle at center, rgba(216, 169, 43, 0.10), transparent 60%),
        #071923 !important;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.oyun-card:hover img {
    transform: scale(1.035);
    filter: brightness(0.92);
}

.oyun-card .image-skeleton {
    background: #111111 !important;
}

.yb-home-play-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin: 10px;
    border-radius: 8px;
    background: linear-gradient(180deg, #18c8ff 0%, #078bd0 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(0, 168, 255, 0.28);
    transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.yb-home-play-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 168, 255, 0.36);
}

.yb-footer-title-icon {
    width: 18px;
    height: 18px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #f2c300 !important;
    font-size: 13px;
    line-height: 1;
    text-align: center;
    text-shadow: 0 0 8px rgba(242, 195, 0, 0.28);
}

.game-card {
    background: #0b1b25 !important;
    border: 1px solid rgba(216, 169, 43, 0.18) !important;
}

.game-card > .relative {
    background:
        radial-gradient(circle at center, rgba(216, 169, 43, 0.12), transparent 58%),
        linear-gradient(180deg, #071923, #0a1118) !important;
}

.game-card > .relative > img {
    object-fit: contain !important;
    object-position: center center !important;
    background:
        radial-gradient(circle at center, rgba(216, 169, 43, 0.10), transparent 60%),
        #071923 !important;
    padding: 0 !important;
}

.game-card .image-skeleton {
    background:
        radial-gradient(circle at center, rgba(216, 169, 43, 0.12), transparent 58%),
        linear-gradient(180deg, #071923, #0a1118) !important;
}

.match-card,
.betting-card {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: #101010 !important;
}

.casino-gradient,
.sports-gradient {
    background: linear-gradient(135deg, var(--cb-gold-light) 0%, var(--cb-gold) 48%, var(--cb-gold-deep) 100%) !important;
    color: #070707 !important;
}

.md\:ml-64 {
    margin-left: 0 !important;
}

@media (min-width: 768px) {
    .classbet-nav-links {
        display: flex !important;
    }
}

@media (max-width: 1180px) {
    .classbet-nav-links {
        gap: 16px;
    }

    .classbet-nav-links a {
        font-size: 13px;
    }

    .yb-promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .horizontal-scroll {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px !important;
    }
}

@media (max-width: 767px) {
    .yb-top-alert {
        height: 26px;
        padding: 0 10px;
        justify-content: center;
        font-size: 10px;
        text-align: center;
    }

    .yb-main-nav {
        top: 26px !important;
        height: 58px !important;
    }

    .yb-main-nav > div {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .yb-main-nav > div > div {
        height: 58px !important;
    }

    .yb-main-nav img {
        max-height: 40px;
        max-width: 150px;
    }

    .karbet-logo-link {
        min-width: 120px;
    }

    .cscasino-header-logo {
        height: 40px !important;
        max-width: 150px;
        max-height: 40px !important;
    }

    .karbet-logo {
        gap: 7px;
        font-size: 20px;
    }

    .karbet-logo::before {
        width: 27px;
        height: 27px;
        font-size: 16px;
    }

    .classbet-auth-actions {
        gap: 7px;
    }

    .yb-main-nav .classbet-auth-btn {
        min-height: 34px;
        padding: 0 10px !important;
        font-size: 12px !important;
        gap: 6px;
    }

    .yb-main-nav .classbet-auth-btn i {
        font-size: 12px;
    }

    .yb-content-main {
        padding-top: 102px !important;
        padding-bottom: 68px;
    }

    .home-slider {
        height: auto !important;
        aspect-ratio: 16 / 9;
        border-radius: 16px;
        background: #050505;
    }

    .home-slider img {
        object-fit: contain !important;
        object-position: center center !important;
        opacity: 1 !important;
        filter: none !important;
        background: #050505;
    }

    .home-slider .swiper-button-prev,
    .home-slider .swiper-button-next {
        width: 34px;
        height: 34px;
        margin-top: -17px;
    }

    .home-slider .swiper-button-prev {
        left: 12px !important;
    }

    .home-slider .swiper-button-next {
        right: 12px !important;
    }

    .yb-promo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .yb-wide-promo {
        min-height: 136px;
    }

    .yb-wide-promo > div {
        max-width: 90%;
        padding: 16px;
    }

    .yb-bottom-banner {
        border-radius: 12px !important;
        background: #050505;
    }

    .yb-bottom-banner-img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
        background: #050505;
    }

    .yb-bottom-below-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .yb-bottom-below-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
    }

    .yb-bottom-below-row > a,
    .yb-bottom-below-row > img {
        width: 100% !important;
    }

    .recent-winners-scroll {
        gap: 24px !important;
    }

    .horizontal-scroll {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px !important;
    }

    .yb-content-main section:has(.oyun-card) {
        padding: 30px 12px 8px !important;
    }

    .classbet-login-modal {
        padding: 14px;
    }

    .classbet-login-head {
        padding: 18px;
    }

    .classbet-login-form {
        padding: 34px 18px 22px;
    }

    .classbet-login-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .classbet-register-grid {
        grid-template-columns: 1fr;
    }

    .classbet-register-modal .classbet-login-dialog {
        max-height: calc(100vh - 24px);
    }

    #chat-widget-container,
    #chat-widget-minimized,
    iframe[id^="chat-widget"],
    iframe[src*="livechatinc.com"],
    iframe[src*="livechat.com"] {
        bottom: 22px !important;
    }
}

/* Competitor-style home poster grid */
.yb-content-main section:has(.oyun-card) {
    background: #050505 !important;
    padding-top: 44px !important;
    padding-bottom: 28px !important;
}

.yb-content-main section:has(.oyun-card) .max-w-7xl {
    max-width: 920px !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 {
    margin-bottom: 18px !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 > .relative {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 > .relative > .absolute {
    display: none !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 .relative.flex {
    gap: 8px !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 .relative.p-1\.5,
.yb-content-main section:has(.oyun-card) .mb-3 .relative.sm\:p-2 {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #161616 !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.08);
}

.yb-content-main section:has(.oyun-card) .mb-3 .relative.p-1\.5::before,
.yb-content-main section:has(.oyun-card) .mb-3 .relative.sm\:p-2::before {
    content: "\f11b" !important;
    font-size: 10px !important;
    color: #ffffff !important;
}

.yb-content-main section:has(.oyun-card) .mb-3 .relative.p-1\.5::after,
.yb-content-main section:has(.oyun-card) .mb-3 .relative.sm\:p-2::after {
    inset: 5px !important;
    border-color: rgba(255, 71, 87, 0.78) !important;
}

.yb-content-main section:has(.oyun-card) h2 {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-shadow: 2px 2px 0 rgba(0, 215, 255, 0.45);
}

.yb-content-main section:has(.oyun-card) .horizontal-scroll {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    overflow: visible !important;
    padding: 0 !important;
}

.yb-content-main section:has(.oyun-card) .oyun-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.yb-content-main section:has(.oyun-card) .oyun-card:hover {
    box-shadow: none !important;
    border-color: transparent !important;
}

.yb-content-main section:has(.oyun-card) .oyun-card > a:first-child {
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
}

.yb-content-main section:has(.oyun-card) .oyun-card > a:first-child > div {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #101010 !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42) !important;
}

.yb-content-main section:has(.oyun-card) .oyun-card > a:first-child > div::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    z-index: 2;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.82) 100%);
    pointer-events: none;
}

.yb-content-main section:has(.oyun-card) .oyun-card img {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    opacity: 1 !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #101010 !important;
    transition: transform 0.22s ease, filter 0.22s ease;
}

.yb-content-main section:has(.oyun-card) .oyun-card:hover img {
    transform: scale(1.035) !important;
    filter: brightness(0.9) !important;
}

.yb-content-main section:has(.oyun-card) .oyun-card .image-skeleton {
    background: #101010 !important;
}

.yb-home-game-name {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    display: block;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.yb-content-main section:has(.oyun-card) .yb-home-play-btn {
    display: none !important;
}

.yb-home-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.yb-home-all-btn {
    min-width: 128px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: #111111;
    color: #ffffff !important;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.38);
}

.yb-home-all-btn:hover {
    border-color: rgba(255, 255, 255, 0.58);
    background: #191919;
}

@media (max-width: 1180px) {
    .yb-content-main section:has(.oyun-card) .max-w-7xl {
        max-width: 760px !important;
    }

    .yb-content-main section:has(.oyun-card) .horizontal-scroll {
        grid-template-columns: repeat(4, 1fr) !important;
        max-width: 760px !important;
        gap: 14px !important;
    }
}

@media (max-width: 767px) {
    .yb-content-main section:has(.oyun-card) {
        padding-top: 30px !important;
    }

    .yb-content-main section:has(.oyun-card) .max-w-7xl {
        max-width: 360px !important;
    }

    .yb-content-main section:has(.oyun-card) .horizontal-scroll {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 360px !important;
        gap: 14px !important;
    }

    .yb-content-main section:has(.oyun-card) h2 {
        font-size: 14px !important;
    }
}

/* Casino listing image fit and floating support position */
.game-card {
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.game-card > .relative {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    background: #081923 !important;
}

.game-card > .relative > .image-skeleton,
.game-card > .relative > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
}

.game-card > .relative > img {
    object-fit: cover !important;
    object-position: center center !important;
    background: #081923 !important;
}

.game-card > .relative > .absolute.top-0.left-0.right-0 {
    height: 100% !important;
}

.game-card > .p-3 {
    flex: 1 1 auto !important;
}

#chat-widget-container,
#chat-widget-minimized,
iframe[id^="chat-widget"],
iframe[src*="livechatinc.com"],
iframe[src*="livechat.com"] {
    bottom: 32px !important;
}

@media (max-width: 767px) {
    #chat-widget-container,
    #chat-widget-minimized,
    iframe[id^="chat-widget"],
    iframe[src*="livechatinc.com"],
    iframe[src*="livechat.com"] {
        bottom: 32px !important;
    }
}

/* CSCASINO logo palette frame and banner polish */
:root {
    --cs-logo-gold: #d8a92b;
    --cs-logo-gold-soft: #f6d774;
    --cs-logo-champagne: #fff1ad;
    --cs-logo-bronze: #8c5b12;
    --cs-logo-line: rgba(216, 169, 43, 0.42);
    --cs-logo-line-soft: rgba(216, 169, 43, 0.22);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    border-left: 1px solid var(--cs-logo-line-soft);
    border-right: 1px solid var(--cs-logo-line-soft);
    box-shadow:
        inset 0 1px 0 rgba(255, 241, 173, 0.26),
        inset 0 -1px 0 rgba(140, 91, 18, 0.34),
        inset 0 0 42px rgba(216, 169, 43, 0.035);
}

.yb-main-nav {
    border-bottom: 1px solid var(--cs-logo-line) !important;
    box-shadow:
        0 20px 52px rgba(0, 0, 0, 0.54),
        0 1px 0 rgba(255, 241, 173, 0.18),
        0 0 28px rgba(216, 169, 43, 0.12) !important;
}

.yb-top-alert {
    border-bottom-color: rgba(255, 241, 173, 0.36) !important;
}

.karbet-logo-link {
    position: relative;
}

.karbet-logo-link::before {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: 50%;
    height: 38px;
    transform: translateY(-50%);
    z-index: -1;
    border-radius: 999px;
    background: radial-gradient(ellipse at 28% 50%, rgba(216, 169, 43, 0.20), transparent 68%);
    opacity: 0.9;
}

.cscasino-header-logo {
    filter:
        drop-shadow(0 0 7px rgba(255, 241, 173, 0.28))
        drop-shadow(0 0 18px rgba(216, 169, 43, 0.24)) !important;
}

.home-slider,
.yb-wide-promo,
.yb-bottom-banner,
.yb-jackpot-panel,
.game-card,
.oyun-card,
.provider-card,
.deposit-card,
.bonus-card {
    border-color: var(--cs-logo-line) !important;
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.44),
        inset 0 0 0 1px rgba(255, 241, 173, 0.08),
        0 0 26px rgba(216, 169, 43, 0.08) !important;
}

.home-slider {
    position: relative;
    border: 1px solid var(--cs-logo-line) !important;
    background:
        linear-gradient(135deg, rgba(216, 169, 43, 0.16), rgba(3, 2, 1, 0.94) 36%, rgba(140, 91, 18, 0.16)),
        #050403 !important;
}

.home-slider::before,
.yb-wide-promo::after,
.yb-bottom-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    border-radius: inherit;
    box-shadow:
        inset 0 0 0 1px rgba(255, 241, 173, 0.12),
        inset 0 0 28px rgba(216, 169, 43, 0.10);
}

.home-slider .swiper-pagination-bullet {
    background: rgba(255, 241, 173, 0.48) !important;
}

.home-slider .swiper-pagination-bullet-active {
    background: linear-gradient(90deg, var(--cs-logo-bronze), var(--cs-logo-gold-soft), var(--cs-logo-champagne)) !important;
}

.home-slider .swiper-button-prev,
.home-slider .swiper-button-next {
    border-color: rgba(255, 241, 173, 0.30) !important;
    background: rgba(7, 5, 2, 0.68) !important;
    box-shadow: 0 0 18px rgba(216, 169, 43, 0.16) !important;
}

.yb-wide-promo {
    border: 1px solid var(--cs-logo-line) !important;
    background: linear-gradient(145deg, #050403, #100c05) !important;
}

.yb-wide-promo span,
.yb-wide-promo i,
.yb-jackpot-panel i {
    color: var(--cs-logo-gold-soft) !important;
}

.yb-bottom-banner {
    border: 1px solid rgba(255, 241, 173, 0.34) !important;
    background: #050403 !important;
}

.yb-bottom-banner-img,
.yb-bottom-below-grid img,
.yb-bottom-below-row img {
    border-color: var(--cs-logo-line) !important;
    background: #050403 !important;
    box-shadow:
        inset 0 0 0 1px rgba(255, 241, 173, 0.08),
        0 14px 28px rgba(0, 0, 0, 0.34),
        0 0 18px rgba(216, 169, 43, 0.08) !important;
}

.yb-content-main {
    border-left: 1px solid rgba(216, 169, 43, 0.10);
    border-right: 1px solid rgba(216, 169, 43, 0.10);
}
