.slot-page,
.game-page {
    color: #fff;
}

.slot-load-trigger,
.game-load-trigger {
    height: 24px;
}

.slot-loading,
.game-loading-text {
    text-align: center;
    color: #b9c9be;
    padding: 10px 0 2px;
    font-size: 13px;
    display: none;
}

.slot-loading.show,
.game-loading-text.show {
    display: block;
}

.slot-hero,
.game-hero {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(109,255,123,.14), transparent 28%),
        radial-gradient(circle at top right, rgba(255,216,77,.12), transparent 24%),
        linear-gradient(135deg, #103f26 0%, #082416 55%, #04150d 100%);
    border: 1px solid rgba(120,255,140,.10);
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.slot-hero-badge,
.game-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    font-size: 12px;
    font-weight: 700;
    color: #dfff92;
    margin-bottom: 14px;
}

.slot-hero-title,
.game-hero-title {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
    font-weight: 900;
    margin-bottom: 8px;
}

.slot-hero-text,
.game-hero-text {
    max-width: 680px;
    color: #c7d7cc;
    margin-bottom: 0;
}

.slot-hero-orb,
.game-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .9;
    pointer-events: none;
}

.slot-hero-orb.orb-1,
.game-hero-orb.orb-1 {
    width: 140px;
    height: 140px;
    right: 26px;
    top: 20px;
    background: radial-gradient(circle at 35% 35%, #fff1a8 0%, #e3aa1a 45%, #8e4b04 100%);
}

.slot-hero-orb.orb-2,
.game-hero-orb.orb-2 {
    width: 110px;
    height: 110px;
    right: 140px;
    bottom: -18px;
    background: radial-gradient(circle at 35% 35%, #bce8ff 0%, #3f9eff 45%, #18345f 100%);
}

.slot-box,
.game-box {
    margin-top: 18px;
    background: linear-gradient(180deg, #0b2417 0%, #081c12 100%);
    border: 1px solid rgba(120,255,140,.08);
    border-radius: 18px;
    padding: 16px;
}

.slot-toolbar,
.game-toolbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
}

.slot-search,
.game-search {
    position: relative;
    width: 100%;
}

.slot-search i,
.game-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #e3b22d;
    font-size: 20px;
    z-index: 2;
}

.slot-search input,
.game-search input,
.game-search select {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(227,178,45,.55);
    background: linear-gradient(180deg, #2c2411 0%, #1d180c 100%);
    color: #fff;
    padding: 0 14px 0 46px;
    outline: none;
    font-size: 15px;
    font-weight: 600;
}

.slot-search input::placeholder,
.game-search input::placeholder {
    color: #f0e4b7;
    opacity: .9;
}

.provider-wrapper,
.game-tab-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.provider-scroll,
.game-tab-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    scrollbar-width: none;
    min-width: 0;
}

.provider-scroll::-webkit-scrollbar,
.game-tab-scroll::-webkit-scrollbar {
    display: none;
}

.provider-box,
.game-tab-item {
    min-width: 170px;
    height: 52px;
    border-radius: 8px;
    background: linear-gradient(180deg, #153423 0%, #0c2217 100%);
    border: 1px solid rgba(120,255,140,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    transition: .2s ease;
    text-decoration: none;
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
}

.provider-box:hover,
.game-tab-item:hover {
    transform: translateY(-1px);
    border-color: rgba(120,255,140,.28);
}

.provider-box:active,
.game-tab-item:active {
    transform: scale(0.98);
}

.provider-box img,
.game-tab-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.provider-text,
.game-tab-text {
    font-weight: 800;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: .2px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.provider-box.active,
.game-tab-item.active {
    background: linear-gradient(180deg, #2fcf64 0%, #179746 100%);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(12, 120, 52, .25);
}

.provider-box.active .provider-text,
.game-tab-item.active .game-tab-text {
    color: #fff;
}

.provider-nav,
.game-tab-nav {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 999px;
    border: 1px solid rgba(120,255,140,.20);
    background: linear-gradient(180deg, #153423 0%, #0c2217 100%);
    color: #dfff92;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
    cursor: pointer;
}

.provider-nav:hover,
.game-tab-nav:hover {
    background: linear-gradient(180deg, #2fcf64 0%, #179746 100%);
    color: #fff;
    border-color: transparent;
}

.slot-section-head,
.game-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.slot-section-title,
.game-section-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
}

.slot-section-sub,
.game-section-sub {
    font-size: 13px;
    color: #aebdb3;
}

.slot-grid,
.game-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.slot-card,
.game-card {
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: .18s ease;
}

.slot-card:active,
.game-card:active {
    transform: scale(0.98);
}

.slot-thumb,
.game-thumb {
    position: relative;
    height: 210px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 10px 24px rgba(0,0,0,.24);
    transition: transform .2s ease;
    background: #0f1c14;
}

.slot-thumb img,
.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slot-thumb::after,
.game-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 24%),
        linear-gradient(180deg, transparent 0%, rgba(0,0,0,.10) 45%, rgba(0,0,0,.68) 100%);
}

.slot-card:hover .slot-thumb,
.game-card:hover .game-thumb {
    transform: translateY(-3px);
}

.slot-rtp,
.game-badge-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.08);
}

.slot-popular,
.game-badge-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    color: #103f26;
    background: #dfff92;
}

.slot-meta,
.game-meta {
    margin-top: 8px;
    padding: 10px 10px 12px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, #173720 0%, #112c19 100%);
    text-align: center;
}

.slot-name,
.game-name {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    min-height: 35px;
}

.slot-provider,
.game-provider {
    font-size: 12px;
    font-weight: 600;
    color: #cddacf;
    margin-top: 2px;
}

.slot-empty,
.game-empty {
    padding: 30px 16px;
    border: 1px dashed rgba(120,255,140,.14);
    border-radius: 16px;
    text-align: center;
    color: #b9c9be;
    background: rgba(255,255,255,.02);
}

@media (max-width: 1399.98px) {
    .slot-grid,
    .game-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .slot-grid,
    .game-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .slot-grid,
    .game-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .slot-thumb,
    .game-thumb {
        height: 190px;
    }

    .provider-box,
    .game-tab-item {
        min-width: 150px;
    }
}

@media (max-width: 767.98px) {
    .slot-page,
    .game-page {
        padding-bottom: 76px;
    }

    .slot-hero,
    .game-hero {
        padding: 18px;
        border-radius: 16px;
    }

    .slot-hero-title,
    .game-hero-title {
        font-size: 26px;
    }

    .slot-section-title,
    .game-section-title {
        font-size: 18px;
    }

    .slot-grid,
    .game-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .slot-thumb,
    .game-thumb {
        height: 104px;
        border-radius: 22px;
    }

    .slot-box,
    .game-box {
        padding: 14px;
        border-radius: 16px;
    }

    .provider-box,
    .game-tab-item {
        min-width: 140px;
        height: 50px;
    }

    .provider-text,
    .game-tab-text {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .provider-wrapper,
    .game-tab-wrapper {
        gap: 8px;
    }

    .provider-nav,
    .game-tab-nav {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .provider-box,
    .game-tab-item {
        min-width: 128px;
        height: 48px;
        border-radius: 8px;
        padding: 8px 12px;
    }

    .slot-search input,
    .game-search input,
    .game-search select {
        height: 44px;
    }
}