/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

/* Desktops and Laptops (992px - 1199px) */
@media (max-width: 1199px) {
    :root {
        --space-xxl: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
}

/* Tablets and Small Laptops (768px - 991px) */
@media (max-width: 991px) {
    :root {
        --space-xl: 28px;
        --space-lg: 20px;
    }
    
    .container {
        padding: 0 var(--space-lg);
    }
    
    .header-container {
        padding: 0 var(--space-lg);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .nav {
        display: flex;
        align-items: center;
        position: static;
        justify-content: flex-end;
    }
    
    .menu-toggle {
        display: block;
        order: 2;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--dark-color);
        padding: var(--space-xxl) var(--space-lg);
        flex-direction: column;
        transition: var(--transition);
        z-index: 1001;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        overflow-y: auto; 
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: var(--space-md);
    }
    
    .nav-link {
        width: 100%;
        display: block;
        padding: var(--space-md);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-buttons {
        margin-top: 0;
        margin-right: var(--space-md);
        margin-left: 0;
        flex-direction: row;
        width: auto;
        order: 1;
        justify-content: center;
        gap: var(--space-md);
    }
    
    .nav-buttons .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        width: auto;
        min-width: 70px;
        flex: none;
        max-width: none;
        text-align: center;
    }
    
    .header .lang-switcher {
        display: none;
    }
    
    .nav-list .nav-buttons {
        margin-top: var(--space-xl);
        width: 100%;
        order: 0;
    }
    
    .nav-list .nav-buttons .btn {
        flex: 1;
        max-width: 160px;
    }
    
    .hero {
        padding-top: calc(var(--header-height) + var(--space-xl));
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-container {
        gap: var(--space-xl);
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    /* Games Section */
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    /* Bonuses Section */
    .bonus-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* CTA Section */
    .cta-container {
        padding: var(--space-xl);
    }
}

/* Mobile Devices (576px - 767px) */
@media (max-width: 767px) {
    :root {
        --space-xl: 24px;
        --space-lg: 16px;
        --space-md: 12px;
        --header-height: 70px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .nav-buttons {
        gap: var(--space-sm); 
    }
    
    .nav-buttons .btn {
        padding: 5px 10px; 
        font-size: 0.8rem;
    }
    
    /* Hero Section */
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: var(--space-lg);
    }
    
    .hero-badge {
        top: 10px;
        right: 10px;
        transform: rotate(0);
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .feature-card {
        padding: var(--space-lg);
    }
    
    /* Games Section */
    .games-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .game-card {
    max-width: none;
    width: 100%;
    margin: 0;
}

.container {
    padding: 0 var(--space-sm);
}

.game-content {
    padding: var(--space-md);
}
    /* Bonuses Section */
    .bonus-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .bonus-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* CTA Section */
    .cta-container {
        padding: var(--space-lg);
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-column:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: var(--space-lg);
    }
    
    .footer-disclaimer {
        flex-direction: column;
        gap: var(--space-lg);
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .header-container {
        padding: 0 var(--space-md);
    }
    
    .logo img {
        height: 32px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .bonus-amount {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .floating-cta {
        width: 50px;
        height: 50px;
        bottom: var(--space-md);
        right: var(--space-md);
    }
    
    .nav-buttons .btn {
        padding: 4px 8px;
        font-size: 0.75rem;
        min-width: 60px;
    }
}

@media (max-width: 400px) {
    .nav-list .nav-buttons {
        flex-direction: column;
    }
    
    .nav-list .nav-buttons .btn {
        max-width: 100%;
        margin-bottom: var(--space-sm);
    }
    
    .nav-list .nav-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

.mobile-menu-buttons,
.mobile-menu-lang {
    display: none;
}

.header-buttons,
.header-lang {
    display: flex;
}

@media (max-width: 991px) {
    .nav-list.active .mobile-menu-buttons,
    .nav-list.active .mobile-menu-lang {
        display: flex;
        width: 100%;
        margin-top: var(--space-xl);
    }
}