/* ==========================================================================
   q880apps.click - frame-native-fa3a1f.css
   Mobile-first shell for the q880 apps phone canvas (320-430px wide).
   Class + variable prefix: viewfa3a1-
   Palette: #2E4057 base / #FFEBCD text / #00CED1 accent / #FFCC33 signal
   Typeface pairing: monospace accents over a regular Bengali body face.
   Rounding: light card corners, compact button corners.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --viewfa3a1-ink: #2E4057;
  --viewfa3a1-ink-deep: #243448;
  --viewfa3a1-ink-night: #1B2838;
  --viewfa3a1-ink-void: #141E2A;
  --viewfa3a1-paper: #FFEBCD;
  --viewfa3a1-paper-dim: rgba(255, 235, 205, 0.66);
  --viewfa3a1-paper-faint: rgba(255, 235, 205, 0.42);
  --viewfa3a1-cyan: #00CED1;
  --viewfa3a1-cyan-soft: rgba(0, 206, 209, 0.16);
  --viewfa3a1-gold: #FFCC33;
  --viewfa3a1-gold-soft: rgba(255, 204, 51, 0.14);
  --viewfa3a1-line: rgba(255, 235, 205, 0.14);
  --viewfa3a1-line-strong: rgba(255, 235, 205, 0.26);
  --viewfa3a1-mono: "Cascadia Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --viewfa3a1-body: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", -apple-system, "Segoe UI", Roboto, sans-serif;
  --viewfa3a1-r-card: 10px;
  --viewfa3a1-r-chip: 7px;
  --viewfa3a1-rail-h: 62px;
  --viewfa3a1-top-h: 58px;
  --viewfa3a1-glow: 0 0 14px rgba(0, 206, 209, 0.35);
}

/* ---------- reset + base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

html.viewfa3a1-noscroll,
html.viewfa3a1-noscroll body { overflow: hidden; }

body {
  background: var(--viewfa3a1-ink-void);
  color: var(--viewfa3a1-paper);
  font-family: var(--viewfa3a1-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(0, 206, 209, 0.18);
}

img { max-width: 100%; display: block; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

a { color: var(--viewfa3a1-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--viewfa3a1-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--viewfa3a1-gold); color: var(--viewfa3a1-ink); }

/* ---------- phone canvas ---------- */
.viewfa3a1-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 46% at 85% -4%, rgba(0, 206, 209, 0.13), transparent 60%),
    radial-gradient(120% 40% at 0% 22%, rgba(255, 204, 51, 0.07), transparent 55%),
    var(--viewfa3a1-ink);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.5);
  overflow-x: clip;
}

.viewfa3a1-main {
  padding: calc(var(--viewfa3a1-top-h) + 10px) 12px calc(var(--viewfa3a1-rail-h) + 30px + env(safe-area-inset-bottom));
}

.viewfa3a1-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--viewfa3a1-gold);
  color: var(--viewfa3a1-ink);
  padding: 8px 14px;
  border-radius: var(--viewfa3a1-r-chip);
  z-index: 90;
}
.viewfa3a1-skip:focus { left: 10px; top: 8px; }

/* ---------- mono kicker utility ---------- */
.viewfa3a1-kicker {
  font-family: var(--viewfa3a1-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--viewfa3a1-cyan);
  text-transform: uppercase;
}

/* ---------- top action band ---------- */
.viewfa3a1-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--viewfa3a1-top-h);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(27, 40, 56, 0.94);
  border-bottom: 1px solid var(--viewfa3a1-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.viewfa3a1-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.viewfa3a1-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--viewfa3a1-line-strong);
  background: var(--viewfa3a1-ink-deep);
  flex: none;
}

.viewfa3a1-brand-name {
  font-family: var(--viewfa3a1-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--viewfa3a1-paper);
  white-space: nowrap;
}
.viewfa3a1-brand-name span { color: var(--viewfa3a1-cyan); }

.viewfa3a1-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex: none;
}

