/* ================================================
   APEXDMA — RESPONSIVE v2.0
   ================================================ */

/* ── Global overflow guard ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
*, *::before, *::after {
  min-width: 0;
}

/* ── 1200px ── */
@media(max-width:1200px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .product-grid { grid-template-columns: repeat(3,1fr); }
}

/* ── 1024px ── */
@media(max-width:1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .showcase-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .reviews-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .alt-feature-row { gap: 40px; }
}

/* ── 900px ── */
@media(max-width:900px) {
  .hero-heading { font-size: clamp(2.4rem, 7vw, 4rem); }
  .how-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .how-grid::before { display: none; }
  .specs-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .alt-feature-row { grid-template-columns: 1fr; gap: 32px; }
  .alt-feature-row.reverse { direction: ltr; }
  .req-row { grid-template-columns: 160px 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .reviews-score-bar { flex-direction: column; gap: 12px; text-align: center; }
  .media-card { grid-template-columns: 1fr; }
  .media-embed { min-height: 260px; }
}

/* ── 768px ── */
@media(max-width:768px) {
  /* Nav */
  .nav-center, .nav-right .discord-btn { display: none; }
  .hamburger { display: flex; }

  /* Hide "My Orders" label text, keep icon only */
  .btn-login span { display: none; }
  .btn-login { padding: 8px 10px; gap: 0; }

  /* Hero */
  .hero { padding: 90px 0 60px; overflow: hidden; }
  .hero-heading { font-size: clamp(2rem, 9vw, 3rem); word-break: break-word; }
  .hero-sub { font-size: 0.92rem; max-width: 100%; word-break: break-word; }
  .hero-typing-row { font-size: 1rem; flex-wrap: wrap; }

  /* Buttons — full width, stacked */
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-buttons .btn,
  .hero-buttons button {
    width: 100% !important;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Trust strip */
  .trust-strip { max-width: 100%; }

  /* Grids */
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer-policies { justify-content: center; }

  /* Misc */
  .portal-modal { padding: 28px 20px; margin: 16px; }
  .cta-banner { padding: 48px 28px; }
  .product-grid, .product-grid.cols-2 { grid-template-columns: repeat(2,1fr); }
  .req-row { grid-template-columns: 1fr; }
  .req-key { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 20px; }
  .req-val { padding: 12px 20px; }
}

/* ── 600px ── */
@media(max-width:600px) {
  .container { padding: 0 16px; }

  /* Hero */
  .hero { padding: 86px 0 48px; }
  .hero-heading { font-size: clamp(1.9rem, 11vw, 2.6rem); }
  .hero-sub { font-size: 0.88rem; }

  /* trust-strip stays scrollable */
  .trust-strip { border-radius: 12px; }
  .trust-item { padding: 12px 14px; min-width: 105px; }
  .trust-icon-wrap { width: 28px; height: 28px; border-radius: 7px; }
  .trust-icon-wrap svg { width: 13px; height: 13px; }
  .trust-val { font-size: 0.62rem; }
  .trust-lbl { font-size: 0.57rem; }

  /* Grids */
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col:nth-child(2), .footer-col:nth-child(3) { display: none; }
  .product-grid, .product-grid.cols-2 { grid-template-columns: 1fr; }
  .product-grid.cols-1 { max-width: 100%; }
  .cart-drawer { width: 100%; }
  .cta-banner { padding: 40px 20px; }
  .games-grid { gap: 8px; }
  .game-chip { padding: 8px 14px; font-size: 0.75rem; }
  .faq-question { font-size: 0.9rem; padding: 16px 18px; }
  .faq-answer-inner { padding: 14px 18px 16px; }
  .how-grid { max-width: 100%; }
  .ticker-item { padding: 0 24px; }
  .page-hero { padding: 90px 0 48px; }
  .reviews-score-bar { padding: 20px; }
  .reviews-score-big { font-size: 3.5rem; }
  .pricing-grid { max-width: 100%; }
  .showcase-grid { max-width: 100%; }
  .ai-modal-options { grid-template-columns: 1fr; }
}

/* ── 480px ── */
@media(max-width:480px) {
  .nav-inner { padding: 0 14px; }
  .nav-logo img { height: 94px; }
  .hero { padding: 80px 0 40px; }
  .hero-heading { font-size: clamp(1.7rem, 12vw, 2.4rem); }
  .hero-typing-row { font-size: 0.9rem; }
  .section-heading { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .cta-banner h2 { font-size: 1.4rem; }
  .how-card, .spec-card, .step-card { padding: 20px 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .ai-modal { padding: 32px 16px 24px; }
  .ai-modal-title { font-size: 1.3rem; }
}


