/* ═══════════════════════════════════════════════════════════════
   X10BET CASINO LOBBY - PIXEL-PERFECT REFERENCE MATCH
   Matching x10tn.net/machines-a-sous pixel-by-pixel
   ═══════════════════════════════════════════════════════════════ */

:root {
    --casino-bg: #0a1929;
    --casino-card: #1a2332;
    --casino-card-hover: #1e2938;
    --casino-accent: #f5a623;
    --casino-accent-hover: #ffc107;
    --casino-text: #ffffff;
    --casino-text-muted: #9ca3af;
    --casino-border: rgba(255,255,255,0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--casino-bg) !important;
    color: var(--casino-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile Menu Open State - Prevent scrolling and interaction */
body.menu-open {
    overflow: hidden !important;
    touch-action: none !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

body.menu-open .x10-casino-container {
    pointer-events: none;
}

body.menu-open .x10-providers-ribbon {
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT CONTAINER - Pixel-perfect match
   ═══════════════════════════════════════════════════════════════ */

.x10-casino-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
    /* box-sizing keeps padding inside declared width */
    box-sizing: border-box;
}

.x10-casino-hero{display:flex;align-items:center;min-height:116px;margin:0 0 18px;padding:22px 24px;background:linear-gradient(135deg,#06111d,#0b1827);border:1px solid rgba(255,255,255,.055);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.16)}
.x10-casino-eyebrow{display:block;margin-bottom:7px;color:#c9a24a;font-size:10px;font-weight:700;letter-spacing:.18em}.x10-casino-hero h1{margin:0;color:#f4f6f8;font-size:clamp(20px,2.4vw,30px);font-weight:700;line-height:1.15}.x10-casino-hero p{margin:8px 0 0;color:#a8b2be;font-size:13px}
.x10-favorite-control{position:absolute;right:7px;top:7px;z-index:5;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.12);border-radius:50%;background:rgba(2,7,13,.78);color:#a8b2be;cursor:pointer;transition:color 150ms ease,background 150ms ease,transform 150ms ease}.x10-favorite-control:hover,.x10-favorite-control:focus-visible{color:#d8b65c;background:rgba(2,7,13,.94);transform:scale(1.04);outline:0}.x10-favorite-control.is-active{color:#d8b65c}.x10-favorite-control svg{width:16px;height:16px;stroke:currentColor;fill:none}.x10-favorite-control.is-active svg{fill:currentColor}@media(prefers-reduced-motion:reduce){.x10-favorite-control{transition:none}}
.x10-favorites-filter{display:flex;gap:6px;margin-top:8px}.x10-favorites-filter-btn{min-height:28px;padding:0 11px;border:1px solid rgba(255,255,255,.07);border-radius:6px;background:#0b1827;color:#a8b2be;font-size:11px;cursor:pointer}.x10-favorites-filter-btn.is-active{border-color:rgba(201,162,74,.55);color:#d8b65c;background:#101f30}
.x10-results-summary{min-height:16px;margin-top:7px;color:#718092;font-size:10px;letter-spacing:.04em;text-transform:uppercase}
.x10-demo-winners{margin:0 0 12px;padding:6px 10px;background:#0b1827;border:1px solid rgba(255,255,255,.055);border-radius:9px;overflow:hidden}.x10-demo-winners-head{display:flex;align-items:center;gap:8px;height:14px;margin:0 0 4px}.x10-demo-winners-title{margin:0;color:#f4f6f8;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}.x10-demo-winners-label{color:#c9a24a;font-size:8px;font-weight:700;letter-spacing:.08em;white-space:nowrap}.x10-demo-winners-row{display:flex;gap:7px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}.x10-demo-winners-row::-webkit-scrollbar{display:none}.x10-demo-winner{display:flex;align-items:center;gap:7px;flex:0 0 195px;height:58px;padding:6px 8px;background:#101f30;border:1px solid rgba(255,255,255,.045);border-radius:8px;scroll-snap-align:start;transition:transform 180ms ease,border-color 180ms ease}.x10-demo-winner:hover{transform:translateY(-2px);border-color:rgba(201,162,74,.34)}.x10-demo-thumb{display:none;flex:0 0 34px;width:34px;height:34px;object-fit:cover;border-radius:7px;background:#142538}.x10-demo-winner.has-image .x10-demo-thumb{display:block}.x10-demo-copy{min-width:0}.x10-demo-player{color:#a8b2be;font-size:9px;line-height:11px}.x10-demo-game{margin:1px 0;color:#f4f6f8;font-size:10px;font-weight:600;line-height:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.x10-demo-meta{display:flex;align-items:center;gap:5px;color:#718092;font-size:8px;line-height:10px}.x10-demo-amount{color:#d8b65c;font-size:11px;font-weight:700}@media(max-width:600px){.x10-demo-winners{margin-bottom:10px;padding:5px 8px}.x10-demo-winners-head{height:14px;margin-bottom:4px}.x10-demo-winner{flex-basis:190px;height:58px}.x10-demo-winners-title{font-size:10px}}
@media(prefers-reduced-motion:reduce){.x10-demo-winner{transition:none}}

/* ═══════════════════════════════════════════════════════════════
   SEARCH BAR - Exact proportions from reference
   ═══════════════════════════════════════════════════════════════ */

.x10-search-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--casino-bg);
    padding: 20px 0;
    margin-bottom: 10px;
}

.x10-search-box {
    position: relative;
    max-width: 100%;
}

.x10-search-input {
    width: 100%;
    height: 48px;
    background: var(--casino-card);
    border: 1px solid var(--casino-border);
    border-radius: 8px;
    padding: 0 16px 0 48px;
    font-size: 14px;
    color: var(--casino-text);
    transition: all 0.2s ease;
}

.x10-search-input::placeholder {
    color: var(--casino-text-muted);
    opacity: 0.7;
}

.x10-search-input:focus {
    outline: none;
    border-color: var(--casino-accent);
    background: var(--casino-card-hover);
}

.x10-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--casino-text-muted);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION SPACING - Exact vertical rhythm from reference
   ═══════════════════════════════════════════════════════════════ */

.x10-section {
    margin-bottom: 28px;
    position: relative;
    /* Contain section width to parent */
    max-width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADER - Provider row header (logo + name + View All)
   ═══════════════════════════════════════════════════════════════ */

.x10-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0;
    min-height: 32px;
    /* Prevent flex children from forcing container wider */
    min-width: 0;
    width: 100%;
}

.x10-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--casino-text);
    line-height: 1;
    text-transform: uppercase;
    /* Allow shrinking in flex to prevent overflow */
    min-width: 0;
    overflow: hidden;
}

.x10-section-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}

.x10-section-count {
    font-size: 12px;
    color: var(--casino-text-muted);
    font-weight: 400;
    opacity: 0.7;
    margin-left: 4px;
}

.x10-view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--casino-accent);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    text-transform: uppercase;
}

.x10-view-all:hover {
    color: var(--casino-accent-hover);
    gap: 6px;
}

.x10-view-all svg {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

/* ═══════════════════════════════════════════════════════════════
   HORIZONTAL SCROLL - Smooth scrolling container
   ═══════════════════════════════════════════════════════════════ */

.x10-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    contain: layout style paint;
    /* Explicit width prevents sizing beyond parent */
    width: 100%;
    max-width: 100%;
    display: block;
}

.x10-scroll-container::-webkit-scrollbar {
    display: none;
}

.x10-games-row {
    display: flex;
    gap: 8px;
    padding: 0;
}

/* ═══════════════════════════════════════════════════════════════
   GAME CARD - Rebuilt to match X10BET reference
   ═══════════════════════════════════════════════════════════════ */

.x10-game-card {
    flex: 0 0 auto;
    width: 96px;
    position: relative;
    contain: layout style paint;
}

.x10-game-link {
    display: block;
    text-decoration: none;
    background: #1A2430;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    height: 100%;
}

.x10-game-link:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 20px rgba(245,166,35,0.5);
    will-change: transform;
}

