/* =====================================================================
   Theme: Air Gym Prime. Black and charcoal, white type, warm ceiling
   light, a touch of red, and gray diagonal stripes, like their posters.
   Loaded after style.css / design.css / fx.css when THEME=airgym.
   ===================================================================== */
:root {
  --bg: #0a0a0a;
  --surface: #131313;
  --surface-2: #1b1b1b;
  --border: #2a2a2a;
  --text: #f5f5f5;
  --muted: #9c9c9c;
  --accent: #ffffff;
  --accent-ink: #0a0a0a;
  --accent-text: #ffffff;
  --heat: 255, 238, 214;       /* warm white, like the light strips in the gym */
  --shine: #ffcf94;            /* warm light sweeping across the white words */
  --blue: #e5232e;             /* their red ("MEN GYM + WOMEN GYM") */
  --blue-rgb: 229, 35, 46;
  --glass: rgba(20, 20, 20, 0.7);
  --glass-strong: rgba(18, 18, 18, 0.9);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 10px 30px -10px rgba(var(--heat), 0.55);
  --radius: 10px;
  --radius-sm: 6px;
  --font-head: 'Unbounded', 'Archivo', sans-serif;
  --font-body: 'Archivo', 'Inter', system-ui, sans-serif;
  --font-num: 'Unbounded', 'Archivo', sans-serif;
  --stripes: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0 9px, transparent 9px 18px);
}
:root[dir='rtl'] {
  --font-body: 'Cairo', system-ui, sans-serif;
  --font-head: 'Cairo', system-ui, sans-serif;
  --font-num: 'Unbounded', 'Cairo', sans-serif;
}

body {
  background:
    radial-gradient(1000px 520px at 50% -10%, rgba(var(--heat), 0.07), transparent 65%),
    var(--bg);
  background-attachment: fixed;
}

/* ---------- Type: heavy and wide, like "PRIME" and "COUNTDOWN" ---------- */
h1, h2 { font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); }
h3 { font-weight: 700; letter-spacing: 0; }
[dir='rtl'] h1, [dir='rtl'] h2 { font-weight: 700; letter-spacing: 0; }

/* ---------- Logo: small "AIR GYM" over a big "PRIME" ---------- */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--text); direction: ltr; }
.wordmark small { font: 600 0.5rem/1 'Unbounded', sans-serif; letter-spacing: 0.32em; margin: 0 0 3px 0.32em; opacity: 0.85; }
.wordmark b { position: relative; font: 900 1.35rem/0.95 'Unbounded', sans-serif; letter-spacing: 0.02em; }
.wordmark b::after { /* red dot over the I, like their logo's accent */
  content: ''; position: absolute; left: 50%; top: -5px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 10px rgba(var(--blue-rgb), 0.8); transform: translateX(-50%);
}
.site-header .brand { gap: 0; }
.admin-side .wordmark b { font-size: 1.1rem; }
.mc-brand .wordmark b { font-size: 1.05rem; }
.intro-mark .wordmark small { font-size: 0.8rem; margin-bottom: 6px; }
.intro-mark .wordmark b { font-size: 3rem; text-shadow: 0 0 40px rgba(var(--heat), 0.45); }
.intro-mark .wordmark b::after { width: 9px; height: 9px; top: -10px; }

.site-header { background: rgba(10, 10, 10, 0.86); border-bottom-color: rgba(255, 255, 255, 0.06); }
.site-header.scrolled { background: rgba(10, 10, 10, 0.78); }

