﻿
.casino-legacy {
    --bg: #070b14;
    --panel: #0d1320;
    --panel2: #111827;
    --red: #ef2d24;
    --red2: #ff5548;
    --text: #f7f8fb;
    --muted: #9ca7ba;
    --gold: #f6c65a;
    --border: rgba(255,255,255,.08);
    --max: 1380px;
    margin: 0;
    background: var(--bg) !important;
    color: var(--text);
}

.casino-legacy button,
.casino-legacy input,
.casino-legacy span {
    font-family: 'Quicksand', sans-serif;
   
}

.casino-legacy input#tbSlotSearch,
.casino-legacy #categories span {
        letter-spacing: 1.5px;
    }

.casino-legacy button,
.casino-legacy span {
    cursor: pointer
}

.container {
    width: min(var(--max),calc(100% - 32px));
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5,8,15,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border)
}

.topbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 34px
}

.logo {
    font-size: 27px;
    font-weight: 900;
    font-style: italic;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1.5px
}

    .logo span {
        color: var(--red);
        margin-right: 4px
    }

.main-nav {
    display: flex;
    align-items: stretch;
    gap: 4px;
    flex: 1;
    height: 72px
}

    .main-nav a {
        padding: 27px 16px 22px;
        color: #b9c1d0;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
        border-bottom: 3px solid transparent
    }

        .main-nav a.active {
            color: #fff;
            border-color: var(--red)
        }

.actions {
    display: flex;
    gap: 8px
}

.login, .signup {
    height: 40px;
    padding: 0 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 12px
}

.login {
    background: transparent;
    color: #fff;
    border: 1px solid #556071
}

.signup, .primary {
    background: var(--red);
    border: 1px solid var(--red);
    color: #fff
}

.mobile-only {
    display: none
}

.hero {
    height: 390px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(circle at 70% 45%,#681c2a 0,#151026 35%,#060912 75%)
}

    .hero:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,rgba(4,7,13,.98) 0%,rgba(4,7,13,.78) 38%,rgba(4,7,13,.15) 70%,rgba(4,7,13,.7) 100%)
    }



.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 70%,transparent 0 14%,rgba(239,45,36,.18) 15%,transparent 37%),linear-gradient(125deg,transparent 35%,rgba(146,27,88,.18),transparent 60%);
    transform: scale(1)
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center
}

.hero-copy {
    max-width: 500px
}

.eyebrow {
    display: inline-flex;
    background: var(--red);
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 15px
}

.hero h1 {
    font-size: 54px;
    line-height: .95;
    margin: 0 0 16px;
    letter-spacing: -2px
}

    .hero h1 strong {
        color: var(--red)
    }

.hero p {
    color: #d0d5df;
    font-size: 17px;
    line-height: 1.5;
    max-width: 420px
}

.primary {
    padding: 14px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 28px rgba(239,45,36,.25)
}

    .primary span {
        margin-left: 18px
    }

.hero-wheel {
    margin-left: auto;
    margin-right: 9%;
    font-size: 260px;
    opacity: .12;
    transform: rotate(20deg);
    color: #ff4545
}

.hero-dots {
    position: absolute;
    z-index: 3;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px
}

    .hero-dots i {
        width: 25px;
        height: 3px;
        background: #647080;
        border-radius: 4px
    }

    .hero-dots .on {
        background: #fff
    }

.hero-slider {
    position: relative;
    height: 390px;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    cursor: grab;
    user-select: none;
}

    .hero-slider.dragging {
        cursor: grabbing;
    }

.hero-track {
    display: flex;
    height: 100%;
    width: 100%;
    will-change: transform;
}

    /* dragging sırasında transition kapalı, bırakınca açık */
    .hero-track.no-transition {
        transition: none !important;
    }

    .hero-track.snap {
        transition: transform .45s cubic-bezier(.22,.61,.36,1);
    }

.hero-slide, .hero-slide1 {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 45%,#681c2a 0,#151026 35%,#060912 75%);
}

    .hero-slide:after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg,rgba(4,7,13,.98) 0%,rgba(4,7,13,.78) 38%,rgba(4,7,13,.15) 70%,rgba(4,7,13,.7) 100%);
    }


.hero-slide1:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: none;
}

    .hero-slide .hero-bg,
    .hero-slide1 .hero-bg {
        position: absolute;
        inset: 0;
        overflow: hidden;
    }
        .hero-slide  img,
        .hero-slide1  img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            pointer-events: none;
        }

    .hero-slide .hero-content {
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        align-items: center;
        pointer-events: none; /* sürüklerken buton/link tetiklenmesin */
    }

        .hero-slide .hero-content button,
        .hero-slide .hero-content a {
            pointer-events: auto;
        }

/* Dots */
.hero-dots {
    position: absolute;
    z-index: 3;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}

    .hero-dots i {
        width: 25px;
        height: 3px;
        background: #647080;
        border-radius: 4px;
        cursor: pointer;
        transition: background .2s;
    }

        .hero-dots i.on {
            background: #fff;
        }

/* Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(13,19,32,.7);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .2s;
}

    .hero-nav:hover {
        background: var(--red);
        border-color: var(--red);
    }

    .hero-nav.prev {
        left: 18px;
    }

    .hero-nav.next {
        right: 18px;
    }

@media(max-width:680px) {
    .hero-slider {
        height: 380px;
    }

    .hero-slide .hero-content {
        align-items: flex-end;
        padding-bottom: 50px;
    }

    .hero-slide .hero-copy {
        max-width: 90%;
    }

    .hero-slide h1 {
        font-size: 38px;
    }

    .hero-slide p {
        font-size: 13px;
        max-width: 300px;
    }

    .hero-wheel {
        position: absolute;
        right: -20px;
        top: 30px;
        font-size: 180px;
    }

    .hero-nav {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

.featured-wrap {
    margin-top: -1px;
    padding: 22px 0 10px;
    position: relative;
    z-index: 5
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px
}

    .section-heading h2 {
        font-size: 17px !important;
        margin: 0;
        font-weight:500;
    }

        .section-heading h2 span {
            color: var(--red) !important;
            font-weight: 600;
        }

.link-btn {
    background: none;
    border: 0;
    color: var(--red);
    font-size: 11px;
    font-weight: 900
}

.promo-slider {
    display: grid;
    gap: 12px
}

.promo-slider {
    grid-template-columns: repeat(5,1fr);
}

.promo-slider1 {
    grid-template-columns: repeat(4,1fr);
}

.promo-content {
    position: relative;
    z-index: 3;
}

.promo {
    min-height: 186px;
    border: 1px solid rgba(255,60,60,.3);
    border-radius: 10px;
    padding: 18px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg,#171322,#351224)
}

    .promo:nth-child(2) {
        background: linear-gradient(120deg,#17111f,#29143d)
    }

    .promo:nth-child(3) {
        background: linear-gradient(120deg,#171420,#3a1917)
    }

.promo-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

    .promo-image img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        object-position: center;
        display: block;
    }

    .promo-image:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 
            135deg, 
        rgba(23,19,34,1) 0%, 
        rgba(23,19,34,.65) 15%, 
        rgba(23,19,34,0) 100% );
    }



    .promo small {
        font-size: 10px;
        color: #ff756c;
        font-weight: 900
    }

    .promo h3 {
        font-size: 14px;
        margin: 7px 0
    }

    .promo strong {
        font-size: 28px;
        color: var(--gold)
    }

    .promo p {
        font-size: 10px;
        color: #aeb5c1;
        margin: 2px 0
    }

    .promo .badge {
        position: absolute;
        right: 14px;
        top: 13px;
        background: rgba(255,255,255,.08);
        padding: 5px 7px;
        border-radius: 20px;
        font-size: 9px
    }

    .promo:after {
        content: "";
        position: absolute;
        width: 110px;
        height: 110px;
        right: -25px;
        bottom: -50px;
        border-radius: 50%;
        background: rgba(239,45,36,.18);
        box-shadow: 0 0 55px rgba(239,45,36,.25)
    }

/* =========================================
   PROMO HOVER PLAY BUTTONS
========================================= */

.promo-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(7, 11, 20, .60);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}


/* Hover */
.promo:hover .promo-overlay {
    opacity: 1;
    visibility: visible;
}


/* Buton */
.promo-play {
    border: 0;
    border-radius: 7px;
    padding: 10px 13px;
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .4px;
    cursor: pointer;
    transform: translateY(8px);
    transition: transform .25s ease, box-shadow .2s ease, filter .2s ease;
}

.promo:hover .promo-play {
    transform: translateY(0);
}

.promo-play-real {
    background: var(--red);
    box-shadow: 0 5px 18px rgba(239, 45, 36, .35);
}

    .promo-play-real:hover {
        filter: brightness(1.12);
        box-shadow: 0 7px 24px rgba(239, 45, 36, .55);
    }

.promo-play-fun {
    background: linear-gradient( to right, #37b5b5, #3598aa );
    box-shadow: 0 5px 18px rgba(53, 152, 170, .30);
}

    .promo-play-fun:hover {
        filter: brightness(1.12);
        box-shadow: 0 7px 24px rgba(53, 152, 170, .50);
    }

.catalog {
    padding: 20px 0 28px
}

.toolbar {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 18px
}

.categories {
    display: flex;
    gap: 8px;
    overflow: auto;
    scrollbar-width: none
}

    .categories::-webkit-scrollbar {
        display: none
    }

.cat {
    border: 1px solid var(--border);
    background: #0d1320;
    color: #c2c9d5;
    border-radius: 22px;
    padding: 9px 15px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap
}

    .cat.active,
    .cat:hover {
        background: var(--red);
        border-color: var(--red);
        color: #fff
    }

.tools {
    display: flex;
    gap: 8px
}

.search {
    width: 240px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #0d1320;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: #8290a5
}

    .search input {
        border: 0;
        outline: 0;
        background: transparent;
        color: #fff;
        width: 100%;
        margin-left: 7px;
        font-size: 12px
    }

.filter {
    width: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #0d1320;
    color: #dbe0e9
}


.games-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}



