/* Responsive Styles */

/* For large screens */
@media (min-width: 1200px) {
    .section-container {
        padding: 5rem 2rem;
    }
    
    .hero-content h2 {
        font-size: 4rem;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .about-content {
        gap: 6rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* For medium screens */
@media (max-width: 1199px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* For tablets */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-icons {
        justify-content: space-around;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .contact-image {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-icon {
        margin: 0 0.5rem;
    }
}

/* For large mobile devices */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--midnight-blue);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-card {
        height: 320px;
    }
}

/* For small mobile devices */
@media (max-width: 480px) {
    .logo {
        width: 40px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-container {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-icons {
        flex-direction: column;
        gap: 2rem;
    }
    
    .popup-content {
        padding: 1.5rem;
    }
}