/* ========================================
   AIRBET Theme - Responsive CSS
   ======================================== */

/* === Tablet Landscape (1024px) === */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }

    .air-hero {
        min-height: 500px;
    }

    .air-hero-brand {
        font-size: 56px;
    }

    .air-hero-tagline {
        font-size: 26px;
    }

    .air-hero-desc {
        font-size: 16px;
    }

    .air-hero-stats {
        gap: 25px;
    }

    .stat-number {
        font-size: 28px;
    }

    .air-section-title {
        font-size: 30px;
    }

    .air-games-grid,
    .air-features-grid,
    .air-testimonials-grid,
    .air-news-grid,
    .air-article-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .air-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .air-footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
    }

    .air-nav-menu .nav-link {
        padding: 12px 15px;
        font-size: 13px;
    }

    .air-floating-sidebar {
        right: 10px;
    }

    .air-sidebar-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* === Tablet Portrait (768px) === */
@media (max-width: 768px) {
    .air-announcement-content {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }

    .air-announcement-content span {
        display: block;
    }

    .air-header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .air-header-time {
        display: none;
    }

    .air-header-btns {
        gap: 8px;
    }

    .air-btn-login,
    .air-btn-register,
    .air-btn-demo {
        padding: 8px 15px;
        font-size: 12px;
    }

    .air-mobile-toggle {
        display: block;
    }

    .air-nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .air-nav-menu.active {
        display: flex;
    }

    .air-nav-menu .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(25, 118, 210, 0.1);
    }

    .air-hero {
        min-height: 450px;
        border-radius: 20px;
    }

    .air-hero-content {
        padding: 30px 20px;
    }

    .air-hero-brand {
        font-size: 42px;
    }

    .air-hero-tagline {
        font-size: 22px;
    }

    .air-hero-desc {
        font-size: 15px;
    }

    .air-hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .air-hero-stat {
        flex: 0 0 calc(50% - 10px);
    }

    .stat-number {
        font-size: 24px;
    }

    .air-hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .air-btn-primary,
    .air-btn-secondary {
        padding: 12px 30px;
        font-size: 14px;
        text-align: center;
    }

    .air-section-title {
        font-size: 26px;
    }

    .air-section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .air-games,
    .air-features,
    .air-stats,
    .air-testimonials,
    .air-news {
        padding: 40px 0;
    }

    .air-games-grid,
    .air-features-grid,
    .air-testimonials-grid,
    .air-news-grid,
    .air-article-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .air-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .air-stat-number {
        font-size: 32px;
    }

    .air-stat-label {
        font-size: 14px;
    }

    .air-footer-cta {
        padding: 50px 20px;
        border-radius: 20px;
    }

    .air-footer-cta-content h2 {
        font-size: 32px;
    }

    .air-footer-cta-content p {
        font-size: 15px;
    }

    .air-footer-cta-features {
        flex-direction: column;
        gap: 15px;
    }

    .air-cta-main-btn {
        font-size: 16px;
        padding: 15px 40px;
    }

    .air-content {
        flex-direction: column;
    }

    .air-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .air-license-icons {
        gap: 20px;
    }

    .air-license-item i {
        font-size: 28px;
    }

    .air-single-article,
    .air-related-posts,
    .air-page-article,
    .air-category-header {
        padding: 25px;
    }

    .air-article-title {
        font-size: 28px;
    }

    .air-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .air-breadcrumb {
        padding: 12px 15px;
        font-size: 13px;
    }

    .air-floating-sidebar {
        position: fixed;
        right: 5px;
        bottom: 10px;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 8px;
    }

    .air-sidebar-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .air-sidebar-label {
        display: none;
    }

    .air-filter-tabs {
        gap: 8px;
    }

    .air-filter-tab {
        padding: 8px 18px;
        font-size: 13px;
    }
}