/* compact solid + outline control pair */
.viewfa3a1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--viewfa3a1-r-chip);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.viewfa3a1-btn--solid {
  background: var(--viewfa3a1-gold);
  color: var(--viewfa3a1-ink);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
}
.viewfa3a1-btn--solid:hover { background: #ffd75e; text-decoration: none; }
.viewfa3a1-btn--solid:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.28); }

.viewfa3a1-btn--ghost {
  background: transparent;
  color: var(--viewfa3a1-cyan);
  border: 1.5px solid var(--viewfa3a1-cyan);
}
.viewfa3a1-btn--ghost:hover { background: var(--viewfa3a1-cyan-soft); text-decoration: none; }
.viewfa3a1-btn--ghost:active { transform: translateY(1px); }

.viewfa3a1-btn--sm { min-height: 36px; padding: 7px 10px; font-size: 12px; }
.viewfa3a1-btn--wide { width: 100%; }

.viewfa3a1-burger {
  width: 42px;
  height: 40px;
  border-radius: var(--viewfa3a1-r-chip);
  border: 1px solid var(--viewfa3a1-line-strong);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: none;
}
.viewfa3a1-burger i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--viewfa3a1-paper);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.viewfa3a1-burger:hover { border-color: var(--viewfa3a1-cyan); }

/* ---------- sectioned menu panel ---------- */
.viewfa3a1-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 100%;
  max-width: 430px;
  height: 100%;
  z-index: 70;
  background: linear-gradient(180deg, var(--viewfa3a1-ink-night), var(--viewfa3a1-ink-void));
  border-right: 1px solid var(--viewfa3a1-line);
  border-left: 1px solid var(--viewfa3a1-line);
  padding: 14px 16px calc(var(--viewfa3a1-rail-h) + 22px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.viewfa3a1-menu--open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.viewfa3a1-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--viewfa3a1-line);
}

.viewfa3a1-menu-close {
  width: 42px;
  height: 42px;
  border-radius: var(--viewfa3a1-r-chip);
  border: 1px solid var(--viewfa3a1-line-strong);
  color: var(--viewfa3a1-paper);
  font-size: 19px;
  line-height: 1;
}
.viewfa3a1-menu-close:hover { border-color: var(--viewfa3a1-gold); color: var(--viewfa3a1-gold); }

.viewfa3a1-menu-group { margin-top: 18px; }

.viewfa3a1-menu-group-title {
  font-family: var(--viewfa3a1-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewfa3a1-cyan);
  padding: 0 2px 8px;
}

.viewfa3a1-menu-list {
  border: 1px solid var(--viewfa3a1-line);
  border-radius: var(--viewfa3a1-r-card);
  background: rgba(46, 64, 87, 0.45);
  overflow: hidden;
}

.viewfa3a1-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--viewfa3a1-paper);
  text-decoration: none;
  border-bottom: 1px solid var(--viewfa3a1-line);
  font-size: 14px;
}
.viewfa3a1-menu-list .viewfa3a1-menu-link:last-child { border-bottom: 0; }
.viewfa3a1-menu-link:hover { background: var(--viewfa3a1-cyan-soft); text-decoration: none; }
.viewfa3a1-menu-link em {
  font-family: var(--viewfa3a1-mono);
  font-style: normal;
  font-size: 10px;
  color: var(--viewfa3a1-paper-faint);
  margin-left: auto;
}
.viewfa3a1-menu-link--now {
  background: var(--viewfa3a1-gold-soft);
  color: var(--viewfa3a1-gold);
  font-weight: 700;
}

/* ---------- hero ---------- */
.viewfa3a1-hero { padding: 4px 0 6px; }

