/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Accessibility */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1A0F2D 0%, #2D1B4E 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(26, 15, 45, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.online-players {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #B0B0B0;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #00FF00;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 24px;
}

.logo-m {
    background: linear-gradient(45deg, #8A2BE2, #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.logo-text {
    color: #ffffff;
    letter-spacing: 2px;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-login, .btn-register {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-login {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(45deg, #00FF00, #00CC00);
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 0, 0.4);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 15, 45, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    padding: 8px 0;
    z-index: 1000;
}

.mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    flex: 1;
}

.mobile-bottom-nav .nav-item.active {
    background: rgba(138, 43, 226, 0.2);
}

.mobile-bottom-nav .nav-icon {
    font-size: 20px;
    color: #B0B0B0;
    transition: color 0.3s ease;
}

.mobile-bottom-nav .nav-item.active .nav-icon {
    color: #8A2BE2;
}

.mobile-bottom-nav .nav-item span {
    font-size: 10px;
    color: #B0B0B0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-bottom-nav .nav-item.active span {
    color: #8A2BE2;
}

.mobile-bottom-nav .nav-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: #00FF00;
    color: #000000;
    font-size: 8px;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 6px;
    min-width: 12px;
    text-align: center;
}

/* Mobile App Promotion Banner */
.mobile-app-banner {
    display: none;
    background: linear-gradient(135deg, #2D1B4E 0%, #4A2C7A 100%);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.app-promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.app-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.app-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8A2BE2 0%, #9932CC 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.app-icon-m {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.app-details h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.stars {
    color: #FFD700;
    font-size: 14px;
}

.rating-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
}

.bonus-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bonus-badge span {
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
}

.gift-icon {
    font-size: 14px;
    transform: rotate(-15deg);
}

.app-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.install-btn {
    background: linear-gradient(45deg, #8A2BE2, #9932CC);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

.platform-info {
    color: #B0B0B0;
    font-size: 10px;
    text-align: center;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
}

.app-icon-small {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #8A2BE2 0%, #9932CC 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

.app-icon-small .app-icon-m {
    font-size: 16px;
}

.login-btn-mobile {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.login-btn-mobile:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.register-btn-mobile {
    background: linear-gradient(45deg, #00FF00, #00CC00);
    color: #000000;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
    flex: 1;
}

.register-btn-mobile:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 255, 0, 0.4);
}

/* Main Layout */
.main {
    padding: 20px 0;
}

.layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    min-height: calc(100vh - 200px);
}

/* Sidebar Styles */
.sidebar {
    background: rgba(45, 27, 78, 0.8);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.login-section {
    margin-bottom: 20px;
}

.login-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(138, 43, 226, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.login-link:hover {
    background: rgba(138, 43, 226, 0.2);
    transform: translateX(5px);
}

.login-link .icon {
    font-size: 18px;
}

.login-link .arrow {
    margin-left: auto;
    font-weight: bold;
}

.game-modes {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.mode-btn {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.mode-btn.active {
    background: linear-gradient(45deg, #8A2BE2, #9932CC);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.mode-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    font-size: 14px;
}

.nav-item:hover {
    background: rgba(138, 43, 226, 0.1);
    transform: translateX(5px);
}

.nav-item.active {
    background: rgba(138, 43, 226, 0.2);
    border-left: 4px solid #8A2BE2;
}

.nav-item .icon {
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.nav-item .badge {
    background: #00FF00;
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 10px;
    margin-left: auto;
}

/* Content Area */
.content {
    background: rgba(26, 15, 45, 0.6);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.2);
}

/* Banner Carousel */
.banners {
    margin-bottom: 40px;
}

.banner-carousel {
    position: relative;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.banner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    overflow: hidden;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Carousel functionality for desktop - show all banners by default */
.banner-carousel.desktop-carousel {
    position: relative;
}

.banner-carousel.desktop-carousel .banner {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Desktop carousel indicators */
.desktop-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.desktop-carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.desktop-carousel-indicators .indicator.active {
    background: #8A2BE2;
    transform: scale(1.2);
}

/* Hide mobile indicators on desktop */
@media (min-width: 769px) {
    .carousel-indicators {
        display: none;
    }
}

/* Hide desktop indicators on mobile */
@media (max-width: 768px) {
    .desktop-carousel-indicators {
        display: none;
    }
}

.banner:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    border-radius: 15px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.banner-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    text-align: center;
    width: 100%;
    max-width: 95%;
}

.banner-content h2 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    background: linear-gradient(45deg, #ffffff, #8A2BE2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.banner-content p {
    font-size: 10px;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-banner {
    padding: 6px 12px;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 10px;
    background: linear-gradient(45deg, #8A2BE2, #9932CC);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    width: 100%;
    max-width: 100px;
}

.btn-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

/* Desktop/Mobile Banner Visibility */
.desktop-banner {
    display: block;
}

.mobile-banner {
    display: none;
}

.carousel-indicators {
    display: none;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #8A2BE2;
    transform: scale(1.2);
}

/* Search Section */
.search-section {
    margin-bottom: 30px;
}

.search-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-bar {
    position: relative;
    flex: 1;
}

.search-bar .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #B0B0B0;
}

.search-bar input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.providers-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(45, 27, 78, 0.8);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.providers-btn:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.5);
}

.providers-icon {
    font-size: 16px;
}

.search-bar input:focus {
    outline: none;
    border-color: #8A2BE2;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.2);
}

.search-bar input::placeholder {
    color: #B0B0B0;
}

.game-categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.game-categories::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    background: rgba(45, 27, 78, 0.8);
    color: #ffffff;
    border: 1px solid rgba(138, 43, 226, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
}

.category-btn.active {
    background: linear-gradient(45deg, #8A2BE2, #9932CC);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
    border-color: #8A2BE2;
    transform: scale(1.05);
}

.category-btn:hover:not(.active) {
    background: rgba(138, 43, 226, 0.3);
    border-color: rgba(138, 43, 226, 0.5);
}

.category-btn::before {
    content: '';
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* Specific icons for each category button */
.lobby-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M3 3h18v2H3V3zm0 4h18v2H3V7zm0 4h18v2H3v-2zm0 4h18v2H3v-2z'/%3E%3C/svg%3E");
}

.popular-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.mell-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.top-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M5 16L3 5l5.5 5L12 4l3.5 6L21 5l-2 11H5zm2.7-2h8.6l1.1-6.4L12 8.5 7.6 7.6L7.7 14z'/%3E%3C/svg%3E");
}

.slots-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z'/%3E%3C/svg%3E");
}

.roulette-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z'/%3E%3C/svg%3E");
}

.new-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.live-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}

.bonus-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
}

.quick-btn::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z'/%3E%3C/svg%3E");
}

/* Popular Games */
.popular-games {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.section-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #B0B0B0;
}

.nav-arrows {
    display: flex;
    gap: 8px;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(138, 43, 226, 0.2);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
}

.arrow-btn:hover {
    background: rgba(138, 43, 226, 0.4);
    transform: scale(1.1);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.2);
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-3px);
    background: rgba(138, 43, 226, 0.1);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.2);
}

