/*
  Just Xplored June V05
  Mobile polish only.
  Desktop is untouched: every rule is inside mobile media queries.
*/

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    line-height: 1.55;
  }

  .nav,
  .jx-site-nav {
    padding-inline: 14px;
  }

  .brand,
  .jx-brand {
    min-width: 0;
  }

  .brand span,
  .jx-brand span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-menu,
  .jx-mobile-menu {
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .hero,
  .watch-hero,
  .tool-hero,
  .arcade-hub {
    min-height: 62vh;
    padding-top: 112px;
    padding-bottom: 46px;
  }

  .hero-inner,
  .watch-hero,
  .tool-hero,
  .arcade-hub .arcade-wrap,
  .wrap,
  .arcade-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1,
  .watch-hero h1,
  .tool-hero h1,
  .arcade-title {
    font-size: clamp(2.55rem, 13vw, 4.25rem);
    line-height: .92;
    letter-spacing: -0.06em;
    max-width: 100%;
  }

  .lead,
  .arcade-copy,
  .hero p,
  .watch-hero p,
  .tool-hero p {
    font-size: .98rem;
    line-height: 1.55;
    max-width: 34rem;
  }

  .eyebrow,
  .arcade-kicker,
  .kicker {
    font-size: .68rem;
    letter-spacing: .12em;
  }

  section,
  .tools-section,
  .arcade-games-section {
    padding-top: 44px;
    padding-bottom: 52px;
  }

  .section-title {
    gap: 10px;
    margin-bottom: 22px;
  }

  .section-title h2,
  .section-title .title {
    font-size: clamp(1.75rem, 8vw, 2.65rem);
    line-height: 1.02;
  }

  .video-grid,
  .tools-card-grid,
  .arcade-card-grid,
  .series-grid,
  .film-story-grid,
  .zoom-grid,
  .counter-grid {
    gap: 18px;
  }

  .card,
  .video-card,
  .series-card,
  .film-story-card,
  .zoom-card,
  .counter-card,
  .game-card,
  .tool-card-eq,
  .watch-player-card,
  .watch-tools {
    border-radius: 22px;
  }

  .pad,
  .video-body,
  .series-content,
  .game-info {
    padding: 18px;
  }

  .card p,
  .video-body p,
  .series-card p,
  .film-story-card p,
  .zoom-card p,
  .counter-card p,
  .game-info p,
  .tool-card-eq p {
    font-size: .94rem;
    line-height: 1.48;
  }

  .actions,
  .arcade-button-row {
    gap: 12px;
  }

  .btn,
  .primary,
  .mini-link {
    min-height: 44px;
  }

  .watch-layout {
    gap: 18px;
  }

  .watch-frame {
    border-radius: 18px;
  }

  .watch-filters {
    gap: 8px;
  }

  .watch-chip {
    padding: 9px 11px;
    font-size: .78rem;
  }

  .watch-list {
    gap: 10px;
  }

  .watch-item {
    gap: 10px;
    padding: 10px;
  }

  .watch-item-thumb {
    width: 96px;
    min-width: 96px;
  }

  .arcade-hub::before {
    transform: scale(1.02);
  }

  .arcade-card-grid {
    grid-template-columns: 1fr;
  }

  .game-cabinet,
  .machine-placeholder {
    height: 300px;
    min-height: 300px;
  }

  .game-cabinet img {
    height: 286px;
    max-height: 286px;
  }

  .game-info h2 {
    min-height: auto;
    font-size: clamp(1.6rem, 7.5vw, 2.35rem);
  }

  .game-info p {
    min-height: auto;
  }

  .arcade-button-disc {
    width: 66px;
    height: 66px;
  }

  .footer-inner {
    gap: 18px;
    padding: 30px 18px;
  }
}

@media (max-width: 480px) {
  .hero,
  .watch-hero,
  .tool-hero,
  .arcade-hub {
    min-height: 58vh;
    padding-top: 100px;
    padding-bottom: 38px;
  }

  .hero h1,
  .watch-hero h1,
  .tool-hero h1,
  .arcade-title {
    font-size: clamp(2.25rem, 14vw, 3.55rem);
  }

  .lead,
  .arcade-copy,
  .hero p,
  .watch-hero p,
  .tool-hero p {
    font-size: .94rem;
  }

  section,
  .tools-section,
  .arcade-games-section {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .watch-item-thumb {
    width: 82px;
    min-width: 82px;
  }

  .game-cabinet,
  .machine-placeholder {
    height: 270px;
    min-height: 270px;
  }

  .game-cabinet img {
    height: 254px;
    max-height: 254px;
  }
}
