/* Phones: a plain, light page. iPhones (Safari) go black while scrolling when the page has big fixed pictures, filters, blurs, masks
   and promoted layers behind the content. So here: no fixed aurora picture, no filter / blur / mask, no extra layers.
   The look stays (colours, cards, type); only the heavy effects go. Loaded last, phones only. */
@media (max-width: 820px), (pointer: coarse) {
  .spotlight { display: none !important; }
  html, body { background-color: #06060a; }
  body {
    background-image:
      radial-gradient(70% 420px at 8% 0, rgba(43, 240, 138, 0.16), transparent 72%),
      radial-gradient(70% 420px at 94% 0, rgba(124, 107, 255, 0.2), transparent 74%);
    background-repeat: no-repeat;
  }
  *, *::before, *::after {
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    mix-blend-mode: normal !important;
    will-change: auto !important;
  }
  .hero-ring, .hero-stage::before { display: none !important; }
  /* the big glowing shadows that pulse forever (a full repaint each frame) and the slow zoom of the trailer picture */
  .fa-mid img { animation: none !important; box-shadow: 0 0 26px rgba(43, 240, 138, 0.5) !important; }
  .fa-mid::before, .fa-mid::after { animation: none !important; display: none !important; }
  .tr-bg { animation: none !important; inset: 0 !important; }
  .fa-src i { box-shadow: none !important; }
  .tp-tray i { box-shadow: none !important; }
}

/* Big blurred box-shadows on tall boxes. The pricing card is 1300px tall with an 80px-blur shadow, the setup list 2100px with 70px:
   iPhones give each one a huge off-screen shadow bitmap and, short of memory, leave the whole box blank while scrolling.
   So on phones the boxes keep their borders and colours but lose the big glow. Small controls (buttons, chips) keep theirs. */
@media (max-width: 820px), (pointer: coarse) {
  *:not(.btn):not(.btn-paypal):not(.nav-join):not(.nav-login):not(.hero-chip):not(button):not(.wm-logo):not(.nj-dot):not(.nav),
  *::before, *::after { box-shadow: none !important; }
  .nav { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13) !important; }
  .btn, .btn-paypal { box-shadow: 0 6px 16px -8px rgba(79, 240, 138, 0.55) !important; }
  .btn-paypal { box-shadow: 0 6px 16px -8px rgba(255, 196, 57, 0.7) !important; }
  .nav-join, .nav-login, .hero-chip { box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.8) !important; }
  .hero-chip { animation: none !important; }
}

/* The "In the app" card of the live demo came up empty on iPhones (borders and glow painted, the cover and the words missing).
   It was a clipped (overflow + rounded corners), isolated box with a glow layer behind its content, and its words, bar and the
   neighbouring Discord card all change or float every second. On phones it is now a plain box: no clipping, no isolated layer,
   the glow is part of its own background, and nothing in the demo (or the trailer above it) keeps animating. */
@media (max-width: 820px), (pointer: coarse) {
  .app-stage, .demo .app-stage {
    isolation: auto; overflow: visible; box-shadow: none;
    background: radial-gradient(70% 38% at 50% 0%, rgba(255, 150, 90, 0.16), transparent 72%), rgba(8, 8, 14, 0.92);
  }
  .app-stage::before { display: none; }
  .stage-art { box-shadow: none; }
  .stage-bar i { transition: none; }
  .dcard, .demo-card-wrap .dcard { animation: none !important; transform: none !important; }
  .tr-em, .tr-em *, .tr-eq, .tr-eq *, .wm-logo, .nav-join::before, .nav-join .nj-dot { animation: none !important; }
}