/* === Mobile (480px) === */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }

    .air-logo-text {
        font-size: 22px;
    }

    .air-logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .air-header-btns {
        gap: 5px;
    }

    .air-btn-login,
    .air-btn-register,
    .air-btn-demo {
        padding: 6px 12px;
        font-size: 11px;
    }

    .air-hero {
        min-height: 400px;
        margin: 15px 0;
        border-radius: 15px;
    }

    .air-hero-content {
        padding: 20px 15px;
    }

    .air-hero-brand {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .air-hero-divider {
        width: 60px;
        margin: 10px auto;
    }

    .air-hero-tagline {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .air-hero-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 11px;
    }

    .air-section-title {
        font-size: 22px;
    }

    .air-section-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .air-game-card,
    .air-feature-item {
        padding: 25px 20px;
    }

    .air-game-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .air-game-card h3 {
        font-size: 18px;
    }

    .air-feature-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .air-feature-item h3 {
        font-size: 18px;
    }

    .air-stat-cloud {
        padding: 30px 20px;
    }

    .air-stat-cloud::before {
        width: 45px;
        height: 45px;
        top: -22px;
        left: 15px;
    }

    .air-stat-cloud::after {
        width: 38px;
        height: 38px;
        top: -19px;
        right: 18px;
    }

    .air-stat-number {
        font-size: 28px;
    }

    .air-stat-label {
        font-size: 13px;
    }

    .air-testimonial-bubble {
        padding: 20px;
    }

    .air-testimonial-avatar {
        width: 50px;
        height: 50px;
    }

    .air-testimonial-info h4 {
        font-size: 14px;
    }

    .air-footer-cta-content h2 {
        font-size: 26px;
    }

    .air-footer-cta-content p {
        font-size: 14px;
    }

    .air-view-more {
        padding: 10px 25px;
        font-size: 14px;
    }

    .air-single-article,
    .air-related-posts,
    .air-page-article,
    .air-category-header {
        padding: 20px 15px;
    }

    .air-article-title {
        font-size: 24px;
    }

    .air-article-meta {
        gap: 10px;
        font-size: 12px;
    }

    .air-article-content h2,
    .air-page-content h2 {
        font-size: 22px;
    }

    .air-article-nav {
        flex-direction: column;
        gap: 15px;
    }

    .air-related-grid {
        grid-template-columns: 1fr;
    }

    .air-related-thumb {
        height: 120px;
    }

    .air-footer {
        padding: 40px 0 20px;
    }

    .air-footer-logo {
        font-size: 24px;
    }

    .air-footer-logo i {
        font-size: 28px;
    }

    .air-footer-desc {
        font-size: 14px;
    }

    .air-footer-social a {
        width: 35px;
        height: 35px;
    }

    .air-license-icons {
        gap: 15px;
    }

    .air-license-item i {
        font-size: 24px;
    }

    .air-license-item span {
        font-size: 12px;
    }

    .air-footer-copyright {
        font-size: 14px;
    }

    .air-footer-disclaimer {
        font-size: 12px;
    }

    .air-floating-sidebar {
        right: 3px;
        gap: 5px;
    }

    .air-sidebar-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .air-breadcrumb {
        padding: 10px 12px;
        font-size: 12px;
        gap: 8px;
    }

    .cloud-1 { width: 80px; height: 40px; }
    .cloud-2 { width: 100px; height: 50px; }
    .cloud-3 { width: 70px; height: 35px; }
    .cloud-4 { width: 90px; height: 45px; }
    .cloud-5 { width: 75px; height: 38px; }

    .cloud-cta-1 { width: 100px; height: 50px; }
    .cloud-cta-2 { width: 80px; height: 40px; }
}

/* === Small Mobile (360px) === */
@media (max-width: 360px) {
    .air-hero-brand {
        font-size: 30px;
    }

    .air-hero-tagline {
        font-size: 16px;
    }

    .air-section-title {
        font-size: 20px;
    }

    .air-stats-grid {
        grid-template-columns: 1fr;
    }

    .air-footer-cta-content h2 {
        font-size: 22px;
    }
}

/* === Landscape Mobile === */
@media (max-height: 500px) and (orientation: landscape) {
    .air-hero {
        min-height: 350px;
    }

    .air-hero-brand {
        font-size: 40px;
    }

    .air-hero-tagline {
        font-size: 20px;
    }

    .air-floating-sidebar {
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
        flex-direction: column;
    }
}

/* === Print Styles === */
@media print {
    .air-announcement-bar,
    .air-header,
    .air-nav,
    .air-floating-sidebar,
    .air-footer {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .air-single-article,
    .air-page-article {
        box-shadow: none;
        padding: 0;
    }
}

/* === Mobile Optimization Additions === */
@media (max-width: 768px) {
  .nav-link, .btn-login, .btn-register, .btn-demo,
  a, button, .sidebar-btn {
    min-height: 44px;
    min-width: 44px;
  }
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .site-footer {
    padding-bottom: env(safe-area-inset-bottom, 20px);
  }
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
  .article-card {
    margin-bottom: 20px;
  }
  .content-area {
    padding: 10px;
  }
}
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }
  h1, .hero-title {
    font-size: 24px !important;
  }
  h2 {
    font-size: 20px !important;
  }
}
