﻿/* {$keywords} - Responsive Design Styles */
/* Mobile-first responsive design for Brazilian gaming platform */

/* Mobile First Approach - Base styles are for mobile */

/* Extra Small Devices - Phones (320px and up) */
@media (min-width: 320px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-section {
        padding: 5rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .trust-item {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .payment-methods,
    .vip-tiers {
        grid-template-columns: 1fr;
    }
    
    .games-features .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .security-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Small Devices - Large Phones (480px and up) */
@media (min-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-item {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .btn-hero {
        padding: 1.125rem 1.75rem;
        font-size: 1.125rem;
    }
    
    .security-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-method,
    .vip-tier {
        padding: 1.25rem;
    }
    
    .games-features .feature-item {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
}

/* Medium Devices - Tablets (640px and up) */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .trust-indicators {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .trust-item {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.125rem;
    }
    
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vip-tiers {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-features {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: row;
        text-align: left;
    }
    
    /* Mobile Navigation Hidden */
    .mobile-menu-toggle {
        display: none;
    }
    
    .mobile-nav {
        display: none !important;
    }
    
    /* Show desktop elements */
    .header-actions {
        display: flex;
    }
}

/* Large Tablets and Small Desktops (768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }
    
    .hero-section {
        padding: 7rem 0 4rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .section-content {
        gap: 3rem;
    }
    
    .payment-methods {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .vip-tiers {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .games-features {
        gap: 1.5rem;
    }
    
    .feature-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Large Devices - Desktops (1024px and up) */
@media (min-width: 1024px) {
    .container {
        max-width: 1000px;
        padding: 0 2rem;
    }
    
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 4rem;
        align-items: center;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-text {
        order: 1;
    }
    
    .section-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
    
    .section-content.reverse {
        direction: rtl;
    }
    
    .section-content.reverse > * {
        direction: ltr;
    }
    
    .feature-image {
        max-width: none;
    }
    
    /* Desktop Navigation */
    .desktop-nav {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        gap: 2rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
    }
    
    /* Enhanced hover effects for desktop */
    .card:hover {
        transform: translateY(-4px);
    }
    
    .btn:hover {
        transform: translateY(-2px);
    }
    
    .feature-image:hover {
        transform: scale(1.02);
    }
    
    .vip-tier:hover {
        transform: translateY(-4px);
    }
}

/* Extra Large Devices - Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: var(--container-max-width);
    }
    
    .hero-section {
        padding: 10rem 0 5rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.375rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-content,
    .section-content {
        gap: 5rem;
    }
    
    .nav-menu {
        gap: 2.5rem;
    }
    
    .payment-method,
    .vip-tier,
    .card {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-section {
        padding: 12rem 0 6rem;
    }
    
    .hero-content,
    .section-content {
        gap: 6rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-logo img,
    .main-image,
    .feature-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Portrait Orientation */
@media (orientation: portrait) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-content.reverse {
        direction: ltr;
    }
}

/* Landscape Orientation for Tablets */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) {
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 3rem;
    }
    
    .section-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-section::before {
        animation: none;
    }
    
    .animate-fade-in-up,
    .animate-pulse {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-bg: #000000;
        --secondary-bg: #1a1a1a;
        --text-white: #ffffff;
        --text-gray: #cccccc;
        --accent-color: #ffff00;
    }
    
    .btn-primary,
    .btn-hero,
    .btn-hero-large {
        background: var(--accent-color);
        color: var(--primary-bg);
    }
    
    .card,
    .payment-method,
    .vip-tier {
        border: 2px solid var(--accent-color);
    }
}

/* Dark Mode (System Preference) */
@media (prefers-color-scheme: dark) {
    /* Already dark by default, but can add specific overrides if needed */
    
    .modal {
        background: var(--primary-bg);
        border: 1px solid rgba(240, 193, 89, 0.2);
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        background: var(--primary-bg);
        border-color: rgba(240, 193, 89, 0.3);
    }
}

/* Print Styles */
@media print {
    .hero-section {
        padding: 2rem 0;
        background: none !important;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .hero-content,
    .section-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .btn,
    .header-actions,
    .mobile-menu-toggle,
    .trust-indicators,
    .final-cta-section,
    .social-links {
        display: none !important;
    }
    
    .hero-title,
    .section-title {
        color: #000 !important;
        background: none !important;
        -webkit-text-fill-color: initial !important;
    }
    
    .main-image,
    .feature-image {
        max-width: 300px;
        margin: 1rem auto;
        display: block;
    }
    
    .payment-methods,
    .vip-tiers,
    .games-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .trust-grid {
        display: none;
    }
}

/* Specific Device Breakpoints */

/* iPhone SE and similar small phones */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .btn-hero {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .trust-item {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
    }
}

/* iPad and similar tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
    }
    
    .hero-content {
        gap: 2.5rem;
    }
    
    .section-content {
        gap: 2.5rem;
    }
}

/* Large desktop screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}