

.slots-lobby-page {
    padding: 24px var(--content-padding);
    max-width: 1400px;
    margin: 0 auto;
}


.slots-banner {
    position: relative;
    width: 100%;
    min-height: 280px;
    border-radius: 28px;
    background: linear-gradient(135deg, #121418 0%, #0d0f14 100%);
    overflow: hidden;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    padding: 40px 60px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.slots-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(200, 200, 200, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.slots-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, #c0c0c0 1px, transparent 1px),
        radial-gradient(circle at 25% 60%, #d8d8d8 1px, transparent 1px),
        radial-gradient(circle at 45% 30%, #f0f0f0 1px, transparent 1px),
        radial-gradient(circle at 70% 70%, #c0c0c0 1px, transparent 1px),
        radial-gradient(circle at 90% 40%, #d8d8d8 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.3;
    animation: slots-sparks 10s linear infinite;
    z-index: 1;
}

@keyframes slots-sparks {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

.slots-banner-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.slots-banner-content h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slots-banner-content p {
    font-size: clamp(13px, 1.5vw, 15px);
    color: var(--text-secondary, #a1a1aa);
    max-width: 450px;
    line-height: 1.6;
}

.slots-banner-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 60px;
    z-index: 2;
}

.slots-banner-featured {
    width: 200px;
    height: 140px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: perspective(1000px) rotateY(-15deg);
    animation: slots-float 3s ease-in-out infinite;
}

.slots-banner-featured img {
    max-width: 120px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
}

@keyframes slots-float {

    0%,
    100% {
        transform: translateY(0) perspective(1000px) rotateY(-15deg);
    }

    50% {
        transform: translateY(-10px) perspective(1000px) rotateY(-15deg);
    }
}


.lobby-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}


.search-bar-lobby {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 20px;
    width: 100%;
    transition: all 0.2s ease;
}

.search-bar-lobby:focus-within {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.search-bar-lobby i {
    font-size: 20px;
    color: var(--text-secondary);
}

.search-bar-lobby input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    width: 100%;
}

.search-bar-lobby input::placeholder {
    color: var(--text-secondary);
}


.providers-swiper-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.providers-swiper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
    flex: 1;
}

.providers-swiper::-webkit-scrollbar {
    display: none;
}

.providers-nav {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.providers-nav:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.providers-nav i {
    font-size: 20px;
}

.provider-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.provider-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.provider-count {
    background: rgba(255, 255, 255, 0.12);
    color: #e0e0e0;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.provider-chip.active {
    background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 100%);
    color: #1a1a1a;
    border-color: transparent;
}

.provider-chip.active .provider-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.provider-chip i {
    font-size: 16px;
}


.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}


.slots-lobby-page .game-card {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #3b3b3b 0%, #1a1a1a 100%);
    padding: 3px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slots-lobby-page .game-card.hidden {
    display: none;
}

.slots-lobby-page .game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(180, 120, 255, 0.4) 0%, rgba(255, 150, 100, 0.3) 50%, rgba(100, 200, 255, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.slots-lobby-page .game-card:hover::before {
    opacity: 1;
}

.slots-lobby-page .game-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.slots-lobby-page .game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
}

.slots-lobby-page .game-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
    border-radius: 0 0 13px 13px;
}

.slots-lobby-page .game-card-title {
    font-weight: 600;
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.slots-lobby-page .game-card-play {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.slots-lobby-page .game-card-play i {
    font-size: 14px;
    color: #fff;
    margin-left: 2px;
}

.slots-lobby-page .game-card:hover .game-card-play {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}


.load-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-bottom: 20px;
}

.load-more-info {
    font-size: 14px;
    color: var(--text-secondary, #a1a1aa);
    font-weight: 500;
}

.load-more-info span {
    color: var(--text-primary, #fff);
    font-weight: 600;
}

.load-more-progress {
    width: 100%;
    max-width: 600px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.load-more-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #a0a0a0 0%, #ffffff 100%);
    border-radius: 4px;
    transition: width 0.4s ease;
    position: relative;
}

.load-more-progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary, #fff);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-load-more:active {
    transform: translateY(0);
}

.btn-load-more.loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn-load-more.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.no-results-message {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.no-results-message.hidden {
    display: none;
}

.no-results-message i {
    font-size: 80px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #1a64fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
}

.no-results-message h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.no-results-message p {
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}


.game-card-skeleton {
    background: linear-gradient(145deg, #1a3347 0%, #0d1f2d 100%);
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
}

.game-card-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}


@media (max-width: 1024px) {
    .slots-lobby-page {
        padding: 20px 16px;
    }

    .slots-banner {
        min-height: 220px;
        padding: 32px 40px;
    }

    .slots-banner-image {
        width: 40%;
    }

    .search-bar-lobby {
        width: 280px;
    }

    .slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 14px;
    }
}


@media (max-width: 768px) {
    .slots-lobby-page {
        padding: 16px 12px;
        padding-bottom: calc(var(--bottom-nav-height) + 24px);
    }

    .slots-banner {
        min-height: 160px;
        padding: 24px;
        border-radius: 20px;
        margin-bottom: 24px;
    }

    .slots-banner-image {
        display: none;
    }

    .slots-banner-content {
        text-align: center;
    }

    .slots-banner-content h1 {
        font-size: 24px;
    }

    .slots-banner-content p {
        margin: 0 auto;
        font-size: 13px;
    }

    .lobby-header {
        gap: 16px;
        margin-bottom: 20px;
    }

    .lobby-title-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .slots-counter {
        text-align: center;
        font-size: 13px;
        padding: 8px 14px;
    }

    .search-bar-lobby {
        width: 100%;
        padding: 14px 16px;
    }

    .btn-load-more {
        width: 100%;
        padding: 14px 32px;
        font-size: 14px;
    }

    .load-more-container {
        margin-top: 24px;
        padding: 0 12px;
    }

    
    .providers-list {
        gap: 8px;
    }

    .providers-nav {
        width: 32px;
        height: 32px;
    }

    .provider-chip {
        padding: 8px 14px;
        font-size: 12px;
    }

    .provider-chip i {
        font-size: 14px;
    }

    .search-bar-lobby {
        padding: 12px 16px;
    }

    
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .slots-lobby-page .game-card {
        border-radius: 12px;
        padding: 2px;
    }

    .slots-lobby-page .game-card img {
        border-radius: 10px;
    }

    .slots-lobby-page .game-card-overlay {
        padding: 8px 10px;
        border-radius: 0 0 10px 10px;
    }

    .slots-lobby-page .game-card-title {
        font-size: 11px;
    }

    .slots-lobby-page .game-card-play {
        width: 26px;
        height: 26px;
    }

    .slots-lobby-page .game-card-play i {
        font-size: 12px;
    }

    
    .slots-lobby-page .game-card:hover {
        transform: none;
        box-shadow: none;
    }

    .slots-lobby-page .game-card:active {
        transform: scale(0.97);
    }

    
    .no-results-message {
        padding: 60px 16px;
    }

    .no-results-message i {
        font-size: 60px;
    }

    .no-results-message h3 {
        font-size: 20px;
    }
}


@media (max-width: 480px) {
    .slots-lobby-page {
        padding: 12px 8px;
        padding-bottom: calc(var(--bottom-nav-height) + 20px);
    }

    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .slots-lobby-page .game-card {
        border-radius: 10px;
    }

    .slots-lobby-page .game-card img {
        border-radius: 8px;
    }

    .slots-lobby-page .game-card-overlay {
        padding: 6px 8px;
        border-radius: 0 0 8px 8px;
    }

    .slots-lobby-page .game-card-title {
        font-size: 10px;
    }

    .slots-lobby-page .game-card-play {
        width: 22px;
        height: 22px;
    }

    .slots-lobby-page .game-card-play i {
        font-size: 10px;
    }

    .provider-chip {
        padding: 8px 12px;
        font-size: 11px;
    }
}


@media (hover: none) and (pointer: coarse) {
    .slots-lobby-page .game-card:hover {
        transform: none;
        box-shadow: none;
    }

    .slots-lobby-page .game-card:hover::before {
        opacity: 0.5;
    }

    .slots-lobby-page .game-card:hover .game-card-play {
        transform: none;
    }

    .slots-lobby-page .game-card:active {
        transform: scale(0.97);
    }

    .provider-chip:hover {
        transform: none;
        box-shadow: none;
    }

    .provider-chip:active {
        transform: scale(0.97);
    }
}