/* =========================================================================
   ONE BOOST — gameloc.css
   "New" section: Arabic game localization + the in-app app installer.
   Built on the same shapes as lighten.css so the page keeps one voice.

   ⚠️ Effect-safety (README): nothing here rotates or scales a box, no
   position:fixed layer, no px snapshots — so this section cannot
   contribute horizontal overflow on a phone.
   ========================================================================= */

.nw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 22px;
}

.nw-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color .22s, box-shadow .28s;
}

.nw-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }

/* ---- header ---- */
.nw-head { display: flex; gap: 16px; align-items: flex-start; }

.nw-ico {
  width: 48px; height: 48px; flex: none;
  border-radius: 14px; display: grid; place-items: center;
  color: var(--red-ink);
  background: color-mix(in srgb, var(--red) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 30%, transparent);
}
.nw-ico svg { width: 24px; height: 24px; }

.nw-title { min-width: 0; }

.nw-row {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.nw-head h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px;
}
html[lang="ar"] .nw-head h3 { font-family: var(--font-ar); }
.nw-head p { color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* ---- availability badge ----
   The two states read differently ON PURPOSE: a customer must be able to
   tell at a glance what they can open today from what is on the way. */
.nw-badge {
  flex: none;
  font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nw-badge-live {
  color: #7BE3A8;
  background: rgba(52, 211, 153, .12);
  border-color: rgba(52, 211, 153, .34);
}

.nw-badge-soon {
  color: #FFC24D;
  background: rgba(251, 191, 36, .12);
  border-color: rgba(251, 191, 36, .36);
}

/* ---- before / after: one menu line, twice ---- */
.nw-viz {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 18px;
  background: rgba(0, 0, 0, .2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.nw-line { display: flex; align-items: center; gap: 14px; }

.nw-tag {
  flex: none; width: 42px;
  font-size: 12.5px; font-weight: 700; color: var(--text-2);
  letter-spacing: .02em;   /* --text-3 here is 3.51:1 — see .nw-games-lbl */
}
.nw-tag-on { color: var(--red-ink); }

.nw-txt {
  font-size: 17px; font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-2);
}
html[lang="ar"] .nw-line-after .nw-txt { font-family: var(--font-ar); }
.nw-line-after .nw-txt { color: var(--text); }

.nw-arrow {
  padding-inline-start: 56px;
  color: color-mix(in srgb, var(--red) 60%, transparent);
}
.nw-arrow svg { width: 16px; height: 16px; display: block; }

/* ---- counters (installer card) ---- */
.nw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 16px;
  background: rgba(0, 0, 0, .2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.nw-stat { text-align: center; }

.nw-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800; line-height: 1.1;
  color: var(--red-ink);
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.nw-stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-2);
}

/* ---- chip rows (games / bundles) ---- */
.nw-games { display: flex; flex-direction: column; gap: 10px; }

.nw-games-lbl {
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-2);   /* was --text-3: 3.51:1 at 12.5px — under the 4.5 floor */
  text-transform: uppercase;
}
html[lang="ar"] .nw-games-lbl { text-transform: none; letter-spacing: 0; }

.nw-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.nw-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px;
  font-size: 14px; font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
}

.nw-chip .d {
  width: 7px; height: 7px; flex: none;
  border-radius: 50%;
  background: var(--red-ink);
}

.nw-chip-more {
  color: var(--text-2);   /* same reason: 14px at weight 500 is not "large" */
  background: transparent;
  border-style: dashed;
  font-weight: 500;
}

/* ---- what it does ---- */
.nw-list { display: flex; flex-direction: column; gap: 10px; }

.nw-list li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.nw-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--red) 65%, transparent);
}

/* ---- the reassurance line at the foot of each card ---- */
.nw-foot {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.nw-foot svg { width: 20px; height: 20px; flex: none; color: var(--red-ink); margin-top: 1px; }
.nw-foot span { color: var(--text-2); font-size: 14px; line-height: 1.55; }

@media (max-width: 640px) {
  .nw-grid { grid-template-columns: 1fr; gap: 16px; }
  .nw-card { padding: 24px 20px; gap: 18px; }
  .nw-viz, .nw-stats { padding: 16px 14px; }
  .nw-stat b { font-size: 26px; }
  .nw-txt { font-size: 16px; }
  .nw-arrow { padding-inline-start: 50px; }
}