/* ---------- Buttons: white, sharp, uppercase ---------- */
.btn { border-radius: 6px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem; font-weight: 700; }
[dir='rtl'] .btn { text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
.btn:hover { border-color: #4a4a4a; }
.btn-primary:hover { background: #ffffff; border-color: #ffffff; box-shadow: 0 0 0 1px #fff, 0 12px 36px -6px rgba(var(--heat), 0.7); }
.btn-sm { font-size: 0.72rem; }

/* ---------- Hero: dark room, warm light strips, striped edges ---------- */
.hero::before {
  inset: 0;
  filter: none;
  animation: none;
  background:
    linear-gradient(176deg, transparent 0 9%, rgba(var(--heat), 0.28) 9.3%, rgba(var(--heat), 0.06) 10.2%, transparent 11%),
    linear-gradient(176deg, transparent 0 15%, rgba(var(--heat), 0.18) 15.25%, rgba(var(--heat), 0.04) 16%, transparent 16.6%),
    radial-gradient(70% 45% at 60% 0%, rgba(var(--heat), 0.13), transparent 70%),
    radial-gradient(45% 45% at 10% 100%, rgba(var(--blue-rgb), 0.08), transparent 70%);
}
@keyframes strips-glow { from { opacity: 0.75; } to { opacity: 1; } }
.hero::after { /* gray diagonal stripes on both edges, like the poster frames */
  inset: 0;
  background: var(--stripes) left top / 26px 100% no-repeat, var(--stripes) right top / 26px 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  opacity: 0.55;
}
.fx-particles { display: none; }
.hero-spot { background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), rgba(var(--heat), 0.09), transparent 60%); }
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.9rem); line-height: 1.05; }
.fx-words .shimmer > span {
  background: linear-gradient(100deg, #fff 0%, #fff 40%, var(--shine) 50%, #fff 60%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
}
@media (max-width: 860px) { .hero::after { background-size: 14px 100%, 14px 100%; } }

/* ---------- Cards ---------- */
.card, .crowd, .feature, .day-col, .table-wrap { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 34px -20px rgba(0, 0, 0, 0.8); }
.plan.highlight, .setup-card, .member-card {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.15) 45%, var(--blue)) border-box;
  box-shadow: 0 0 46px -20px rgba(var(--heat), 0.55);
}
.plan .ribbon { background: var(--blue); color: #fff; border-radius: 4px; }
.plan h3 { font-size: 1.1rem; }
.price { font-size: 1.9rem; font-weight: 800; white-space: nowrap; }
.price small { font-family: var(--font-body); font-size: 0.85rem; }
.save-badge { background: rgba(var(--blue-rgb), 0.16); color: #ff8a90; }

/* Member card: like an access card with a striped edge. */
.member-card::after {
  top: 0; bottom: 0; right: 0; left: auto; width: 14px; height: auto;
  border-radius: 0; background: var(--stripes); opacity: 0.35;
}
[dir='rtl'] .member-card::after { right: auto; left: 0; }

.trainer-photo { background: radial-gradient(80% 90% at 50% 0%, #262626, #121212); }

/* ---------- Numbers and strips ---------- */
.stat-num { font-weight: 800; font-size: clamp(1.8rem, 4.2vw, 2.8rem); text-shadow: 0 0 30px rgba(var(--heat), 0.3); }
.marquee span { font-weight: 800; font-size: clamp(1.1rem, 2.6vw, 1.8rem); -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28); }
.marquee span:nth-of-type(3n + 1) { color: #fff; }
.marquee i { color: var(--blue); }

/* ---------- Staff light theme: black instead of white for the accent ---------- */
[data-theme='light'] {
  --accent: #0a0a0a;
  --accent-ink: #ffffff;
  --accent-text: #0a0a0a;
  --accent-soft: rgba(10, 10, 10, 0.08);
  --heat: 10, 10, 10;
  --glow: 0 0 0 1px rgba(10, 10, 10, 0.3), 0 8px 22px -10px rgba(10, 10, 10, 0.45);
}
[data-theme='light'] .btn-primary:hover { background: #222; border-color: #222; box-shadow: none; }
[data-theme='light'] .wordmark { color: #0a0a0a; }

/* Phones and tablets: no fixed background (smoother scrolling). */
@media (hover: none), (max-width: 900px) {
  body { background-attachment: scroll; }
}
