/* ============================================
   澳门彩 - 响应式样式表
   CSS前缀: af-
   ============================================ */

/* === xl: >= 1280px (Desktop) === */
/* Default styles apply */

/* === lg: 1024px - 1279px === */
@media (max-width: 1279px) {
  .af-container { max-width: 1024px; }
  .af-hero-content h1 { font-size: 2.8rem; }
  .af-nav-links li a { padding: 8px 10px; font-size: 0.85rem; }
}

/* === md: 768px - 1023px (Tablet) === */
@media (max-width: 1023px) {
  .af-container { max-width: 768px; }

  .af-hero-content h1 { font-size: 2.2rem; }
  .af-hero-subtitle { font-size: 1.1rem; }
  .af-hero-stats { gap: 24px; }

  .af-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .af-grid-4 { grid-template-columns: repeat(2, 1fr); }

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

  .af-live-layout {
    grid-template-columns: 1fr;
  }

  .af-app-features { grid-template-columns: repeat(2, 1fr); }

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

  .af-newspaper-col { column-count: 1; }

  .af-nav-links li a { padding: 8px 8px; font-size: 0.8rem; }
}

/* === sm: 640px - 767px (Phone Landscape) === */
@media (max-width: 767px) {
  .af-hamburger { display: flex; }

  .af-nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 2px solid var(--af-neon-red);
  }

  .af-nav-links.af-nav-open {
    display: flex;
  }

  .af-nav-links li a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .af-hero-content h1 { font-size: 1.8rem; }
  .af-hero-subtitle { font-size: 1rem; }
  .af-hero-stats { flex-direction: column; gap: 16px; }
  .af-hero-stat-value { font-size: 1.3rem; }

  .af-section { padding: 50px 0; }
  .af-section-title h2 { font-size: 1.6rem; }

  .af-grid-2,
  .af-grid-3,
  .af-grid-4 {
    grid-template-columns: 1fr;
  }

  .af-footer-grid { grid-template-columns: 1fr; }

  .af-board { padding: 24px; }
  .af-board-item { flex-direction: column; gap: 8px; text-align: center; }

  .af-tv-frame { padding: 16px 16px 30px; }

  .af-slot-display { gap: 8px; }
  .af-slot-num { width: 48px; height: 56px; font-size: 1.5rem; }

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

  .af-app-features { grid-template-columns: 1fr; }

  .af-download-btns { flex-direction: column; align-items: center; }

  .af-live-layout { grid-template-columns: 1fr; }

  .af-page-header h1 { font-size: 1.8rem; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
}

/* === xs: < 640px (Phone Portrait) === */
@media (max-width: 639px) {
  html { font-size: 14px; }

  .af-hero-content h1 { font-size: 1.5rem; }
  .af-hero-subtitle { font-size: 0.9rem; }

  .af-ball { width: 38px; height: 38px; font-size: 0.9rem; }
  .af-lottery-balls { gap: 6px; }

  .af-slot-display { gap: 6px; }
  .af-slot-num { width: 40px; height: 48px; font-size: 1.2rem; }

  .af-gallery-grid { grid-template-columns: 1fr; }

  .af-mini-ball { width: 24px; height: 24px; font-size: 0.6rem; }

  .af-download-btn { padding: 12px 24px; font-size: 0.9rem; }

  .af-page-header h1 { font-size: 1.5rem; }
}