.viewfa3a1-hero h1 {
  font-size: 23px;
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.viewfa3a1-hero h1 b { color: var(--viewfa3a1-gold); font-weight: 800; }

.viewfa3a1-hero-lead {
  margin-top: 8px;
  color: var(--viewfa3a1-paper-dim);
  font-size: 14px;
}

.viewfa3a1-statline {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.viewfa3a1-statline span {
  font-family: var(--viewfa3a1-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--viewfa3a1-cyan);
  border: 1px solid rgba(0, 206, 209, 0.35);
  border-radius: 20px;
  padding: 4px 10px;
  background: var(--viewfa3a1-cyan-soft);
}

/* ---------- carousel ---------- */
.viewfa3a1-carousel {
  position: relative;
  margin-top: 14px;
  border-radius: var(--viewfa3a1-r-card);
  overflow: hidden;
  border: 1px solid var(--viewfa3a1-line-strong);
  background: var(--viewfa3a1-ink-deep);
  aspect-ratio: 10 / 7;
}

.viewfa3a1-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.5s ease, transform 0.6s ease, visibility 0.5s;
  text-align: left;
}
.viewfa3a1-slide--on { opacity: 1; visibility: visible; transform: scale(1); }

.viewfa3a1-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewfa3a1-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(20, 30, 42, 0.94) 78%);
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.viewfa3a1-slide-cap strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--viewfa3a1-paper);
  font-weight: 700;
  flex: 1;
}
.viewfa3a1-slide-chip {
  flex: none;
  background: var(--viewfa3a1-gold);
  color: var(--viewfa3a1-ink);
  font-size: 11px;
  font-weight: 800;
  border-radius: 20px;
  padding: 7px 12px;
  box-shadow: var(--viewfa3a1-glow);
}

.viewfa3a1-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.viewfa3a1-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 235, 205, 0.34);
  transition: background 0.2s ease, width 0.2s ease;
}
.viewfa3a1-dot--on { background: var(--viewfa3a1-gold); width: 16px; border-radius: 4px; }

/* ---------- generic section shell ---------- */
.viewfa3a1-sec { margin-top: 26px; }

.viewfa3a1-sec-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--viewfa3a1-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--viewfa3a1-cyan);
  text-transform: uppercase;
}
.viewfa3a1-sec-tag::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 206, 209, 0.45), transparent);
}

.viewfa3a1-sec h2 {
  margin-top: 6px;
  font-size: 18.5px;
  line-height: 1.5;
  font-weight: 800;
}

.viewfa3a1-sec-intro {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--viewfa3a1-paper-dim);
}

/* ---------- game grid ---------- */
.viewfa3a1-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
}

.viewfa3a1-game {
  background: var(--viewfa3a1-ink-night);
  border: 1px solid var(--viewfa3a1-line);
  border-radius: var(--viewfa3a1-r-card);
  overflow: hidden;
  text-align: center;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.viewfa3a1-game:hover {
  border-color: var(--viewfa3a1-cyan);
  box-shadow: var(--viewfa3a1-glow);
}
.viewfa3a1-game:active { transform: scale(0.97); }

.viewfa3a1-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--viewfa3a1-ink-deep);
  transition: transform 0.25s ease;
}
.viewfa3a1-game:hover .viewfa3a1-game-img { transform: scale(1.05); }

.viewfa3a1-game-name {
  display: block;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--viewfa3a1-paper);
  padding: 5px 4px 6px;
  min-height: 30px;
  border-top: 1px solid var(--viewfa3a1-line);
  background: rgba(20, 30, 42, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- prose blocks ---------- */
.viewfa3a1-prose { margin-top: 10px; }
.viewfa3a1-prose p { margin-top: 8px; font-size: 14px; color: var(--viewfa3a1-paper-dim); }
.viewfa3a1-prose p strong { color: var(--viewfa3a1-paper); font-weight: 700; }

/* ---------- step ladder (step-progression rhythm) ---------- */
.viewfa3a1-steps { margin-top: 12px; display: grid; gap: 9px; }

.viewfa3a1-step {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: rgba(27, 40, 56, 0.72);
  border: 1px solid var(--viewfa3a1-line);
  border-left: 3px solid var(--viewfa3a1-cyan);
  border-radius: var(--viewfa3a1-r-card);
  padding: 11px 12px;
}
.viewfa3a1-step:last-child { border-left-color: var(--viewfa3a1-gold); }

.viewfa3a1-step-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--viewfa3a1-cyan);
  color: var(--viewfa3a1-cyan);
  font-family: var(--viewfa3a1-mono);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.viewfa3a1-step:last-child .viewfa3a1-step-num { border-color: var(--viewfa3a1-gold); color: var(--viewfa3a1-gold); }