.games-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(7, 11, 20, 0.88);
    backdrop-filter: blur(6px);
    width: 100%;
    min-height:100px;
}

.loading-spinner {
    width: 55px;
    height: 55px;
    border: 4px solid rgba(255,255,255,.12);
    border-top-color: var(--red);
    border-right-color: var(--red);
    border-radius: 50%;
    animation: loadingSpin .8s linear infinite;
}

.loading-text {
    margin-top: 15px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    animation: loadingPulse 1.2s ease-in-out infinite;
}

@keyframes loadingSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: .45;
    }

    50% {
        opacity: 1;
    }
}
.game {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.game {
    min-height: 225px;
    border-radius: 10px;
    overflow: visible;
    background: var(--panel);
    position: relative;
    transition: .2s transform,.2s border-color;
    border: 1px solid rgba(239,45,36,.65);
}

    .game:hover {
        transform: translateY(-3px);
        border: 1px solid var(--border);
    }

.game-art {
    overflow: hidden;
    height: 225px;
    position: relative;
    z-index:0;
    display: flex;
    align-items: flex-end;
    padding: 13px;
    background: radial-gradient(circle at 70% 20%,rgba(255,255,255,.25),transparent 22%),linear-gradient(135deg,#301216,#101722 58%,#50111c)
}

.game-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    border-radius:10px;
}




.game:nth-child(3n) {
    background: linear-gradient(135deg,#152d32,#08111d 55%,#63211c)
}

.game:nth-child(4n) {
    background: linear-gradient(135deg,#32173c,#121421 58%,#6a1e27)
}

.game-art:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 35%,rgba(255,80,60,.38),transparent 24%),linear-gradient(180deg,transparent 25%,rgba(0,0,0,.8));
    z-index:1;
}

.dealer {
    position: absolute;
    right: 18px;
    top: 8px;
    font-size: 62px;
    filter: drop-shadow(0 5px 10px #000);
    opacity: .8
}

.game-title {
    position: relative;
    z-index: 1;
    font-weight: 900;
    font-size: 19px;
    text-shadow: 0 2px 5px #000
}

.game-info {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;    
}
    .game-info span {
        display:flex;
        flex-direction:column;
    }
    .game-info small {
        font-size: 17px;
        font-weight:900;
    }

    .game-info em {
        color: var(--gold);
        font-size: 11px;
        font-style: normal;
    }
.game-buttons {
    display: flex;
    gap: 6px;
}

.play {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 0;
    color: #fff !important;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.play-real {
    background: var(--red);
    border-color: var(--red);   
}

    .play-real:hover {
        transform: scale(1.1);
    }

.play-fun {
    background-image: linear-gradient(to right, #37b5b5, #3598aa);
    border-color:  #3598aa;
}

    .play-fun:hover {
        transform: scale(1.1);
    }

/* TOOLTIP */
.play::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #111827;
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 5px;
    padding: 6px 9px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 1000;
}

/* Tooltip oku */
.play::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #111827;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 1001;
}

/* Hover */
.play:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.play:hover::before {
    opacity: 1;
    visibility: visible;
}


.game-tags {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    pointer-events: none;
}

.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--red);
    font-size: 9px;
    font-weight: 900;
    padding: 5px 7px;
    border-radius: 4px
}

