/* Mobile and tablet layout: keep controls readable and within the screen. */
@media (max-width: 1000px) {
  .header { height: 68px; padding: 0 18px; }
  .header .brand { min-width: 0; }
  .header .official-logo { width: 43px; height: 43px; flex: none; }
  .header .menu { display: grid; place-items: center; margin-left: auto; min-width: 44px; min-height: 44px; }
  .header nav { display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0; padding: 12px 18px 20px; max-height: calc(100dvh - 68px); overflow-y: auto; background: #10102f; border-bottom: 1px solid #a33cff; box-shadow: 0 18px 32px #0009; flex-direction: column; align-items: stretch; gap: 4px; }
  .header nav.open { display: flex; }
  .header nav a, .header nav a.current, .header nav .login-button { width: 100%; min-height: 44px; padding: 10px 14px; justify-content: flex-start; border-radius: 10px; }
  .header nav .nav-cta { margin-top: 8px; justify-content: center; }
  .header nav .login-button { justify-content: center; }
  .hero, .detail-hero { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 16px; padding-top: 38px; padding-bottom: 26px; }
  .hero > div:first-child { width: 100%; align-items: center; text-align: center; }
  .hero h1 { max-width: 100%; font-size: clamp(32px, 8vw, 60px); line-height: 1.02; }
  .hero h1 em { letter-spacing: .1em; padding-inline: 12px; }
  .hero .lead { margin: 16px auto 20px; font-size: clamp(15px, 2.5vw, 17px); line-height: 1.5; }
  .hero .hero-note { width: min(100%, 440px); margin: 0 auto 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .hero .hero-note span { font-size: 11px; }
  .hero .actions { width: min(100%, 340px); margin: 0 auto; }
  .hero .button { width: 100%; min-width: 0; }
  .hero-emblem { width: min(100%, 390px); margin: 0 auto; }
  .hero-emblem img { width: 100%; height: auto; }
  .detail-hero .art { height: 360px; }
  .detail-content { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-top { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(30px, 9vw, 42px); }
  .hero .hero-note span { font-size: 10px; }
  .hero .hero-note b { font-size: 24px; }
  .featured { padding-block: 32px; }
  .games-heading { align-items: center; gap: 8px; }
  .games-heading h2 { font-size: clamp(19px, 5.3vw, 25px); }
  .games-heading a { font-size: 11px; }
  .upcoming-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .upcoming-card { min-width: 0; min-height: 160px; padding: 12px 8px; }
  .game-download { width: 100%; max-width: 150px; min-height: 42px; font-size: 11px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; padding-block: 22px; }
  .benefits > div { min-width: 0; padding: 4px; gap: 8px; border: 0; }
  .benefits b { flex: none; width: 30px; font-size: 24px; }
  .benefits strong { font-size: 12px; line-height: 1.3; }
  .benefits small { font-size: 10px; line-height: 1.35; }
  .site-footer .footer-inner { width: calc(100% - 36px); }
  .site-footer .footer-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .site-footer .footer-nav a, .site-footer .footer-legal a { min-height: 40px; display: inline-flex; align-items: center; }
  .site-footer .footer-bottom { gap: 8px; }
  .site-footer .footer-legal { flex-wrap: wrap; gap: 0 16px; }
  .site-footer .footer-legal a+a { padding-left: 16px; }
  .simple { padding-block: 55px 75px; }
  .detail-heading { align-items: center; }
  .detail-heading h1 { font-size: clamp(36px, 11vw, 48px); }
  .detail-hero .actions { align-items: stretch; }
  .detail-hero .actions .button, .detail-hero .actions .outline { width: 100%; }
  .info dl div { gap: 12px; }
}
@media (max-width: 340px) {
  .hero h1 { font-size: 28px; }
  .hero .hero-note { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .games-heading { align-items: flex-start; flex-wrap: wrap; }
  .upcoming-card h3 { font-size: 12px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