.game-image {
    margin-bottom: 10px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-img {
    transform: scale(1.05);
}

.game-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

/* SEO Content */
.seo-content {
    margin-top: 50px;
}

.content-block {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.1);
}

.content-block h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    background: linear-gradient(45deg, #8A2BE2, #00BFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-block h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    color: #ffffff;
}

.content-block p {
    margin-bottom: 15px;
    color: #E0E0E0;
    line-height: 1.7;
}

.content-block ul, .content-block ol {
    margin: 15px 0 15px 30px;
    color: #E0E0E0;
}

.content-block li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-block strong {
    color: #ffffff;
    font-weight: 600;
}

/* Footer */
.footer {
    background: rgba(26, 15, 45, 0.95);
    border-top: 1px solid rgba(138, 43, 226, 0.3);
    margin-top: 50px;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-section p {
    color: #B0B0B0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #B0B0B0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8A2BE2;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    color: #B0B0B0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        position: static;
        order: 2;
    }
    
    .content {
        order: 1;
    }
}

@media (max-width: 768px) {
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .container {
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
        width: 100%;
    }
    
    .main {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .banners {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .search-section {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .popular-games {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .seo-content {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 0;
    }
    
    .auth-buttons {
        justify-content: center;
        gap: 10px;
    }
    
    .btn-login, .btn-register {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* Show mobile app banner on mobile devices */
    .mobile-app-banner {
        display: block;
    }
    
    /* Show mobile bottom navigation */
    .mobile-bottom-nav {
        display: flex;
    }
    
    /* Add bottom padding to body for mobile nav */
    body {
        padding-bottom: 70px;
    }
    
/* Mobile Layout */
.layout {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 100%;
    overflow-x: hidden;
}

.sidebar {
    order: 2;
    position: static;
    padding: 15px;
    margin-bottom: 20px;
    max-width: 100%;
    overflow-x: hidden;
}

.content {
    order: 1;
    padding: 15px;
    max-width: 100%;
    overflow-x: hidden;
}
    
    /* Mobile Banner Carousel */
    .banner-carousel {
        height: 248px;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 15px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        max-width: 100%;
    }
    
    .banner-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .banner {
        width: 374px;
        height: 248px;
        padding: 20px;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        scroll-snap-align: start;
        margin-left: 20px;
    }
    
    .banner-content {
        padding: 15px;
        max-width: 100%;
        text-align: center;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 10px;
        backdrop-filter: blur(10px);
    }
    
    .banner-content h2 {
        font-size: 20px;
        margin-bottom: 8px;
        line-height: 1.2;
        font-weight: 700;
    }
    
    .banner-content p {
        font-size: 16px;
        margin-bottom: 12px;
        line-height: 1.3;
        opacity: 0.9;
    }
    
    .btn-banner {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 150px;
        border-radius: 25px;
    }
    
    /* Mobile Banner Visibility */
    .desktop-banner {
        display: none;
    }
    
    .mobile-banner {
        display: block;
    }
    
    /* Show carousel indicators on mobile */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 15px;
    }
    
    .carousel-indicators .indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .carousel-indicators .indicator.active {
        background: #8A2BE2;
        transform: scale(1.2);
    }
    
    /* Mobile Search */
    .search-section {
        margin-bottom: 20px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .search-controls {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 15px;
        max-width: 100%;
    }
    
    .search-bar input {
        padding: 10px 12px 10px 35px;
        font-size: 12px;
        border-radius: 15px;
        max-width: 100%;
    }
    
    .search-bar .search-icon {
        left: 12px;
        font-size: 14px;
    }
    
    .providers-btn {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 15px;
        justify-content: center;
        max-width: 100%;
    }
    
    /* Mobile Game Categories */
    .game-categories {
        gap: 6px;
        padding: 5px 0;
        margin-bottom: 15px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }
    
    .game-categories::-webkit-scrollbar {
        display: none;
    }
    
    .category-btn {
        padding: 6px 10px;
        font-size: 11px;
        min-height: 28px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    
    .category-btn::before {
        width: 12px;
        height: 12px;
    }
    
    /* Mobile Games Grid */
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .game-card {
        padding: 10px;
        border-radius: 10px;
        max-width: 100%;
    }
    
    .game-image {
        height: 70px;
        margin-bottom: 8px;
        border-radius: 6px;
        max-width: 100%;
    }
    
    .game-card h4 {
        font-size: 12px;
    }
    
    /* Mobile Section Headers */
    .section-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .section-header h3 {
        font-size: 16px;
    }
    
    .section-controls {
        gap: 10px;
    }
    
    .arrow-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    /* Mobile SEO Content */
    .seo-content {
        margin-top: 30px;
    }
    
    .content-block {
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 15px;
    }
    
    .content-block h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .content-block h3 {
        font-size: 14px;
        margin: 15px 0 10px 0;
    }
    
    .content-block p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .content-block ul, .content-block ol {
        margin: 10px 0 10px 20px;
    }
    
    .content-block li {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    /* Mobile Footer */
    .footer {
        margin-top: 30px;
        padding: 20px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .footer-section p {
        font-size: 13px;
    }
    
    .footer-section ul li {
        margin-bottom: 5px;
    }
    
    .footer-section ul li a {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .banner-carousel {
        height: 220px;
        gap: 8px;
    }
    
    .banner {
        width: 320px;
        height: 220px;
        padding: 18px;
        margin-left: 15px;
    }
    
    .banner-content h2 {
        font-size: 19px;
    }
    
    .banner-content p {
        font-size: 15px;
    }
    
    .btn-banner {
        font-size: 13px;
        max-width: 130px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    .header-content {
        gap: 8px;
        padding: 8px 0;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo-m {
        font-size: 24px;
    }
    
    .btn-login, .btn-register {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    /* Mobile app banner adjustments for small screens */
    .mobile-app-banner {
        padding: 10px 12px;
    }
    
    .app-icon {
        width: 35px;
        height: 35px;
    }
    
    .app-icon-m {
        font-size: 18px;
    }
    
    .app-details h3 {
        font-size: 13px;
    }
    
    .rating {
        gap: 4px;
        margin-bottom: 4px;
    }
    
    .stars {
        font-size: 12px;
    }
    
    .rating-text {
        font-size: 10px;
    }
    
    .bonus-badge {
        padding: 3px 6px;
        border-radius: 8px;
    }
    
    .bonus-badge span {
        font-size: 10px;
    }
    
    .gift-icon {
        font-size: 12px;
    }
    
    .install-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .platform-info {
        font-size: 9px;
    }
    
    .login-btn-mobile, .register-btn-mobile {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .app-icon-small {
        width: 28px;
        height: 28px;
    }
    
    .app-icon-small .app-icon-m {
        font-size: 14px;
    }
    
    /* Layout adjustments */
    .layout {
        gap: 10px;
    }
    
    .sidebar {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .content {
        padding: 12px;
    }
    
    /* Banner adjustments */
    .banner-carousel {
        height: 200px;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .banner {
        width: 300px;
        height: 200px;
        padding: 15px;
        border-radius: 12px;
        margin-left: 10px;
    }
    
    .banner-content {
        padding: 12px;
    }
    
    .banner-content h2 {
        font-size: 18px;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .banner-content p {
        font-size: 14px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .btn-banner {
        padding: 8px 16px;
        font-size: 12px;
        max-width: 120px;
        border-radius: 20px;
    }
    
    /* Search adjustments */
    .search-bar input {
        padding: 8px 10px 8px 30px;
        font-size: 11px;
        border-radius: 12px;
    }
    
    .search-bar .search-icon {
        left: 10px;
        font-size: 12px;
    }
    
    /* Game categories */
    .game-categories {
        gap: 4px;
        padding: 3px 0;
        margin-bottom: 12px;
    }
    
    .category-btn {
        padding: 4px 8px;
        font-size: 10px;
        min-height: 24px;
        border-radius: 10px;
    }
    
    .category-btn::before {
        width: 10px;
        height: 10px;
    }
    
    /* Games grid */
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .game-card {
        padding: 8px;
        border-radius: 8px;
    }
    
    .game-image {
        height: 60px;
        margin-bottom: 6px;
        border-radius: 5px;
    }
    
    .game-card h4 {
        font-size: 11px;
    }
    
    /* Section headers */
    .section-header {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .section-header h3 {
        font-size: 14px;
    }
    
    .section-controls {
        gap: 8px;
    }
    
    .arrow-btn {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    /* SEO content */
    .seo-content {
        margin-top: 20px;
    }
    
    .content-block {
        padding: 12px;
        margin-bottom: 15px;
        border-radius: 12px;
    }
    
    .content-block h2 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .content-block h3 {
        font-size: 12px;
        margin: 12px 0 8px 0;
    }
    
    .content-block p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .content-block ul, .content-block ol {
        margin: 8px 0 8px 15px;
    }
    
    .content-block li {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    /* Footer */
    .footer {
        margin-top: 20px;
        padding: 15px 0 10px;
    }
    
    .footer-content {
        gap: 15px;
    }
    
    .footer-section h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .footer-section p {
        font-size: 12px;
    }
    
    .footer-section ul li {
        margin-bottom: 4px;
    }
    
    .footer-section ul li a {
        font-size: 12px;
    }
    
    .footer-bottom {
        padding-top: 12px;
        font-size: 11px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-block {
    animation: fadeInUp 0.6s ease-out;
}

.game-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.btn-login:hover, .btn-register:hover, .btn-banner:hover, .mode-btn:hover, .category-btn:hover, .nav-item:hover, .game-card:hover, .arrow-btn:hover {
    transform: translateY(-2px);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 15, 45, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #8A2BE2, #9932CC);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #9932CC, #8A2BE2);
}