.viewfa3a1-step-body { font-size: 13.5px; color: var(--viewfa3a1-paper-dim); }
.viewfa3a1-step-body strong { display: block; color: var(--viewfa3a1-paper); font-size: 14px; line-height: 1.45; }

/* ---------- milestone tiles ---------- */
.viewfa3a1-miles { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.viewfa3a1-mile {
  background: rgba(27, 40, 56, 0.72);
  border: 1px solid var(--viewfa3a1-line);
  border-radius: var(--viewfa3a1-r-card);
  padding: 11px 11px 12px;
}
.viewfa3a1-mile b {
  display: block;
  font-family: var(--viewfa3a1-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--viewfa3a1-gold);
  text-transform: uppercase;
}
.viewfa3a1-mile span {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--viewfa3a1-paper-dim);
}

/* ---------- checklist ---------- */
.viewfa3a1-checklist { margin-top: 12px; display: grid; gap: 8px; }

.viewfa3a1-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px dashed var(--viewfa3a1-line-strong);
  border-radius: var(--viewfa3a1-r-chip);
  padding: 9px 11px;
  font-size: 13.5px;
  color: var(--viewfa3a1-paper-dim);
  background: rgba(36, 52, 72, 0.4);
}
.viewfa3a1-check svg { flex: none; margin-top: 3px; color: var(--viewfa3a1-cyan); }

/* ---------- FAQ ---------- */
.viewfa3a1-faq { margin-top: 12px; display: grid; gap: 8px; }

.viewfa3a1-faq details {
  background: rgba(27, 40, 56, 0.72);
  border: 1px solid var(--viewfa3a1-line);
  border-radius: var(--viewfa3a1-r-card);
  overflow: hidden;
}
.viewfa3a1-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--viewfa3a1-paper);
  min-height: 44px;
}
.viewfa3a1-faq summary::-webkit-details-marker { display: none; }
.viewfa3a1-faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--viewfa3a1-mono);
  font-size: 17px;
  color: var(--viewfa3a1-cyan);
  transition: transform 0.2s ease;
}
.viewfa3a1-faq details[open] summary::after { transform: rotate(45deg); }
.viewfa3a1-faq details[open] summary { color: var(--viewfa3a1-gold); }
.viewfa3a1-faq-a {
  padding: 0 12px 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--viewfa3a1-paper-dim);
}

/* ---------- CTA band ---------- */
.viewfa3a1-cta {
  margin-top: 18px;
  border-radius: var(--viewfa3a1-r-card);
  border: 1px solid rgba(255, 204, 51, 0.4);
  background:
    radial-gradient(130% 90% at 100% 0%, rgba(255, 204, 51, 0.16), transparent 55%),
    rgba(27, 40, 56, 0.85);
  padding: 14px;
}
.viewfa3a1-cta p { font-size: 13px; color: var(--viewfa3a1-paper-dim); margin: 6px 0 12px; }
.viewfa3a1-cta-row { display: flex; gap: 9px; }
.viewfa3a1-cta-row .viewfa3a1-btn { flex: 1; }

/* ---------- extended footer ---------- */
.viewfa3a1-extfoot {
  margin-top: 30px;
  border-top: 1px solid var(--viewfa3a1-line-strong);
  padding-top: 18px;
  display: grid;
  gap: 18px;
}

.viewfa3a1-ef-brand p { margin-top: 7px; font-size: 13px; color: var(--viewfa3a1-paper-dim); }

.viewfa3a1-ef-dir { display: grid; gap: 8px; }
.viewfa3a1-ef-dir-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}
.viewfa3a1-ef-dir-cols a {
  font-size: 12.5px;
  color: var(--viewfa3a1-paper-dim);
  border: 1px solid var(--viewfa3a1-line);
  border-radius: var(--viewfa3a1-r-chip);
  padding: 8px 9px;
  background: rgba(27, 40, 56, 0.55);
  min-height: 40px;
  display: flex;
  align-items: center;
  line-height: 1.35;
}
.viewfa3a1-ef-dir-cols a:hover { color: var(--viewfa3a1-cyan); border-color: var(--viewfa3a1-cyan); text-decoration: none; }

