/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop (1024px - 1439px) */
@media (max-width: 1439px) and (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .container {
        max-width: 750px;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablet Portrait (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) {
    .container {
        max-width: 580px;
        padding: 0 15px;
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .nav-brand {
        display: flex;
        align-items: center;
    }
    
    .nav-brand h1 {
        font-size: 1.4rem;
    }
    
    .site-logo {
        height: 35px;
        max-width: 180px;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .promo-banner {
        margin-top: 70px;
        padding: 0.8rem 0;
    }
    
    .promo-text {
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .games-section,
    .why-us-section,
    .steps-section,
    .contact-section {
        padding: 4rem 0;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .game-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h3 {
        margin-bottom: 1rem;
    }
}

/* Mobile Large (480px - 599px) */
@media (max-width: 599px) and (min-width: 480px) {
    .container {
        max-width: 460px;
        padding: 0 15px;
    }
    
    .nav-brand {
        flex: 1;
    }
    
    .nav-brand h1 {
        font-size: 1.3rem;
    }
    
    .site-logo {
        height: 32px;
        max-width: 150px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .social-icons {
        display: none;
    }
    
    .promo-banner {
        margin-top: 60px;
    }
    
    .hero {
        padding: 4rem 0 2.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .floating-card {
        min-height: 250px;
        padding: 1.5rem;
    }
    
    .hero-image-placeholder i {
        font-size: 3rem;
    }
    
    .hero-image-placeholder p {
        font-size: 1.1rem;
    }
    
    .hero-main-image {
        max-height: 250px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .games-section,
    .why-us-section,
    .steps-section,
    .contact-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 1.8rem 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Mobile Medium (375px - 479px) */
@media (max-width: 479px) and (min-width: 375px) {
    .container {
        max-width: 350px;
        padding: 0 12px;
    }
    
    .nav-brand {
        flex: 1;
        min-width: 0;
    }
    
    .nav-brand h1 {
        font-size: 1.2rem;
    }
    
    .site-logo {
        height: 28px;
        max-width: 120px;
    }
    
    .promo-text {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }
    
    .floating-card {
        min-height: 220px;
        padding: 1.5rem;
    }
    
    .hero-image-placeholder i {
        font-size: 2.5rem;
    }
    
    .hero-image-placeholder p {
        font-size: 1rem;
    }
    
    .hero-main-image {
        max-height: 220px;
    }
    
    .games-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .game-card,
    .feature-card {
        padding: 1.5rem 1.2rem;
    }
    
    .game-icon,
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .step-card {
        padding: 1.5rem 1.2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 1.2rem;
    }
    
    .contact-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Mobile Small (320px - 374px) */
@media (max-width: 374px) {
    .container {
        max-width: 300px;
        padding: 0 10px;
    }
    
    .nav-brand {
        flex: 1;
        min-width: 0;
    }
    
    .nav-brand h1 {
        font-size: 1.1rem;
    }
    
    .site-logo {
        height: 24px;
        max-width: 100px;
    }
    
    .promo-banner {
        padding: 0.6rem 0;
    }
    
    .promo-text {
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-features {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
    }
    
    .feature-item i {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .games-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .game-card,
    .feature-card {
        padding: 1.2rem;
    }
    
    .game-icon,
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .game-card h3,
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .game-card p,
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .play-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .step-card {
        padding: 1.2rem;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .contact-btn {
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .disclaimer p {
        font-size: 0.8rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .whatsapp-float {
        bottom: 8px;
        right: 8px;
    }
    
    .whatsapp-link {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* Ultra Small (below 320px) */
@media (max-width: 319px) {
    .container {
        padding: 0 8px;
    }
    
    .nav-brand h1 {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .games-grid,
    .features-grid {
        gap: 0.8rem;
    }
    
    .game-card,
    .feature-card {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
}

/* ===== LANDSCAPE ORIENTATION ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .floating-card {
        padding: 1.2rem;
    }
    
    .floating-card i {
        font-size: 2.5rem;
    }
}

/* ===== HIGH RESOLUTION DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-title,
    .section-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .nav-brand h1 {
        letter-spacing: -0.5px;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-card {
        animation: none;
    }
    
    .pulse {
        animation: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .promo-banner,
    .whatsapp-float,
    .social-icons,
    .hamburger {
        display: none !important;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title,
    .section-title {
        background: none !important;
        -webkit-text-fill-color: var(--primary-dark) !important;
        color: var(--primary-dark) !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .game-card,
    .feature-card,
    .step-card {
        border: 2px solid #ccc !important;
        box-shadow: none !important;
    }
}