/* Responsive Styles */

/* Large Desktops */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 992px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .game-modes,
    .features,
    .testimonials,
    .blog-preview,
    .final-cta {
        padding: 4rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        margin-bottom: 0rem;
        width: 80%;
        max-width: 300px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header .btn {
        margin-top: 1rem;
    }
}

/* Small Devices (Phones) */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #222;
        transition: left 0.3s ease;
        z-index: 99;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
    }
    
    .main-nav ul li {
        margin: 1rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .modes-grid,
    .features-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .game-modes,
    .features,
    .testimonials,
    .blog-preview,
    .final-cta {
        padding: 1rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Extra Small Devices (Small Phones) */
@media (max-width: 480px) {
    .container {
        width: 98%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .mode-card,
    .feature-item,
    .testimonial-card,
    .blog-card {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .game-modes,
    .features,
    .testimonials,
    .blog-preview,
    .final-cta {
        padding: 2rem 0;
    }
}

/* Adjustments for specific elements on small screens */
@media (max-width: 576px) {
    .modes-grid,
    .features-grid,
    .testimonials-grid,
    .blog-grid {
        gap: 1.5rem;
    }
    
    .blog-image-placeholder {
        height: 150px;
    }
    
    .final-cta p {
        padding: 0 10px;
    }
}

/* Landscape mode adjustments for phones */
@media (max-width: 768px) and (orientation: landscape) {
    .main-nav {
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .hero {
        padding: 2rem 0;
    }
}

/* Hide elements on print */
@media print {
    .site-header,
    .main-nav,
    .mobile-menu-toggle,
    .cta-buttons,
    .final-cta,
    .site-footer {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
}