.viewfa3a1-ef-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 9px;
}
.viewfa3a1-ef-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border-radius: var(--viewfa3a1-r-chip);
  border: 1px solid rgba(0, 206, 209, 0.4);
  background: var(--viewfa3a1-cyan-soft);
  color: var(--viewfa3a1-paper);
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 10px;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
  text-align: left;
}
.viewfa3a1-ef-promo svg { flex: none; color: var(--viewfa3a1-cyan); }
.viewfa3a1-ef-promo:hover { border-color: var(--viewfa3a1-gold); box-shadow: var(--viewfa3a1-glow); }
.viewfa3a1-ef-promo:nth-child(7) { grid-column: 1 / -1; }

.viewfa3a1-ef-note {
  border-left: 3px solid var(--viewfa3a1-gold);
  background: rgba(255, 204, 51, 0.07);
  border-radius: var(--viewfa3a1-r-chip);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--viewfa3a1-paper-dim);
}

/* ---------- common footer ---------- */
.viewfa3a1-footer {
  margin-top: 22px;
  border-top: 1px solid var(--viewfa3a1-line);
  padding: 12px 2px 4px;
  text-align: center;
}
.viewfa3a1-footer small {
  font-family: var(--viewfa3a1-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--viewfa3a1-paper-faint);
}

/* ---------- bottom nav rail ---------- */
.viewfa3a1-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--viewfa3a1-rail-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 60;
  display: flex;
  background: rgba(20, 30, 42, 0.97);
  border-top: 1px solid var(--viewfa3a1-line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.viewfa3a1-nav-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--viewfa3a1-paper-faint);
  position: relative;
  text-decoration: none;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}
.viewfa3a1-nav-item svg { transition: transform 0.18s ease, filter 0.18s ease; }
.viewfa3a1-nav-item:active svg { transform: translateY(-1px) scale(1.08); }
.viewfa3a1-nav-item:hover { color: var(--viewfa3a1-paper-dim); text-decoration: none; }

.viewfa3a1-nav-label {
  font-family: var(--viewfa3a1-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.viewfa3a1-nav-item--now {
  color: var(--viewfa3a1-gold);
  text-shadow: 0 0 10px rgba(255, 204, 51, 0.45);
}
.viewfa3a1-nav-item--now .viewfa3a1-nav-label { font-weight: 700; }
.viewfa3a1-nav-item--now::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2.5px;
  border-radius: 0 0 3px 3px;
  background: var(--viewfa3a1-gold);
  box-shadow: 0 2px 8px rgba(255, 204, 51, 0.55);
}

/* ---------- motion discipline ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}

/* ---------- narrow-phone refinements (<= 354px) ---------- */
@media (max-width: 354px) {
  .viewfa3a1-topbar { gap: 5px; padding: 0 8px; }
  .viewfa3a1-brand-logo { width: 32px; height: 32px; }
  .viewfa3a1-brand-name { font-size: 13px; }
  .viewfa3a1-btn--sm { padding: 6px 8px; font-size: 11px; }
  .viewfa3a1-hero h1 { font-size: 20.5px; }
  .viewfa3a1-miles { grid-template-columns: 1fr; }
  .viewfa3a1-ef-promos { grid-template-columns: 1fr; }
  .viewfa3a1-ef-promo:nth-child(7) { grid-column: auto; }
}

/* ---------- comfortable phones (>= 390px) ---------- */
@media (min-width: 390px) {
  .viewfa3a1-hero h1 { font-size: 25px; }
  .viewfa3a1-sec h2 { font-size: 20px; }
  .viewfa3a1-game-name { font-size: 11px; }
}

/* ---------- tall desktops keep the phone canvas honest ---------- */
@media (min-width: 480px) {
  body { background:
    radial-gradient(60% 40% at 50% 0%, rgba(0, 206, 209, 0.06), transparent 70%),
    var(--viewfa3a1-ink-void); }
}
