@media (max-width: 992px) {
    .about-content,
    .contact-grid,
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .copyright {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media (max-width: 768px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
        position: absolute;
        left: 1rem;
    }
    
    .logo {
        margin: 0 auto;
        position: relative;
        z-index: 1000;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgb(18, 18, 18);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        z-index: 999;
    }
    
    nav.active {
        max-height: 500px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0rem;
        margin-top: 0;
    }
    
    nav li {
        text-align: center;
    }
    
    nav a {
        font-size: 1.2rem;
        display: block;
        padding: 1rem 0;
    }
    
    /* Анимация бургера в крестик */
    .menu-toggle .bar {
        display: block;
        width: 24px;
        height: 3px;
        background: var(--anthracite);
        margin: 2px 0;
        transition: var(--transition);
        transform-origin: center;
    }
    
    .menu-toggle.active .bar1 {
        transform: translateY(7.5px) rotate(45deg);
    }
    
    .menu-toggle.active .bar2 {
        opacity: 0;
    }
    
    .menu-toggle.active .bar3 {
        transform: translateY(-7.5px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-pattern {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }

    .game-card:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
    }
    
    .games-grid {
        gap: 2rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.4rem;
    }
    
    .contact-form {
        padding: 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .submit-container {
        order: 1;
    }

    .captcha-container {
        margin-top: 10px;
        order: 2;
    }
    
    .g-recaptcha {
        width: 100% !important;
    }
    
    .submit-container .btn {
        width: 100%;
    }
    
    .form-submit {
        justify-content: center;
    }
    
    .form-submit .btn {
        width: 100%;
    }

    .copyright {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }

    .copyright {
        padding-left: 0px;
        padding-right: 0px;
    }
}