
/* ========================================
   Be Affiliate King - Responsive Styles
   Mobile-First Responsive Design
   ======================================== */

/* Tablet Devices (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .casino-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Mobile Devices (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        width: 100%;
        padding: var(--spacing-md);
        text-align: center;
    }
    
    /* Hero */
    .hero {
        padding: var(--spacing-xl) 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-group {
        gap: var(--spacing-sm);
    }
    
    .trust-badges {
        gap: var(--spacing-sm);
    }
    
    /* Sections */
    section {
        padding: var(--spacing-xl) 0;
    }
    
    /* Casino Cards */
    .casino-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .casino-card {
        padding: var(--spacing-md);
    }
    
    .bonus-amount {
        font-size: 2rem;
    }
    
    /* Bonus Table */
    .bonus-table-wrapper {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
    
    .bonus-table {
        min-width: 600px;
    }
    
    .bonus-table th,
    .bonus-table td {
        padding: var(--spacing-sm);
        font-size: 0.875rem;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Blog Grid */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .rg-logos {
        flex-direction: column;
        align-items: center;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .bonus-amount {
        font-size: 1.75rem;
    }
    
    .casino-info {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .btn {
        padding: 10px 16px;
    }
}

/* Landscape Mobile (max-height: 500px) */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: var(--spacing-lg) 0;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets for mobile */
    .btn {
        min-height: 48px;
        padding: 14px 24px;
    }
    
    .nav-menu a {
        min-height: 48px;
    }
    
    .category-btn {
        min-height: 44px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .mobile-menu-toggle,
    .cta-group,
    .site-footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}