.game-tags .tag {
    position: static;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .tag.new {
        background: #46b72d
    }

    .tag.vip {
        background: #6c47d8
    }

    .tag.tr {
        background: #2877ff
    }

.load-more {
    display: block;
    margin: 20px auto 0;
    background: #0d1320;
    color: #dfe4ed;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 900
}

    .load-more span {
        margin-left: 12px;
        color: var(--red)
    }

.benefits {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: #0d1320;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 80px
}

    .benefits > div {
        padding: 18px;
        display: flex;
        gap: 12px;
        align-items: center;
        border-right: 1px solid var(--border)
    }

        .benefits > div:last-child {
            border: 0
        }

    .benefits b {
        color: #ff5c4e;
        font-size: 24px
    }

    .benefits span {
        font-size: 10px;
        color: #8893a6
    }

    .benefits strong {
        display: block;
        color: #fff;
        font-size: 10px;
        margin-bottom: 3px
    }

.chat {
    position: fixed;
    right: 24px;
    bottom: 22px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: var(--red);
    color: #fff;
    box-shadow: 0 8px 30px rgba(239,45,36,.4);
    z-index: 80
}

.mobile-nav {
    display: none
}

/* Providers */
.provider-dropdown {
    position: relative;
    width: auto;
    min-width:42px;
}

.provider-btn {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #0d1320;
    color: #dbe0e9;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

    .provider-btn:hover {
        border-color: var(--red);
        color: #fff;
    }

.provider-arrow {
    font-size: 15px;
    transition: transform .2s;
}

.provider-dropdown:hover .provider-arrow {
    transform: rotate(180deg);
}


/* DROPDOWN */
.provider-menu {
    min-width:180px;
    position: absolute;
    top: calc(100% + 5px);
    left: auto;
    right: 0;
    background: #0d1320;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 15px 40px rgba(0,0,0,.45);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}


/* Hover ile aç */
.provider-dropdown:hover .provider-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* PROVIDER ITEM */
.provider-item {
    padding: 10px 12px;
    color: #aeb7c7;
    font-size: 11px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: .15s;
}

    .provider-item:hover {
        background: var(--red);
        color: #fff;
    }

    .provider-item.active {
        background: rgba(239,45,36,.15);
        color: var(--red);
    }


/* Scroll */
.provider-menu {
    max-height: 300px;
    overflow-y: auto;
}

    .provider-menu::-webkit-scrollbar {
        width: 4px;
    }

    .provider-menu::-webkit-scrollbar-track {
        background: transparent;
    }

    .provider-menu::-webkit-scrollbar-thumb {
        background: #3b4352;
        border-radius: 10px;
    }



@media(max-width:900px) {
    .main-nav {
        gap: 0
    }

        .main-nav a {
            padding-left: 8px;
            padding-right: 8px;
            font-size: 11px
        }

    .games-grid {
        grid-template-columns: repeat(3,1fr)
    }
}

@media(max-width:680px) {
    .container {
        width: calc(100% - 24px)
    }

    .site-header {
        position: sticky
    }

    .topbar {
        min-height: 62px;
        justify-content: space-between;
        gap: 10px
    }

    .mobile-only {
        display: block
    }

    .icon-btn {
        background: none;
        border: 0;
        color: #fff;
        font-size: 24px
    }

    .logo {
        font-size: 24px
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        height: auto;
        background: #0a0e17;
        flex-direction: column;
        padding: 8px 12px;
        border-bottom: 1px solid var(--border)
    }

        .main-nav.open {
            display: flex
        }

        .main-nav a {
            padding: 13px;
            border: 0
        }

    .actions {
        margin-left: auto
    }

    .login {
        display: none
    }

    .signup {
        height: 34px;
        padding: 0 13px
    }

    .hero {
        height: 380px
    }

    .hero-content {
        align-items: flex-end;
        padding-bottom: 50px
    }

    .hero-copy {
        max-width: 90%
    }

    .hero h1 {
        font-size: 38px
    }

    .hero p {
        font-size: 13px;
        max-width: 300px
    }

    .hero-wheel {
        position: absolute;
        right: -20px;
        top: 30px;
        font-size: 180px
    }

    .featured-wrap {
        padding-top: 18px
    }

    .promo-slider {
        display: flex;
        overflow: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none
    }

        .promo-slider::-webkit-scrollbar {
            display: none
        }

    .promo {
        min-width: 78%;
        scroll-snap-align: start
    }

    .toolbar {
        display: block
    }

    .categories {
        margin-bottom: 12px
    }

    .tools {
        width: 100%
    }

    .search {
        flex: 1;
        width: auto
    }




    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        width: 100%;
    }

    .game {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        min-height: 250px;
    }

    .game-art {
        height: 128px;
    }

    .game-title {
        font-size: 15px
    }

    .game-info small {
        font-size: 12px;
        font-weight: 700;
        min-height: 30px;
    }

    .game-info {
        padding: 10px 12px;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-direction:column;
    }

    .game-buttons {
        display: flex;
        flex-direction:row;
        gap: 6px;
        margin-top:15px;
    }

    .game-buttons {
        width: 100%;
    }

        .game-buttons .play {
            flex: 1 1 0;
            width: 0;
            box-sizing: border-box;
            text-align: center;
        }



        .dealer {
        font-size: 50px
    }

    .benefits {
        display: none
    }

    .mobile-nav {
        position: fixed;
        display: flex;
        left: 0;
        right: 0;
        bottom: 0;
        height: 64px;
        background: rgba(7,11,20,.97);
        border-top: 1px solid var(--border);
        z-index: 70;
        justify-content: space-around
    }

        .mobile-nav a {
            color: #8792a4;
            text-decoration: none;
            font-size: 8px;
            text-align: center;
            padding-top: 8px
        }

        .mobile-nav span {
            display: block;
            font-size: 19px;
            margin-bottom: 3px
        }

        .mobile-nav a.active {
            color: var(--red)
        }

    .chat {
        right: 18px;
        bottom: 80px
    }

    .load-more {
        margin-bottom: 10px
    }
}

@media(max-width:390px) {
    .games-grid {
        grid-template-columns: repeat(1,1fr)
    }

    .game-art {
        min-height: 195px;
    }

    .game-image {
        height: auto;
    }

    .promo {
        min-width: 88%
    }
}

/* =========================================================
   Mobile-first casino catalog (legacy Web Forms compatible)
========================================================= */
.casino-modern {
    --casino-bg: #f3f4f8;
    --casino-surface: #ffffff;
    --casino-surface-raised: #e7eaf2;
    --casino-navigation: #282d3c;
    --casino-navigation-soft: #3d414e;
    --casino-border: rgba(35, 42, 59, .14);
    --casino-primary: #f26363;
    --casino-primary-strong: #ff3333;
    --casino-accent: #3598aa;
    --casino-text: #232a3b;
    --casino-muted: #657080;
    min-height: 100vh;
    color: var(--casino-text);
    background:
        radial-gradient(circle at 12% 8%, rgba(242, 99, 99, .08), transparent 25rem),
        radial-gradient(circle at 88% 24%, rgba(53, 152, 170, .07), transparent 22rem),
        linear-gradient(rgba(243,244,248,.94), rgba(243,244,248,.98)),
        url('../images/Background/bg01-ada.png') center top / cover fixed no-repeat,
        var(--casino-bg);
    font-family: 'Quicksand', sans-serif;
}

.casino-modern *,
.casino-modern *::before,
.casino-modern *::after {
    box-sizing: border-box;
}

.casino-modern button,
.casino-modern input {
    font: inherit;
}

.casino-modern__shell {
    width: min(1380px, calc(100% - 32px));
    margin-inline: auto;
}

.casino-modern__hero {
    position: relative;
    min-height: 350px;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--casino-border);
    background: #111827;
}

.casino-modern__slides,
.casino-modern__slide {
    position: absolute;
    inset: 0;
}

.casino-modern__slide {
    visibility: hidden;
    opacity: 0;
    transition: opacity .45s ease, visibility .45s ease;
}

.casino-modern__slide.is-active {
    visibility: visible;
    opacity: 1;
}

.casino-modern__slide picture {
    position: absolute;
    inset: 0;
    display: block;
}

.casino-modern__slide .casino-modern__hero-image { z-index: 0; }
.casino-modern__slide .casino-modern__hero-shade { z-index: 1; }
.casino-modern__slide .casino-modern__hero-content { position: relative; z-index: 2; }
.casino-modern__hero-content--slider { justify-content: flex-end; padding-bottom: 32px; }

.casino-modern__slider-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--casino-accent);
    border-radius: 50%;
    color: #fff;
    background: var(--casino-accent);
    font-size: 30px;
    line-height: 36px;
    cursor: pointer;
    transform: translateY(-50%);
}

