/* ====== PROBET855 - RESPONSIVE STYLESHEET ====== */

/* ====== MOBILE FIRST APPROACH ====== */

/* ====== SMALL DEVICES (576px and up) ====== */
@media (min-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .jackpot-amount {
        font-size: 2rem;
    }
    
    .game-card {
        margin-bottom: 0;
    }
    
    .promotion-card {
        margin-bottom: 0;
    }
    
    .testimonial-card {
        margin-bottom: 0;
    }
}

/* ====== MEDIUM DEVICES (768px and up) ====== */
@media (min-width: 768px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .bonus-card {
        padding: 2rem;
    }
    
    .hero-buttons {
        margin-top: 2rem;
    }
    
    .trust-indicators {
        margin-top: 2rem;
    }
    
    /* Navigation */
    .navbar {
        padding: 1.5rem 0;
    }
    
    .navbar-nav {
        margin: 0 2rem;
    }
    
    /* Games Section */
    .game-image img {
        height: 250px;
    }
    
    .game-info {
        padding: 2rem;
    }
    
    /* Promotions Section */
    .promotion-header {
        padding: 2rem;
    }
    
    .promotion-body {
        padding: 2rem;
    }
    
    .bonus-amount h2 {
        font-size: 2.5rem;
    }
    
    /* Why Us Section */
    .feature-card {
        padding: 2.5rem;
    }
    
    /* Payment Methods */
    .payment-method {
        padding: 2rem;
    }
    
    /* Mobile App Section */
    .app-content {
        padding-right: 2rem;
    }
    
    .qr-code {
        padding: 2.5rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 2.5rem;
    }
    
    /* FAQ Section */
    .accordion-button {
        padding: 2rem;
        font-size: 1.1rem;
    }
    
    .accordion-body {
        padding: 2rem;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-links {
        margin-bottom: 2rem;
    }
}

/* ====== LARGE DEVICES (992px and up) ====== */
@media (min-width: 992px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .min-vh-100 {
        min-height: 100vh !important;
    }
    
    /* Navigation */
    .navbar-nav {
        margin: 0 3rem;
    }
    
    .nav-link {
        margin: 0 0.75rem;
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 6rem 0;
    }
    
    .games-section,
    .promotions-section,
    .why-us-section,
    .payments-section,
    .mobile-app-section,
    .testimonials-section,
    .faq-section {
        padding: 6rem 0;
    }
    
    /* Games Section */
    .game-image img {
        height: 220px;
    }
    
    /* Features Grid */
    .feature-card {
        height: calc(100% - 2rem);
    }
    
    /* Payment Methods Grid */
    .payment-method {
        height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Testimonials */
    .testimonial-card {
        height: calc(100% - 2rem);
    }
    
    /* Footer */
    .footer-about {
        margin-bottom: 0;
    }
    
    .footer-links {
        margin-bottom: 0;
    }
}

/* ====== EXTRA LARGE DEVICES (1200px and up) ====== */
@media (min-width: 1200px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .lead {
        font-size: 1.5rem;
    }
    
    .jackpot-amount {
        font-size: 3rem;
    }
    
    /* Container */
    .container {
        max-width: 1140px;
    }
    
    /* Navigation */
    .navbar-nav {
        margin: 0 4rem;
    }
    
    /* Game Cards */
    .game-image img {
        height: 240px;
    }
    
    .game-info h5 {
        font-size: 1.25rem;
    }
    
    /* Promotion Cards */
    .promotion-card.featured .bonus-amount h2 {
        font-size: 3rem;
    }
    
    /* Feature Cards */
    .feature-icon i {
        font-size: 4rem;
    }
    
    .feature-card h4 {
        font-size: 1.5rem;
    }
    
    /* Testimonials */
    .testimonial-content {
        font-size: 1.1rem;
    }
    
    .user-info h6 {
        font-size: 1.1rem;
    }
    
    /* FAQ */
    .accordion-button {
        font-size: 1.2rem;
    }
    
    .accordion-body {
        font-size: 1.1rem;
    }
}

/* ====== XXL DEVICES (1400px and up) ====== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .game-image img {
        height: 260px;
    }
}

/* ====== CUSTOM BREAKPOINTS ====== */

/* ====== SMALL MOBILE (320px - 375px) ====== */
@media (max-width: 375px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .bonus-card {
        padding: 1rem;
    }
    
    .bonus-card h3 {
        font-size: 1.2rem;
    }
    
    .bonus-card h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .trust-item {
        padding: 0.5rem;
    }
    
    .trust-item i {
        font-size: 1.5rem;
    }
    
    .trust-item small {
        font-size: 0.8rem;
    }
    
    /* Navigation */
    .navbar-brand img {
        height: 30px;
    }
    
    .navbar-buttons .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Game Cards */
    .game-image img {
        height: 180px;
    }
    
    .game-info {
        padding: 1rem;
    }
    
    .game-info h5 {
        font-size: 1rem;
    }
    
    .game-stats .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Promotion Cards */
    .promotion-header {
        padding: 1rem;
    }
    
    .promotion-body {
        padding: 1rem;
    }
    
    .bonus-amount h2 {
        font-size: 1.5rem;
    }
    
    .bonus-details li {
        font-size: 0.9rem;
        padding: 0.25rem 0;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    /* Payment Methods */
    .payment-method {
        padding: 1rem;
    }
    
    .payment-icon img {
        max-height: 30px;
    }
    
    .payment-method p {
        font-size: 0.9rem;
    }
    
    /* Mobile App */
    .app-content h2 {
        font-size: 1.8rem;
    }
    
    .app-feature {
        font-size: 0.9rem;
    }
    
    .app-buttons .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .qr-code {
        padding: 1.5rem;
    }
    
    .qr-code img {
        max-width: 150px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content {
        font-size: 0.9rem;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
    }
    
    /* FAQ */
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer-logo {
        height: 30px;
    }
    
    .footer-about p {
        font-size: 0.9rem;
    }
    
    .footer-links h5 {
        font-size: 1rem;
    }
    
    .footer-links ul li a {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* ====== MEDIUM MOBILE (376px - 425px) ====== */
@media (min-width: 376px) and (max-width: 425px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .bonus-card {
        padding: 1.2rem;
    }
    
    .bonus-card h3 {
        font-size: 1.3rem;
    }
    
    .bonus-card h2 {
        font-size: 1.8rem;
    }
    
    /* Game Cards */
    .game-image img {
        height: 200px;
    }
    
    .game-info {
        padding: 1.2rem;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.8rem;
    }
    
    .feature-icon i {
        font-size: 2.5rem;
    }
    
    /* Payment Methods */
    .payment-method {
        padding: 1.2rem;
    }
    
    .payment-icon img {
        max-height: 35px;
    }
    
    /* Mobile App */
    .app-content h2 {
        font-size: 2rem;
    }
    
    .qr-code {
        padding: 1.8rem;
    }
    
    .qr-code img {
        max-width: 180px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.8rem;
    }
    
    .testimonial-content {
        font-size: 1rem;
    }
    
    /* FAQ */
    .accordion-button {
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1.2rem;
        font-size: 1rem;
    }
}

/* ====== TABLET LANDSCAPE (768px - 1024px) ====== */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-content {
        padding-top: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    /* Sections */
    section {
        padding: 4rem 0;
    }
    
    /* Game Cards */
    .game-image img {
        height: 200px;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 2rem;
    }
    
    .feature-icon i {
        font-size: 3rem;
    }
    
    /* Payment Methods */
    .payment-method {
        height: 100px;
    }
    
    /* Mobile App */
    .app-content {
        padding-right: 1rem;
    }
    
    .qr-code {
        padding: 2rem;
        max-width: 250px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 2rem;
    }
}

/* ====== HIGH RESOLUTION DEVICES ====== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Improve image quality for retina displays */
    .navbar-brand img,
    .footer-logo,
    .provider-logo img,
    .payment-icon img,
    .user-avatar {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ====== DARK MODE PREFERENCE ====== */
@media (prefers-color-scheme: dark) {
    /* Ensure consistent dark theme */
    body {
        background-color: var(--primary-dark);
        color: var(--text-primary);
    }
}

/* ====== REDUCED MOTION ====== */
@media (prefers-reduced-motion: reduce) {
    /* Disable animations for users who prefer reduced motion */
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fade-in,
    .slide-in-left,
    .slide-in-right {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ====== PRINT STYLES ====== */
@media print {
    /* Hide non-essential elements */
    .navbar,
    .whatsapp-float,
    .cookie-consent,
    .modal,
    .app-buttons,
    .hero-buttons,
    .game-overlay button,
    .promotion-card button,
    .social-links {
        display: none !important;
    }
    
    /* Adjust colors for print */
    body {
        background-color: white !important;
        color: black !important;
    }
    
    .card-dark,
    .promotion-card,
    .feature-card,
    .testimonial-card,
    .accordion-item {
        background-color: white !important;
        border: 1px solid #ccc !important;
        color: black !important;
    }
    
    .text-warning,
    .text-gradient-gold {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
    
    /* Remove backgrounds */
    .hero-section,
    .games-section,
    .promotions-section,
    .why-us-section,
    .payments-section,
    .mobile-app-section,
    .testimonials-section,
    .faq-section,
    .footer {
        background-color: white !important;
    }
}

/* ====== TOUCH DEVICE OPTIMIZATIONS ====== */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets for mobile devices */
    .btn,
    .nav-link,
    .game-overlay button,
    .promotion-card button,
    .social-links a,
    .whatsapp-float {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Adjust hover states for touch */
    .game-card:hover,
    .promotion-card:hover,
    .feature-card:hover,
    .payment-method:hover,
    .testimonial-card:hover,
    .provider-logo:hover {
        transform: none;
    }
    
    /* Remove hover effects */
    .game-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .nav-link::after {
        display: none;
    }
}

/* ====== LANDSCAPE ORIENTATION ====== */
@media (orientation: landscape) and (max-height: 500px) {
    /* Adjust for small landscape screens */
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand img {
        height: 25px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
}

/* ====== ACCESSIBILITY IMPROVEMENTS ====== */
@media (prefers-contrast: high) {
    /* Increase contrast for better visibility */
    :root {
        --text-secondary: #e0e0e0;
        --text-muted: #b0b0b0;
        --border-dark: #404040;
    }
    
    .btn-outline-light {
        border-width: 2px;
    }
    
    .game-card,
    .promotion-card,
    .feature-card,
    .payment-method,
    .testimonial-card,
    .accordion-item {
        border-width: 2px;
    }
}

/* ====== FOCUS VISIBLE ====== */
@media (focus-visible) {
    /* Improve focus visibility for keyboard navigation */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible {
        outline: 2px solid var(--accent-gold);
        outline-offset: 2px;
    }
    
    .nav-link:focus-visible {
        background-color: rgba(255, 215, 0, 0.1);
    }
}