.x10-game-thumb {
    position: relative;
    width: 96px;
    height: 96px;
    overflow: hidden;
    background: #0f1419;
    contain: strict;
}

.x10-game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.x10-game-image[data-src] {
    filter: blur(8px);
    transform: scale(1.1);
}

.x10-game-link:hover .x10-game-image {
    transform: scale(1.05);
    will-change: transform;
}



.x10-game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.x10-game-link:hover .x10-game-overlay {
    opacity: 1;
}

.x10-game-play-btn {
    width: 32px;
    height: 32px;
    background: var(--casino-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(245,166,35,0.6);
}

.x10-game-badges {
    position: absolute;
    top: 4px;
    left: 4px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.x10-badge {
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.x10-badge-new {
    background: #10b981;
    color: #fff;
}

.x10-badge-hot {
    background: var(--casino-accent);
    color: #000;
}

.x10-badge-live {
    background: #ef4444;
    color: #fff;
}

.x10-game-info {
    padding: 8px;
}

.x10-game-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--casino-text);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 28px;
}

.x10-game-provider {
    font-size: 10px;
    color: var(--casino-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.7;
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════
   PROVIDER LOGO RIBBON - Provider filter cards
   ═══════════════════════════════════════════════════════════════ */

.x10-providers-ribbon {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    position: relative;
    z-index: 1;
    contain: layout style;
    /* Prevent ribbon from making the page wider */
    width: 100%;
    max-width: 100%;
}

.x10-providers-ribbon::-webkit-scrollbar {
    display: none;
}

.x10-provider-card {
    flex: 0 0 auto;
    width: 110px;
    height: 60px;
    background: var(--casino-card);
    border: 1px solid var(--casino-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    will-change: transform;
    contain: layout style paint;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.x10-provider-card:hover {
    background: var(--casino-card-hover);
    border-color: rgba(245,166,35,0.3);
    transform: translateY(-2px);
}

.x10-provider-card.active {
    background: var(--casino-card-hover);
    border-color: var(--casino-accent);
    border-width: 2px;
    box-shadow: 0 0 12px rgba(245,166,35,0.4);
}

.x10-provider-card.active .x10-provider-name {
    color: var(--casino-accent);
}

.x10-provider-logo {
    max-width: 100%;
    max-height: 32px;
    object-fit: contain;
}

.x10-provider-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--casino-text);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMB (Provider View)
   ═══════════════════════════════════════════════════════════════ */

.x10-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    margin-bottom: 8px;
    font-size: 14px;
}

.x10-breadcrumb-link {
    color: var(--casino-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.x10-breadcrumb-link:hover {
    color: var(--casino-accent);
}

.x10-breadcrumb-separator {
    color: var(--casino-text-muted);
    opacity: 0.5;
}

.x10-breadcrumb-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.x10-breadcrumb-current {
    color: var(--casino-accent);
    font-weight: 600;
}

.x10-breadcrumb-count {
    color: var(--casino-text-muted);
    font-size: 13px;
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   NEW GAMES SECTION
   ═══════════════════════════════════════════════════════════════ */

.x10-new-games-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--casino-text);
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   VIEW ALL CARD - End-of-row "View All" card
   ═══════════════════════════════════════════════════════════════ */

.x10-view-all-card {
    flex: 0 0 auto;
    width: 96px;
    height: 138px;
    background: var(--casino-card);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.x10-view-all-card:hover {
    background: var(--casino-card-hover);
    border-color: var(--casino-accent);
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(245,166,35,0.35);
}

.x10-view-all-icon {
    width: 28px;
    height: 28px;
    background: rgba(245,166,35,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--casino-accent);
    font-size: 14px;
    font-weight: 600;
}

.x10-view-all-text {
    font-size: 11px;
    font-weight: 500;
    color: var(--casino-text);
    text-align: center;
    line-height: 1.2;
}

.x10-view-all-count {
    font-size: 9px;
    color: var(--casino-text-muted);
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════════════ */

.x10-empty {
    text-align: center;
    padding: 80px 20px;
}

.x10-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    opacity: 0.2;
}

.x10-empty-text {
    font-size: 16px;
    color: var(--casino-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS - Pixel-perfect at all sizes
   ═══════════════════════════════════════════════════════════════ */

/* Large Desktop 1920px+ */
@media (min-width: 1920px) {
    .x10-casino-container {
        max-width: 1920px;
        padding: 0 40px;
    }
}

/* Desktop 1440px-1919px */
@media (max-width: 1919px) {
    .x10-casino-container {
        padding: 0 30px;
    }
}

/* Laptop 1024px-1439px */
@media (max-width: 1439px) {
    .x10-casino-container {
        padding: 0 24px;
    }
    
    .x10-game-card {
        width: 94px;
    }
    
    .x10-game-thumb {
        width: 94px;
        height: 94px;
    }
    
    .x10-view-all-card {
        width: 94px;
        height: 136px;
    }
}

/* Tablet 768px-1023px */
@media (max-width: 1023px) {
    .x10-casino-container {
        padding: 0 20px;
    }
    
    .x10-search-wrapper {
        padding: 16px 0;
    }
    
    .x10-section {
        margin-bottom: 24px;
    }
    
    .x10-section-header {
        margin-bottom: 10px;
        min-height: 28px;
    }
    
    .x10-section-title {
        font-size: 15px;
    }
    
    .x10-section-logo {
        height: 22px;
    }
    
    .x10-game-card {
        width: 88px;
    }
    
    .x10-game-thumb {
        width: 88px;
        height: 88px;
    }
    
    .x10-view-all-card {
        width: 88px;
        height: 130px;
    }
    
    .x10-provider-card {
        width: 100px;
        height: 56px;
    }
    
    .x10-provider-logo {
        max-height: 28px;
    }
}

/* Mobile 480px-767px */
@media (max-width: 767px) {
    .x10-casino-container {
        padding: 0 16px;
    }
    
    .x10-search-input {
        height: 44px;
        padding: 0 14px 0 44px;
        font-size: 13px;
    }
    
    .x10-search-icon {
        left: 14px;
    }
    
    .x10-games-row {
        gap: 6px;
    }
    
    .x10-section {
        margin-bottom: 20px;
    }
    
    .x10-game-card {
        width: 84px;
    }
    
    .x10-game-thumb {
        width: 84px;
        height: 84px;
    }
    
    .x10-view-all-card {
        width: 84px;
        height: 124px;
    }
    
    .x10-game-play-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .x10-provider-card {
        width: 95px;
        height: 52px;
    }
    
    .x10-new-games-title {
        font-size: 16px;
    }
}

/* Mobile Medium 375px-479px */
@media (max-width: 479px) {
    .x10-casino-container {
        padding: 0 12px;
    }
    
    .x10-game-card {
        width: 80px;
    }
    
    .x10-game-thumb {
        width: 80px;
        height: 80px;
    }
    
    .x10-view-all-card {
        width: 80px;
        height: 118px;
    }
    
    .x10-section-title {
        font-size: 14px;
    }
    
    .x10-provider-card {
        width: 90px;
        height: 50px;
    }
}

/* Mobile Small 320px-374px */
@media (max-width: 374px) {
    .x10-casino-container {
        padding: 0 10px;
    }
    
    .x10-games-row {
        gap: 6px;
    }
    
    .x10-game-card {
        width: 76px;
    }
    
    .x10-game-thumb {
        width: 76px;
        height: 76px;
    }
    
    .x10-view-all-card {
        width: 76px;
        height: 114px;
    }
    
    .x10-search-input {
        height: 42px;
        padding: 0 12px 0 42px;
        font-size: 12px;
    }
    
    .x10-search-icon {
        left: 12px;
    }
    
    .x10-provider-card {
        width: 85px;
        height: 48px;
    }
    
    .x10-section-header {
        min-height: 24px;
    }
    
    .x10-section-title {
        font-size: 13px;
        gap: 6px;
    }
    
    .x10-section-logo {
        height: 18px;
    }
    
    .x10-view-all {
        font-size: 11px;
    }
    
    .x10-game-name {
        font-size: 10px;
        min-height: 26px;
    }
    
    .x10-game-provider {
        font-size: 9px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE TOUCH OPTIMIZATION
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
    .x10-game-overlay {
        pointer-events: none;
    }
    
    .x10-game-card,
    .x10-game-thumb {
        touch-action: pan-x pan-y;
    }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES (JS filtering support)
   ═══════════════════════════════════════════════════════════════ */

.x10-hidden {
    display: none !important;
}

.cl-show {
    display: flex !important;
}

.cl-visible {
    visibility: visible !important;
}

/* ═══════════════════════════════════════════════════════════════
   SPA TRANSITIONS (Provider View)
   ═══════════════════════════════════════════════════════════════ */

.x10-view-transition {
    transition: opacity 200ms ease, transform 200ms ease;
    will-change: opacity;
}

.x10-fade-out {
    opacity: 0;
    pointer-events: none;
}

.x10-fade-in {
    opacity: 1;
    pointer-events: auto;
}

.x10-breadcrumb.x10-hidden {
    display: none;
}

.x10-game-hidden {
    display: none !important;
}

/* Fast provider switch: hide all cards by default when body has filter class */
body.x10-filtering-provider [data-oroplay-card="1"] {
    display: none;
}

body.x10-filtering-provider [data-oroplay-card="1"].x10-show {
    display: block;
}

.x10-provider-section.x10-provider-active .x10-scroll-container {
    overflow: visible;
}

/* ═══════════════════════════════════════════════════════════════
   PROVIDER VIEW - Premium Grid Layout (160px cards)
   ═══════════════════════════════════════════════════════════════ */

.x10-provider-section.x10-provider-active .x10-games-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.x10-provider-section.x10-provider-active .x10-game-card {
    width: 100%;
    max-width: 200px;
}

.x10-provider-section.x10-provider-active .x10-game-link {
    background: #1A2430;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.x10-provider-section.x10-provider-active .x10-game-thumb {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    flex-shrink: 0;
    background: #0f1419;
    height: 0;
}

.x10-provider-section.x10-provider-active .x10-game-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;
}

.x10-provider-section.x10-provider-active .x10-game-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
    height: 62px;
}

.x10-provider-section.x10-provider-active .x10-game-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 32px;
}

.x10-provider-section.x10-provider-active .x10-game-provider {
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.x10-provider-section.x10-provider-active .x10-view-all,
.x10-provider-section.x10-provider-active .x10-view-all-card {
    display: none !important;
}

.x10-provider-section.x10-provider-active .x10-section-title {
    color: var(--casino-accent);
}

/* ═══════════════════════════════════════════════════════════════
   PROVIDER VIEW - Load More System
   ═══════════════════════════════════════════════════════════════ */

/* Hide games beyond 12th initially in provider view */
.x10-provider-section.x10-provider-active .x10-game-card.x10-provider-hidden {
    display: none !important;
}

/* Fade-in animation for newly loaded games */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.x10-game-card.x10-loaded-game {
    animation: fadeInUp 0.4s ease-out;
}

/* Load More Button Container */
.x10-load-more-container {
    display: none;
    justify-content: center;
    margin: 24px 0;
    padding: 0 16px;
}

.x10-provider-section.x10-provider-active .x10-load-more-container {
    display: flex;
}

.x10-provider-section.x10-provider-active .x10-load-more-container.x10-hidden {
    display: none;
}

/* Load More Button */
.x10-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--casino-accent) 0%, #d98b1e 100%);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(245,166,35,0.3);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.x10-load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,166,35,0.5);
    background: linear-gradient(135deg, #ffb84d 0%, var(--casino-accent) 100%);
}

.x10-load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(245,166,35,0.4);
}

.x10-load-more-btn .x10-load-icon {
    font-size: 18px;
    line-height: 1;
}

.x10-load-more-btn .x10-load-count {
    opacity: 0.8;
    font-weight: 600;
}

/* Responsive Grid */
@media (min-width: 1600px) {
    .x10-provider-section.x10-provider-active .x10-games-row {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (min-width: 1280px) and (max-width: 1599px) {
    .x10-provider-section.x10-provider-active .x10-games-row {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .x10-provider-section.x10-provider-active .x10-games-row {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .x10-provider-section.x10-provider-active .x10-games-row {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .x10-provider-section.x10-provider-active .x10-games-row {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 479px) {
    .x10-provider-section.x10-provider-active .x10-games-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}