.casino-modern__slider-arrow--prev { left: 18px; }
.casino-modern__slider-arrow--next { right: 18px; }

.casino-modern__slider-dots {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 14px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.casino-modern__slider-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.48);
    cursor: pointer;
}

.casino-modern__slider-dots button.is-active { width: 25px; border-radius: 10px; background: #fff; }

.casino-modern__hero-image,
.casino-modern__hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.casino-modern__hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
}

.casino-modern__hero-shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(4, 7, 13, .98) 0%, rgba(4, 7, 13, .83) 36%, rgba(4, 7, 13, .24) 72%, rgba(4, 7, 13, .7) 100%);
}

.casino-modern__hero-content {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-block: 44px;
}

.casino-modern__eyebrow,
.casino-modern__kicker {
    color: var(--casino-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.casino-modern__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.casino-modern__eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--casino-primary);
    box-shadow: 0 0 16px rgba(242, 99, 99, .65);
}

.casino-modern__hero h1 {
    max-width: 590px;
    margin: 12px 0 10px;
    color: #fff;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.casino-modern__hero p {
    max-width: 430px;
    margin: 0 0 22px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.casino-modern__cta {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    color: #fff;
    background: var(--casino-primary);
    box-shadow: 0 12px 30px rgba(242, 99, 99, .24);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.casino-modern__catalog {
    padding-block: 26px calc(92px + env(safe-area-inset-bottom));
    scroll-margin-top: 12px;
}

.casino-modern__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
}

.casino-modern__heading h2 {
    margin: 3px 0 0;
    color: var(--casino-text);
    font-size: 26px;
    font-weight: 850;
    line-height: 1.1;
}

.casino-modern__count {
    color: var(--casino-muted);
    font-size: 12px;
    font-weight: 700;
}

.casino-modern__discovery {
    position: sticky;
    top: 0;
    z-index: 35;
    margin: 0 -8px 18px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(40, 45, 60, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.casino-modern__category-scroller {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}

.casino-modern__category-scroller.has-overflow {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 6px;
}

.casino-modern__categories {
    grid-column: 1;
    display: flex;
    gap: 8px;
    padding-bottom: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.casino-modern__categories::-webkit-scrollbar { display: none; }

.casino-modern__category-scroller.has-overflow .casino-modern__categories { grid-column: 2; }

.casino-modern__category-arrow {
    display: grid;
    width: 30px;
    height: 32px;
    margin-top: 4px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    color: #fff;
    background: var(--casino-navigation-soft);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .32);
    cursor: pointer;
    transition: opacity .18s ease, border-color .18s ease, background .18s ease;
}

.casino-modern__category-arrow[hidden] { display: none; }
.casino-modern__category-arrow--prev { grid-column: 1; }
.casino-modern__category-arrow--next { grid-column: 3; }
.casino-modern__category-arrow:hover:not(:disabled),
.casino-modern__category-arrow:focus-visible { border-color: var(--casino-accent); background: var(--casino-accent); }
.casino-modern__category-arrow:disabled { opacity: .32; cursor: default; }
.casino-modern__category-arrow i { font-size: 14px; line-height: 1; }

.casino-modern__chip {
    min-height: 40px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #ffffff;
    background: var(--casino-navigation-soft);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.casino-modern__chip:hover,
.casino-modern__chip:focus-visible { border-color: var(--casino-accent); color: #fff; }
.casino-modern__chip:active { transform: scale(.97); }
.casino-modern__chip.active {
    border-color: var(--casino-accent);
    color: #fff;
    background: var(--casino-accent);
    box-shadow: 0 7px 20px rgba(53, 152, 170, .24);
}

.casino-modern__tools {
    display: flex;
    gap: 9px;
}

.casino-modern__search,
.casino-modern__provider-button {
    min-height: 46px;
    border: 1px solid var(--casino-border);
    border-radius: 12px;
    color: var(--casino-text);
    background: var(--casino-surface);
}

.casino-modern__search {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
}

.casino-modern__search:focus-within {
    border-color: rgba(53, 152, 170, .65);
    box-shadow: 0 0 0 3px rgba(53, 152, 170, .10);
}

.casino-modern__search > i { color: var(--casino-muted); font-size: 16px; }
.casino-modern__search input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--casino-text);
    background: transparent;
    font-size: 16px;
}
.casino-modern__search input::placeholder { color: #8791a1; }
.casino-modern__search input::-webkit-search-cancel-button { display: none; }
.casino-modern__search button {
    width: 34px;
    height: 34px;
    display: none;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--casino-muted);
    background: rgba(35,42,59,.07);
}
.casino-modern__search button.is-visible { display: grid; }

.casino-modern__provider { position: relative; flex: 0 0 auto; }
.casino-modern__provider-button {
    width: min(240px, 32vw);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    cursor: pointer;
}
.casino-modern__provider-button > span {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 800;
}
.casino-modern__provider-arrow { transition: transform .18s ease; }
.casino-modern__provider.open .casino-modern__provider-arrow { transform: rotate(180deg); }

.casino-modern__provider-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(300px, calc(100vw - 32px));
    max-height: min(54vh, 420px);
    display: grid;
    gap: 3px;
    padding: 7px;
    overflow-y: auto;
    border: 1px solid var(--casino-border);
    border-radius: 14px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    color: var(--casino-text);
    background: var(--casino-surface);
    box-shadow: 0 20px 54px rgba(35,42,59,.20);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.casino-modern__provider.open .casino-modern__provider-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.casino-modern__provider-item {
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 9px;
    color: var(--casino-text);
    background: transparent;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.casino-modern__provider-item:hover,
.casino-modern__provider-item:focus-visible { color: var(--casino-text); background: rgba(53,152,170,.10); }
.casino-modern__provider-item.active { color: #fff; background: var(--casino-accent); }

.casino-modern__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.casino-modern__game {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--casino-border);
    border-radius: 16px;
    background: var(--casino-surface);
    box-shadow: 0 8px 22px rgba(35,42,59,.10);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.casino-modern__game:hover {
    z-index: 2;
    border-color: rgba(53, 152, 170, .65);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(35,42,59,.17);
}
.casino-modern__game-art {
    position: relative;
    aspect-ratio: 1.22 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #e7eaf2, #d8dde8);
}
.casino-modern__game-art.is-image-loading::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.72) 45%, rgba(255,255,255,.9) 50%, transparent 75%);
    transform: translateX(-100%);
    animation: casino-image-shimmer 1.25s ease-in-out infinite;
}
.casino-modern__game-art::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(4,7,13,.62));
}
.casino-modern__game-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 1;
    transition: opacity .24s ease, transform .35s ease;
}
.casino-modern__game:hover .casino-modern__game-image { transform: scale(1.035); }
.casino-modern__game-image.is-pending,
.casino-modern__game-image.is-missing { opacity: 0; }
@keyframes casino-image-shimmer {
    to { transform: translateX(100%); }
}
.casino-modern__tags {
    position: absolute;
    top: 9px;
    right: 9px;
    left: 9px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    pointer-events: none;
}
.casino-modern__tag {
    max-width: 100%;
    padding: 5px 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    color: #fff;
    background: rgba(4,7,13,.68);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.casino-modern__game-body { padding: 12px; }
.casino-modern__game-copy { min-width: 0; margin-bottom: 11px; }
.casino-modern__game-copy small,
.casino-modern__game-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.casino-modern__game-copy small { margin-bottom: 3px; color: var(--casino-accent); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.casino-modern__game-copy strong { color: var(--casino-text); font-size: 13px; font-weight: 800; }
.casino-modern__game-actions { display: flex; gap: 7px; }
.casino-modern__play {
    min-width: 0;
    min-height: 42px;
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 9px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
    transition: filter .18s ease, transform .18s ease;
}
.casino-modern__play:active { transform: scale(.96); }
.casino-modern__play--fun { background: var(--casino-navigation-soft); }
.casino-modern__play--real { background: var(--casino-accent); box-shadow: 0 7px 18px rgba(53,152,170,.22); }

.casino-modern__loading {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.casino-modern__loading span {
    display: block;
    aspect-ratio: .84 / 1;
    border-radius: 16px;
    background: linear-gradient(100deg, #e7eaf2 20%, #f7f8fb 40%, #e7eaf2 60%);
    background-size: 200% 100%;
    animation: casinoSkeleton 1.2s ease-in-out infinite;
}
@keyframes casinoSkeleton { to { background-position-x: -200%; } }

.casino-modern__load-more-wrap {
    display: flex;
    justify-content: center;
    padding: 24px 0 4px;
}
.casino-modern__load-more-wrap[hidden] { display: none; }
.casino-modern__load-more {
    min-width: 180px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid rgba(53, 152, 170, .65);
    border-radius: 12px;
    color: var(--casino-accent);
    background: rgba(53, 152, 170, .10);
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.casino-modern__load-more:hover,
.casino-modern__load-more:focus-visible { border-color: var(--casino-accent); color: #fff; background: var(--casino-accent); }
.casino-modern__load-more:active { transform: scale(.97); }

.casino-modern__empty {
    min-height: 280px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: var(--casino-muted);
    text-align: center;
}
.casino-modern__empty:not([hidden]) { display: flex; }
.casino-modern__empty > i { font-size: 30px; }
.casino-modern__empty strong { color: var(--casino-text); font-size: 15px; }
.casino-modern__empty button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--casino-border);
    border-radius: 10px;
    color: var(--casino-text);
    background: var(--casino-surface-raised);
}
.casino-modern__close {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    z-index: 10050;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    color: #fff;
    background: rgba(7,11,19,.86);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.casino-modern.is-launching::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(7,11,19,.78) url('../images/Icon/liveanimated.gif') center / 48px no-repeat;
}

/* CasinoLive cards use the requested 640x480 (4:3) artwork proportion. */
.casino-modern--live .casino-modern__grid,
.casino-modern--live .casino-modern__loading {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.casino-modern--live .casino-modern__game-art,
.casino-modern--live .casino-modern__loading span {
    aspect-ratio: 4 / 3;
}
.casino-modern--live .casino-modern__hero-image {
    object-position: center;
}
.casino-modern__live-status {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: #fff;
    background: rgba(71,85,105,.88);
    box-shadow: 0 5px 16px rgba(0,0,0,.22);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.casino-modern__live-status--open { background: rgba(5,150,105,.9); }
.casino-modern__live-status--closed { background: rgba(220,38,38,.9); }
.casino-modern__limit {
    min-height: 25px;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -3px 0 9px;
    color: var(--casino-muted);
    font-size: 9px;
    font-weight: 750;
}
.casino-modern__limit i {
    width: 3px;
    height: 3px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #9aa3b2;
}
.casino-modern__play:disabled {
    cursor: not-allowed;
    opacity: .48;
    filter: grayscale(.45);
    box-shadow: none;
}

/* Existing CasinoSlotN touch improvements */
.provider-dropdown.open .provider-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .casino-modern__grid,
    .casino-modern__loading { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .casino-modern--live .casino-modern__grid,
    .casino-modern--live .casino-modern__loading { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .casino-modern__shell { width: calc(100% - 20px); }
    .casino-modern__hero,
    .casino-modern__hero-content { min-height: 224px; }
    .casino-modern__hero-image { object-position: 64% center; }
    .casino-modern__hero-shade { background: linear-gradient(90deg, rgba(4,7,13,.97), rgba(4,7,13,.66) 70%, rgba(4,7,13,.34)); }
    .casino-modern__hero-content { padding-block: 24px; }
    .casino-modern__hero h1 { max-width: 75%; margin-block: 8px; font-size: clamp(30px, 9vw, 42px); }
    .casino-modern__hero p { max-width: 68%; margin-bottom: 14px; font-size: 11px; line-height: 1.35; }
    .casino-modern__cta { min-height: 42px; padding-inline: 15px; }
    .casino-modern__catalog { padding-top: 20px; }
    .casino-modern__heading h2 { font-size: 21px; }
    .casino-modern__discovery { margin-inline: -5px; padding-inline: 5px; border-radius: 0 0 14px 14px; }
    .casino-modern__provider-button { width: 48px; justify-content: center; padding: 0; }
    .casino-modern__provider-button > span { display: none; }
    .casino-modern__provider-arrow { display: none; }
    .casino-modern__provider-menu {
        position: fixed;
        top: auto;
        right: 10px;
        bottom: calc(74px + env(safe-area-inset-bottom));
        left: 10px;
        width: auto;
        max-height: 54vh;
        border-radius: 18px;
        transform: translateY(12px);
    }
    .casino-modern__provider.open .casino-modern__provider-menu { transform: translateY(0); }
    .casino-modern__provider-item { min-height: 46px; font-size: 13px; }
    .casino-modern__grid,
    .casino-modern__loading { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .casino-modern--live .casino-modern__grid,
    .casino-modern--live .casino-modern__loading { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .casino-modern__game { border-radius: 13px; }
    .casino-modern__game-body { padding: 9px; }
    .casino-modern__game-copy { margin-bottom: 8px; }
    .casino-modern__game-copy strong { font-size: 12px; }
    .casino-modern__play { min-height: 44px; border-radius: 9px; }
    .casino-modern__play--real span { display: none; }
    .casino-modern__loading span { border-radius: 13px; }

    .hero-slider { height: 230px; }
    .hero-slide .hero-content { align-items: center; padding-bottom: 30px; }
    .hero-slide .hero-copy { max-width: 76%; }
    .hero-slide h1 { font-size: 29px; line-height: 1.05; }
    .hero-slide p { display: none; }
    .hero-nav { display: none; }
    .featured-wrap { padding-top: 14px; }
    .promo { min-width: 72%; min-height: 154px; }
    .promo-image img { object-fit: cover; }
    .promo-overlay { opacity: 1; visibility: visible; align-items: flex-end; padding-bottom: 10px; background: linear-gradient(transparent 42%, rgba(7,11,20,.78)); }
    .promo-play { min-height: 40px; transform: none; }
    .catalog { padding-top: 14px; }
    .cat { min-height: 42px; display: inline-flex; align-items: center; }
    .search, .provider-btn { height: 46px; }
    .game { min-height: 0; border-radius: 13px; }
    .game-art { height: auto; aspect-ratio: 1.22 / 1; }
    .game-info { padding: 9px; }
    .game-buttons { margin-top: 9px; }
    .game-buttons .play { min-height: 44px; }
}

@media (max-width: 390px) {
    .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .game-art { min-height: 0; }
    .game-image { height: 100%; }
    .promo { min-width: 82%; }
    .casino-modern__hero h1 { max-width: 82%; }
    .casino-modern__game-copy small { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .casino-modern *,
    .casino-modern *::before,
    .casino-modern *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Managed casino banners: preserve the upload aspect ratios without cropping. */
.casino-modern__hero.has-managed-slides {
    min-height: 0;
    aspect-ratio: 16 / 5;
}

.casino-modern__hero.has-managed-slides .casino-modern__hero-image {
    object-position: center;
    transform: none;
}

.casino-modern__hero.has-managed-slides .casino-modern__hero-content--slider {
    min-height: 100%;
    justify-content: flex-end;
    align-items: flex-start;
    padding-block: 0 22px;
    pointer-events: none;
}

.casino-modern__hero.has-managed-slides .casino-modern__hero-content--slider .casino-modern__cta {
    min-height: 40px;
    padding-inline: 16px;
    border-color: rgba(255,255,255,.28);
    background: rgba(242,99,99,.96);
    box-shadow: 0 8px 22px rgba(4,7,13,.38);
    pointer-events: auto;
}

@media (max-width: 760px) {
    .casino-modern__hero.has-managed-slides {
        min-height: 0;
        aspect-ratio: 8 / 5;
    }

    .casino-modern__hero.has-managed-slides .casino-modern__hero-content--slider {
        min-height: 100%;
        padding-block: 0 12px;
    }

    .casino-modern__hero.has-managed-slides .casino-modern__hero-content--slider .casino-modern__cta {
        min-height: 34px;
        padding-inline: 12px;
        border-radius: 9px;
        font-size: 10px;
    }

    .casino-modern__hero.has-managed-slides .casino-modern__slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 24px;
        line-height: 30px;
    }

    .casino-modern__hero.has-managed-slides .casino-modern__slider-arrow--prev { left: 8px; }
    .casino-modern__hero.has-managed-slides .casino-modern__slider-arrow--next { right: 8px; }
}
