/* ═══════════════════════════════════════════════════════════
   LAMMA SPORT — iOS 26 Liquid Glass Design System
   Light: colorful gradient bg · Frosted glass · Dark green
   Dark: vivid blobs on near-black · Inverted glass
═══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════
   DESIGN TOKENS — LIGHT MODE
══════════════════════════════════════ */
:root {
  /* ── Brand ───────────────────────── */
  --green:        #047857;
  --green-dim:    #065f46;
  --green-bright: #10b981;
  --amber:        #d97706;
  --red:          #dc2626;
  --blue:         #3b82f6;

  /* ── Text (dark on light bg) ──────── */
  --text:   #0f172a;
  --text-2: #334155;
  --muted:  #64748b;

  /* ── Glass surfaces ──────────────── */
  --glass-bg:       rgba(255,255,255,0.72);
  --glass-bg-light: rgba(255,255,255,0.55);
  --glass-bg-thin:  rgba(255,255,255,0.38);
  --glass-bg-hover: rgba(255,255,255,0.86);
  --glass-bg-solid: rgba(255,255,255,0.96);

  /* border-color only — NOT a full shorthand */
  --glass-border:       rgba(255,255,255,0.68);
  --glass-border-color: rgba(255,255,255,0.68);
  --glass-blur:         blur(24px) saturate(1.8);

  /* ── Specular (top-edge highlight) ── */
  --specular: inset 0 1.5px 0 rgba(255,255,255,0.95),
              inset 0 -1px  0 rgba(255,255,255,0.12);

  /* ── Page background aliases ─────── */
  --bg:       transparent;
  --bg-2:     rgba(255,255,255,0.40);
  --bg-3:     rgba(255,255,255,0.22);
  --bg-solid: #ffffff;
  --surface:  rgba(255,255,255,0.72);

  /* ── Borders ─────────────────────── */
  --border:       rgba(255,255,255,0.55);
  --border-2:     rgba(255,255,255,0.78);
  --border-inner: rgba(255,255,255,0.20);

  /* ── Shadows ─────────────────────── */
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow:    0 8px 32px rgba(0,0,0,0.11), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.08);

  /* ── Radius ──────────────────────── */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: all .22s cubic-bezier(.4,0,.2,1);
  --spring:     all .32s cubic-bezier(.34,1.56,.64,1);

  /* ── Fonts ───────────────────────── */
  --font-body:    'Cairo', 'Tajawal', system-ui, sans-serif;
  --font-display: 'Cairo', 'Tajawal', system-ui, sans-serif;
  --font-ar:      'Tajawal', 'Cairo', system-ui, sans-serif;
}

/* ══════════════════════════════════════
   DARK MODE OVERRIDES
══════════════════════════════════════ */
[data-theme="dark"] {
  --text:   rgba(255,255,255,0.92);
  --text-2: rgba(255,255,255,0.72);
  --muted:  rgba(255,255,255,0.50);

  --glass-bg:       rgba(255,255,255,0.10);
  --glass-bg-light: rgba(255,255,255,0.07);
  --glass-bg-thin:  rgba(255,255,255,0.05);
  --glass-bg-hover: rgba(255,255,255,0.16);
  --glass-bg-solid: rgba(255,255,255,0.18);

  --glass-border:       rgba(255,255,255,0.26);
  --glass-border-color: rgba(255,255,255,0.26);

  --specular: inset 0 1.5px 0 rgba(255,255,255,0.30),
              inset 0 -1px  0 rgba(255,255,255,0.05);

  --bg:       #020c05;
  --bg-2:     rgba(255,255,255,0.07);
  --bg-3:     rgba(255,255,255,0.04);
  --bg-solid: #0f1f16;
  --surface:  rgba(255,255,255,0.10);

  --border:       rgba(255,255,255,0.22);
  --border-2:     rgba(255,255,255,0.40);
  --border-inner: rgba(255,255,255,0.10);

  --shadow-sm: 0 4px 16px rgba(0,0,0,0.32);
  --shadow:    0 8px 32px rgba(0,0,0,0.42);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.56), 0 4px 16px rgba(0,0,0,0.36);
}

/* ══════════════════════════════════════
   RESET & BASE
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;

  /* LIGHT MODE: colorful multi-layer gradient */
  background-color: #bbf7d0;
  background-image:
    radial-gradient(ellipse 130% 110% at -10% -18%, rgba(6,95,70,0.82) 0%, transparent 50%),
    radial-gradient(ellipse  90%  90% at 108% 110%, rgba(124,58,237,0.50) 0%, transparent 50%),
    radial-gradient(ellipse  70%  60% at  50%  55%, rgba(14,165,233,0.28) 0%, transparent 55%),
    radial-gradient(ellipse  60%  55% at  88%   4%, rgba(234,179,8,0.22)  0%, transparent 48%),
    radial-gradient(ellipse  50%  45% at  25%  90%, rgba(20,184,166,0.30) 0%, transparent 50%),
    linear-gradient(155deg, #bbf7d0 0%, #eff6ff 40%, #f5f3ff 70%, #fefce8 100%);
  background-attachment: fixed;
}

/* DARK MODE: vivid blobs on near-black */
[data-theme="dark"] body {
  background-color: #020c05;
  background-image:
    radial-gradient(ellipse 130% 110% at -10% -18%, rgba(6,95,70,1.00) 0%, transparent 50%),
    radial-gradient(ellipse  90%  90% at 108% 110%, rgba(109,40,217,0.70) 0%, transparent 50%),
    radial-gradient(ellipse  70%  60% at  50%  55%, rgba(14,165,233,0.20) 0%, transparent 55%),
    radial-gradient(ellipse  60%  55% at  88%   4%, rgba(234,179,8,0.15)  0%, transparent 48%),
    radial-gradient(ellipse  50%  45% at  25%  90%, rgba(20,184,166,0.20) 0%, transparent 50%),
    linear-gradient(155deg, #020a04 0%, #030f07 45%, #020a04 70%, #030d05 100%);
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 2px; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); }

/* ══════════════════════════════════════
   NAV — Frosted glass bar
══════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(220,245,235,0.62);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(15,110,86,0.18);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 36px; height: 64px;
}
nav::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.90), transparent);
}
[data-theme="dark"] nav {
  background: rgba(3,30,23,0.58);
  border-bottom-color: rgba(255,255,255,0.12);
}

.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-svg {
  height: 36px; width: auto; display: block; color: var(--text);
}
.nav-logo-name {
  display: flex; flex-direction: column; gap: 3px;
}
.nav-logo-title {
  font-size: 15px; font-weight: 800; letter-spacing: -0.04em;
  color: #0a2e21; line-height: 1; white-space: nowrap;
}
.nav-logo-tagline {
  font-size: 9px; font-weight: 600; letter-spacing: 0.03em;
  text-transform: uppercase; color: #0F6E56; line-height: 1;
  white-space: nowrap; overflow: hidden;
  text-align: justify; text-align-last: justify; width: 100%;
}
[data-theme="dark"] .nav-logo-title { color: #e8f5f0; }
[data-theme="dark"] .nav-logo-tagline { color: #5DCAA5; }

/* ── Links pill container ── */
.nav-links {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(15,110,86,0.18);
  border-radius: 999px; padding: 4px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: relative;
}
[data-theme="dark"] .nav-links {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
}

/* Sliding pill — moved by JS */
.nav-pill {
  position: absolute; z-index: 0;
  top: 4px; height: calc(100% - 8px);
  border-radius: 999px; pointer-events: none;
  background: rgba(255,255,255,.30);
  border: 1.5px solid rgba(15,110,86,.18);
  box-shadow: 0 2px 10px rgba(15,110,86,.10);
  opacity: 0;
  transition: left .22s cubic-bezier(.4,0,.2,1),
              width .22s cubic-bezier(.4,0,.2,1),
              opacity .15s ease;
}
[data-theme="dark"] .nav-pill {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 2px 14px rgba(0,0,0,.35);
}

/* ── Individual nav links ── */
.nav-links a {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 500;
  color: rgba(10,46,33,.60);
  padding: 6px 14px; border-radius: 999px;
  transition: color .18s ease;
  border: none; background: transparent; white-space: nowrap; text-decoration: none;
}
.nav-links a i {
  font-size: 15px; line-height: 1; display: inline-block;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), color .18s;
}
.nav-links a:hover { color: #0F6E56; }
.nav-links a:hover i { color: #0F6E56; transform: scale(1.18); }
.nav-links a.nav-active { color: #0F6E56; font-weight: 700; }
.nav-links a.nav-active i { color: #0F6E56; transform: scale(1.1); }

[data-theme="dark"] .nav-links a { color: rgba(255,255,255,.50); }
[data-theme="dark"] .nav-links a:hover { color: #a7f3d0; }
[data-theme="dark"] .nav-links a:hover i { color: #a7f3d0; }
[data-theme="dark"] .nav-links a.nav-active { color: #a7f3d0; }
[data-theme="dark"] .nav-links a.nav-active i { color: #a7f3d0; }

.nav-spacer { display: none; }

/* ── Shared nav icon button base ── */
.theme-toggle, .notif-btn, .hamburger,
nav .btn-ghost {
  height: 36px;
  background: rgba(255,255,255,0.50);
  border: 1px solid rgba(255,255,255,0.80);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--text); transition: all .2s; flex-shrink: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .notif-btn,
[data-theme="dark"] .hamburger,
[data-theme="dark"] nav .btn-ghost {
  background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.75);
}

/* ── Icon-only buttons (square → circle) ── */
.theme-toggle, .notif-btn, .hamburger {
  width: 36px; border-radius: 50%;
}
.theme-toggle:hover, .notif-btn:hover, .hamburger:hover {
  background: rgba(255,255,255,0.85); transform: scale(1.06); color: var(--text);
}
[data-theme="dark"] .theme-toggle:hover,
[data-theme="dark"] .notif-btn:hover,
[data-theme="dark"] .hamburger:hover {
  background: rgba(255,255,255,0.18); color: #fff;
}

/* show/hide sun-moon icons */
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.nav-actions { display: flex; align-items: center; gap: 8px; }

/* ── Language toggle button ── */
.nav-lang-btn {
  display: flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,0.50); border: 1px solid rgba(255,255,255,0.80);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--text); text-decoration: none; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .15s; white-space: nowrap;
}
.nav-lang-btn:hover { background: rgba(255,255,255,0.85); color: var(--text); }
[data-theme="dark"] .nav-lang-btn {
  background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.75);
}
[data-theme="dark"] .nav-lang-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }
@media (max-width: 768px) { .nav-lang-btn { display: none; } }

nav .btn-lime {
  padding: 7px 18px; font-size: 13px; font-weight: 500; border-radius: 999px;
  background: linear-gradient(135deg, #1D9E75, #0F6E56);
  border: 1px solid rgba(255,255,255,0.25); color: #fff;
  box-shadow: 0 2px 12px rgba(29,158,117,0.35), inset 0 1px 0 rgba(255,255,255,0.22);
}
nav .btn-lime:hover {
  box-shadow: 0 4px 20px rgba(29,158,117,0.50), inset 0 1px 0 rgba(255,255,255,0.28);
  transform: translateY(-1px);
}

/* ── Nav avatar + user ── */
.nav-user { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 0.82rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-edit-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.80);
  box-shadow: var(--specular);
  color: var(--green); text-decoration: none; flex-shrink: 0;
  transition: all .2s;
}
.nav-edit-btn:hover { background: rgba(255,255,255,0.85); color: var(--green-dim); transform: scale(1.06); }
[data-theme="dark"] .nav-edit-btn { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.75); }
[data-theme="dark"] .nav-edit-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; font-family: var(--font-body); font-weight: 600;
  border-radius: 10px; border: none; cursor: pointer;
  text-decoration: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-sm   { font-size: 0.82rem; padding: 0.40rem 1rem;  }
.btn-md   { font-size: 0.88rem; padding: 0.56rem 1.25rem; }
.btn-lg   { font-size: 1rem;    padding: 0.72rem 1.75rem; }

.btn-lime {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 8px rgba(4,120,87,0.30);
}
.btn-lime:hover { background: var(--green-dim); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(4,120,87,0.40); }

.btn-ghost {
  background: rgba(255,255,255,0.50);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.75);
  color: var(--text-2);
  box-shadow: var(--specular);
}
.btn-ghost:hover { background: rgba(255,255,255,0.75); color: var(--text); }

[data-theme="dark"] .btn-ghost {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.75);
}
[data-theme="dark"] .btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--green);
  color: var(--green);
}
.btn-outline:hover { background: rgba(4,120,87,0.08); }

[data-theme="dark"] .btn-outline { color: var(--green-bright); border-color: var(--green-bright); }
[data-theme="dark"] .btn-outline:hover { background: rgba(16,185,129,0.10); }

/* ══════════════════════════════════════
   LAYOUT — MAIN / CONTAINER
══════════════════════════════════════ */
main { padding: 0; min-height: calc(100vh - 64px); }

.container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}

/* ══════════════════════════════════════
   GLASS UTILITY CLASSES
══════════════════════════════════════ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm), var(--specular);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--specular);
}

[data-theme="dark"] .glass-card {
  border-top-color: rgba(255,255,255,0.30);
}

/* ══════════════════════════════════════
   FORMS — INPUTS
══════════════════════════════════════ */
input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  color: var(--text);
  width: 100%;
  outline: none;
  transition: var(--transition);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(4,120,87,0.12), inset 0 1px 3px rgba(0,0,0,0.04);
}
input::placeholder { color: var(--muted); }

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
}
[data-theme="dark"] input::placeholder { color: rgba(255,255,255,0.35); }

label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); margin-bottom: 0.35rem; display: block; }

.form-group { display: flex; flex-direction: column; margin-bottom: 1.1rem; }

/* ══════════════════════════════════════
   LANDING — HERO
══════════════════════════════════════ */
.hero {
  min-height: 88vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  background: transparent;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.85);
  border-top: 1.5px solid rgba(255,255,255,0.95);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-size: 0.78rem; font-weight: 700;
  color: var(--green-dim);
  box-shadow: var(--specular), var(--shadow-sm);
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .hero-eyebrow {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.25);
  color: var(--green-bright);
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--green-dim) 0%, var(--green) 50%, var(--green-bright) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem; color: var(--muted); max-width: 560px;
  margin: 0 auto 2.5rem; line-height: 1.65;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════
   LANDING — STATS BAR
══════════════════════════════════════ */
.stats-bar {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.92);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2.5rem;
  display: flex; gap: 0; justify-content: center; flex-wrap: wrap;
  margin-bottom: 5rem;
  box-shadow: var(--shadow), var(--specular);
}

[data-theme="dark"] .stats-bar { border-top-color: rgba(255,255,255,0.30); }

.stat-item {
  flex: 1; min-width: 120px; text-align: center;
  padding: 0.5rem 1.5rem;
  border-inline-end: 1px solid var(--glass-border);
}
.stat-item:last-child { border-inline-end: none; }

.stat-item strong { font-size: 2rem; font-weight: 900; color: var(--green); letter-spacing: -.04em; display: block; line-height: 1; }
.stat-item span { font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; display: block; }

/* ══════════════════════════════════════
   LANDING — SECTION HEADINGS
══════════════════════════════════════ */
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; letter-spacing: -.04em; color: var(--text);
  margin-bottom: 0.6rem;
}
.section-sub { font-size: 1rem; color: var(--muted); line-height: 1.6; max-width: 540px; }

/* ══════════════════════════════════════
   LANDING — HOW IT WORKS STEPS
══════════════════════════════════════ */
.hiw-section { padding: 5rem 1.5rem; }

.hiw-tabs-wrap { display: flex; justify-content: center; margin: 2.5rem 0 3rem; }
.hiw-tabs {
  display: flex; gap: 0;
  background: var(--glass-bg-thin);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 999px; padding: 4px;
}
.hiw-tab {
  padding: 0.4rem 1.3rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  color: var(--muted); background: transparent;
  border: none; font-family: var(--font-body);
  transition: var(--transition);
}
.hiw-tab.active {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--green);
  box-shadow: var(--specular), var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.90);
}

[data-theme="dark"] .hiw-tab.active {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  background: transparent;
  overflow: visible;
}

.step-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.92);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  box-shadow: var(--shadow), var(--specular);
  transition: var(--transition);
}
.step-card:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--specular);
}

[data-theme="dark"] .step-card { border-top-color: rgba(255,255,255,0.28); }

.step-num {
  width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green-dim) 0%, var(--green) 100%);
  color: #fff; font-size: 1.2rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(4,120,87,0.30);
}
.step-card h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.step-card p  { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

/* ══════════════════════════════════════
   LANDING — FEATURES
══════════════════════════════════════ */
.feat-section { padding: 5rem 1.5rem; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  background: transparent;
  overflow: visible;
  margin-top: 3rem;
}

.feat-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.92);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  box-shadow: var(--shadow), var(--specular);
  transition: var(--transition);
}
.feat-card:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--specular);
}

[data-theme="dark"] .feat-card { border-top-color: rgba(255,255,255,0.28); }

.feat-icon {
  font-size: 2rem; width: 52px; height: 52px;
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.80);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--specular);
  margin-bottom: 0.25rem;
}
[data-theme="dark"] .feat-icon { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.20); }

.feat-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.feat-card p  { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

/* ══════════════════════════════════════
   LANDING — CITIES
══════════════════════════════════════ */
.cities-section { padding: 4rem 1.5rem; }

.city-grid {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem;
}

.city-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1.25rem 1.75rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), var(--specular);
  transition: var(--transition);
  cursor: default;
}
.city-card:hover { transform: translateY(-3px); background: var(--glass-bg-hover); box-shadow: var(--shadow), var(--specular); }

[data-theme="dark"] .city-card { border-top-color: rgba(255,255,255,0.28); }

.city-icon { font-size: 2rem; }
.city-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.city-count { font-size: 0.72rem; color: var(--muted); }

/* ══════════════════════════════════════
   LANDING — TESTIMONIALS
══════════════════════════════════════ */
.testimonial-section { padding: 5rem 1.5rem; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
}

.tcard {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.92);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow), var(--specular);
  display: flex; flex-direction: column; gap: 0.75rem;
}

[data-theme="dark"] .tcard { border-top-color: rgba(255,255,255,0.28); }

.tcard-stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 2px; }
.tcard-text { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; font-style: italic; }
.tcard-author { display: flex; align-items: center; gap: 0.6rem; margin-top: auto; }
.tcard-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dim) 0%, var(--green) 100%);
  color: #fff; font-size: 0.88rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tcard-name { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.tcard-role { font-size: 0.72rem; color: var(--muted); }

/* ══════════════════════════════════════
   LANDING — CTA SECTION
══════════════════════════════════════ */
.cta-section {
  padding: 5rem 1.5rem 6rem;
}

.cta-inner {
  background: linear-gradient(135deg, var(--green-dim) 0%, var(--green) 50%, var(--green-bright) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 20px 56px rgba(4,120,87,0.35);
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 20% 30%, rgba(255,255,255,0.18) 0%, transparent 60%);
}
.cta-inner h2 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; letter-spacing:-.04em; color: #fff; margin-bottom: 0.75rem; position: relative; }
.cta-inner p  { color: rgba(255,255,255,.75); font-size: 1rem; max-width: 480px; margin: 0 auto 2.5rem; position: relative; line-height:1.65; }
.btn-cta-light {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 12px; padding: 0.75rem 2rem;
  font-size: 0.95rem; font-weight: 800;
  color: var(--green-dim); box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: var(--transition); position: relative; cursor: pointer; text-decoration: none;
}
.btn-cta-light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.20); }

/* ══════════════════════════════════════
   AUTH — LOGIN / REGISTER
══════════════════════════════════════ */
.auth-wrap {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem;
}

.auth-card {
  width: 100%; max-width: 420px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.92);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), var(--specular);
}

[data-theme="dark"] .auth-card { border-top-color: rgba(255,255,255,0.30); }

.auth-card h2 { font-size: 1.6rem; font-weight: 900; letter-spacing: -.04em; color: var(--text); margin-bottom: 0.3rem; }
.auth-card p  { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.75rem; }
.auth-link { font-size: 0.85rem; text-align: center; color: var(--muted); margin-top: 1.25rem; }
.auth-link a { color: var(--green); font-weight: 700; }

.auth-divider { text-align: center; font-size: 0.75rem; color: var(--muted); margin: 1rem 0; position: relative; }
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%; width: 42%; height: 1px;
  background: var(--glass-border);
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

/* ══════════════════════════════════════
   PAGE HEADER (inner pages)
══════════════════════════════════════ */
.page-header {
  padding: 2.5rem 2rem 2rem;
  background: transparent;
}
.page-header h1 {
  font-size: 1.8rem; font-weight: 900; letter-spacing: -.04em;
  color: var(--text); margin-bottom: 0.25rem;
}
.page-header p { font-size: 0.9rem; color: var(--muted); }

/* ══════════════════════════════════════
   CARDS — GENERIC
══════════════════════════════════════ */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.90);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--specular);
  padding: 1.5rem;
}

[data-theme="dark"] .card { border-top-color: rgba(255,255,255,0.28); }

/* ══════════════════════════════════════
   TABLE
══════════════════════════════════════ */
.table-wrap {
  overflow-x: auto;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.90);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--specular);
}

[data-theme="dark"] .table-wrap { border-top-color: rgba(255,255,255,0.28); }

table { width: 100%; border-collapse: collapse; }
thead { border-bottom: 1px solid var(--glass-border); }
thead th {
  padding: 0.9rem 1.1rem; text-align: start;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
tbody tr { border-bottom: 1px solid rgba(255,255,255,0.25); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.20); }
[data-theme="dark"] tbody tr:hover { background: rgba(255,255,255,0.06); }
tbody td { padding: 1rem 1.1rem; font-size: 0.875rem; color: var(--text-2); }
tbody td:first-child { color: var(--text); font-weight: 600; }

/* ══════════════════════════════════════
   BADGES / CHIPS
══════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.6rem; border-radius: 6px;
  font-size: 0.7rem; font-weight: 700;
}
.badge-green  { background: rgba(4,120,87,0.12);  color: var(--green); }
.badge-amber  { background: rgba(217,119,6,0.12); color: var(--amber); }
.badge-red    { background: rgba(220,38,38,0.12); color: var(--red); }
.badge-glass  { background: var(--glass-bg-thin); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--glass-border); color: var(--text-2); }

/* ══════════════════════════════════════
   ALERT / FLASH
══════════════════════════════════════ */
.flash-wrap { padding: 0.75rem 2rem 0; }
.flash {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  font-size: 0.875rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.flash-success { background: rgba(4,120,87,0.12); border: 1px solid rgba(4,120,87,0.30); color: var(--green); }
.flash-error   { background: rgba(220,38,38,0.10); border: 1px solid rgba(220,38,38,0.28); color: var(--red); }
.flash-warn    { background: rgba(217,119,6,0.10); border: 1px solid rgba(217,119,6,0.28); color: var(--amber); }

/* ══════════════════════════════════════
   STAT BOX (owner dashboard)
══════════════════════════════════════ */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 1rem; margin-bottom: 2rem; }

.stat-box {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.90);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-sm), var(--specular);
}
[data-theme="dark"] .stat-box { border-top-color: rgba(255,255,255,0.28); }
.stat-box .label { font-size: 0.72rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 0.35rem; }
.stat-box .val   { font-size: 2rem; font-weight: 900; letter-spacing: -.04em; color: var(--green); }
.stat-box .sub   { font-size: 0.72rem; color: var(--muted); margin-top: 0.1rem; }

/* ══════════════════════════════════════
   PANELS — GENERIC (sessions, bookings…)
══════════════════════════════════════ */
.panel, .sblock, .os-card, .booking-card, .session-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.90);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--specular);
}
[data-theme="dark"] .panel,
[data-theme="dark"] .sblock,
[data-theme="dark"] .os-card,
[data-theme="dark"] .booking-card,
[data-theme="dark"] .session-card { border-top-color: rgba(255,255,255,0.28); }

/* ══════════════════════════════════════
   NOTIF PANEL (from base.html inline styles)
══════════════════════════════════════ */
.notif-wrap { position: relative; }
.notif-btn {
  position: relative; width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.80);
  box-shadow: var(--specular);
  color: var(--green); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0;
}
.notif-btn:hover { background: rgba(255,255,255,0.85); color: var(--green-dim); }

[data-theme="dark"] .notif-btn {
  background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.75);
}
[data-theme="dark"] .notif-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }

.notif-badge {
  position: absolute; top: 2px; inset-inline-end: 0px;
  background: var(--red, #dc2626); color: #fff;
  font-size: 0.6rem; font-weight: 900; min-width: 17px; height: 17px;
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid var(--bg, #f0faf5); line-height: 1;
  font-family: system-ui, sans-serif; z-index: 10; pointer-events: none;
}
[data-theme="dark"] .notif-badge { border-color: #0a1f16; }

.notif-panel {
  display: none; position: absolute;
  top: calc(100% + 10px); inset-inline-end: 0; width: 320px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--specular);
  z-index: 500; overflow: hidden;
  animation: notifIn .18s ease;
}
.notif-panel.open { display: block; }
@keyframes notifIn { from { opacity:0; transform:translateY(-6px) scale(.97); } to { opacity:1; transform:none; } }
[data-theme="dark"] .notif-panel { border-top-color: rgba(255,255,255,0.30); }

.notif-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1rem 0.75rem; border-bottom: 1px solid var(--glass-border);
}
.notif-panel-title { font-size: 0.85rem; font-weight: 800; color: var(--text); }
.notif-panel-count { background: var(--red, #dc2626); color: #fff; font-size: 0.65rem; font-weight: 900; padding: 0.1rem 0.5rem; border-radius: 20px; }
.notif-list { max-height: 380px; overflow-y: auto; }
.notif-item {
  display: grid; grid-template-columns: 8px 1fr; gap: 0.75rem;
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--glass-border);
  text-decoration: none; transition: background .15s; align-items: flex-start;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg-2); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.notif-cancel .notif-dot     { background: var(--red, #dc2626); }
.notif-pending .notif-dot    { background: var(--amber, #d97706); }
.notif-venue_approved .notif-dot { background: var(--green, #16a34a); }
.notif-venue_approved .notif-item-title { color: var(--green, #16a34a); }
.notif-slot_offered .notif-dot { background: var(--amber, #d97706); animation: notifPulse 1.2s ease-in-out infinite; }
.notif-slot_offered .notif-item-title { color: var(--amber, #d97706); }
@keyframes notifPulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.55; transform:scale(1.35); } }
.notif-item-title { font-size: 0.82rem; font-weight: 800; color: var(--text); margin-bottom: 0.15rem; }
.notif-cancel .notif-item-title  { color: var(--red, #dc2626); }
.notif-pending .notif-item-title { color: var(--amber, #d97706); }
.notif-item-venue  { font-size: 0.75rem; color: var(--text-2); margin-bottom: 0.15rem; }
.notif-item-reason { font-size: 0.72rem; color: var(--muted); font-style: italic; margin: 0.2rem 0; background: var(--bg-3); padding: 0.2rem 0.45rem; border-radius: 5px; }
.notif-item-player { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.15rem; }
.notif-item-link   { font-size: 0.72rem; font-weight: 700; color: var(--green); margin-top: 0.25rem; }
.notif-empty { padding: 2.5rem 1rem; text-align: center; }
.notif-empty-icon  { font-size: 2rem; opacity: .3; margin-bottom: 0.6rem; }
.notif-empty-title { font-size: 0.88rem; font-weight: 800; color: var(--text); }
.notif-empty-sub   { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }

/* ══════════════════════════════════════
   OWNER & INNER PAGE LAYOUTS
══════════════════════════════════════ */
.inner-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.section-head h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--text); }

/* ── Upload / Image preview ── */
.img-preview-wrap {
  border: 2px dashed var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--glass-bg-thin);
}
.img-preview-wrap:hover { border-color: var(--green); background: var(--glass-bg); }
.img-preview-wrap img { max-height: 200px; border-radius: 8px; margin: 0 auto; }

/* ══════════════════════════════════════
   VENUE CARD (player/venues)
══════════════════════════════════════ */
.vcard {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 1.5px solid rgba(255,255,255,0.92);
  border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: var(--transition); cursor: pointer;
  box-shadow: var(--shadow), var(--specular);
}
.vcard:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--specular);
}

[data-theme="dark"] .vcard { border-top-color: rgba(255,255,255,0.28); }

/* ══════════════════════════════════════
   WAITING LIST BANNER
══════════════════════════════════════ */
.wl-banner {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-top: 2px solid rgba(217,119,6,0.60);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow), var(--specular);
}
.wl-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem; border-radius: 999px;
  background: rgba(217,119,6,0.12); color: var(--amber);
  border: 1px solid rgba(217,119,6,0.30);
  font-size: 0.75rem; font-weight: 700;
}
.wl-badge-confirmed {
  background: rgba(4,120,87,0.12); color: var(--green);
  border-color: rgba(4,120,87,0.30);
}

/* ══════════════════════════════════════
   HAMBURGER BUTTON
══════════════════════════════════════ */
.hamburger {
  display: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.60); border: 1px solid rgba(255,255,255,0.80);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 0; transition: all .2s; flex-shrink: 0;
  box-shadow: var(--specular);
}
.hamburger:hover { background: rgba(255,255,255,0.85); transform: scale(1.06); }
[data-theme="dark"] .hamburger { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.22); }
[data-theme="dark"] .hamburger:hover { background: rgba(255,255,255,0.18); }
.hamburger span {
  display: block; width: 18px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════
   MOBILE NAV DRAWER
══════════════════════════════════════ */
.mobile-nav {
  display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 998;
  background: var(--glass-bg-hover);
  backdrop-filter: blur(32px) saturate(1.8); -webkit-backdrop-filter: blur(32px) saturate(1.8);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  padding: 1rem 1.25rem 1.5rem;
  animation: drawerIn .22s ease;
  overflow-y: auto; max-height: calc(100dvh - 60px);
}
.mobile-nav.open { display: block; }
@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 1rem; }
.mobile-nav-links a {
  display: block; padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; font-weight: 600;
  color: var(--text); text-decoration: none;
  background: transparent; border: 1px solid transparent;
  transition: all .18s;
}
.mobile-nav-links a:hover, .mobile-nav-links a.active {
  background: var(--glass-bg); border-color: var(--glass-border);
  color: var(--green);
}
/* Guest navbar buttons (mobile only — hidden on desktop) */
.nav-guest-mob {
  display: none;
}
@media (max-width: 768px) {
  .nav-guest-mob {
    display: flex; align-items: center; gap: 6px;
    order: 3; margin-inline-start: auto;
  }
  .nav-g-theme {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    border: 1.5px solid var(--border-2); background: var(--surface);
    color: var(--text); cursor: pointer; transition: all .15s; flex-shrink: 0;
  }
  .nav-g-theme:hover { background: var(--bg-2); border-color: var(--border); }
  .nav-g-login {
    display: flex; align-items: center; padding: 0 14px; height: 36px;
    border-radius: 10px; font-size: .8rem; font-weight: 700;
    background: linear-gradient(135deg,#1D9E75,#0F6E56); color: #fff;
    text-decoration: none; white-space: nowrap; transition: all .15s;
    box-shadow: 0 2px 8px rgba(13,148,136,.25);
  }
  .nav-g-login:hover { opacity: .9; }
  .nav-g-lang {
    display: flex; align-items: center; justify-content: center;
    height: 36px; padding: 0 10px; border-radius: 10px;
    border: 1.5px solid var(--border-2); background: var(--surface);
    color: var(--text); cursor: pointer; transition: all .15s;
    font-size: .8rem; font-weight: 700; text-decoration: none; flex-shrink: 0;
    white-space: nowrap;
  }
  .nav-g-lang:hover { background: var(--bg-2); border-color: var(--border); }
  /* hide register circle btn since we have the login btn above */
  .nav-register-btn { display: none !important; }
}

.mobile-nav-actions {
  display: flex; flex-direction: column; gap: 8px; padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}
.mobile-nav-actions .btn { width: 100%; justify-content: center; }
.mob-theme-row {
  display: flex; align-items: center; gap: .7rem; width: 100%;
  padding: .65rem 1rem; border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(15,23,42,0.04);
  cursor: pointer; font-family: inherit;
  color: var(--text); transition: background .15s;
}
[data-theme="dark"] .mob-theme-row {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
}
.mob-theme-row:hover { background: rgba(15,23,42,0.08); }
[data-theme="dark"] .mob-theme-row:hover { background: rgba(255,255,255,0.12); }
.mob-theme-ico { font-size: 1.05rem; width: 20px; text-align: center; }
.mob-theme-lbl { flex: 1; font-size: .88rem; font-weight: 600; text-align: start; }
.mob-theme-pill {
  width: 40px; height: 22px; border-radius: 999px;
  background: rgba(15,23,42,0.18);
  position: relative; transition: background .25s; flex-shrink: 0;
}
[data-theme="dark"] .mob-theme-pill { background: rgba(255,255,255,0.25); }
.mob-theme-knob {
  position: absolute; top: 3px; inset-inline-start: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  transition: inset-inline-start .25s;
  box-shadow: 0 1px 4px rgba(0,0,0,.30);
}
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 997; background: rgba(0,0,0,0.25);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { display: block; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── Mobile nav layout: [user+name LEFT] [bell][hamburger][logo RIGHT] ── */
  nav { padding: 0 10px; gap: 0; }
  .nav-links { display: none; }
  .nav-logo { flex-shrink: 0; }
  .nav-logo-tagline { font-size: 8px; }
  .nav-logo-title   { font-size: .9rem; }

  /* nav-actions fills remaining space */
  .nav-actions { flex: 1; display: flex; align-items: center; gap: 4px; overflow: hidden; }

  /* RTL order: 1=rightmost (next to logo), 3=leftmost (far left) */
  .hamburger   { order: 1; display: flex; width: 34px; height: 34px; gap: 5px; flex-shrink: 0; margin-inline-start: 14px; margin-inline-end: 4px; }
  .hamburger span { width: 17px; }
  .notif-wrap  { order: 2; flex-shrink: 0; }
  .nav-user-wrap {
    order: 3;
    margin-inline-start: auto;
    max-width: none !important;
    min-width: 0;
    padding: .25rem .4rem;
  }
  .nav-user-wrap > span {
    display: block !important;
    font-size: .8rem;
    white-space: nowrap;
    overflow: visible;
    max-width: none !important;
  }
  .nav-user-wrap > svg { display: none; }

  /* notifications full-width on mobile */
  .notif-panel {
    position: fixed; top: 60px; left: 0; right: 0;
    width: 100%; border-radius: 0 0 20px 20px;
    max-height: calc(100dvh - 60px);
  }
  /* hide text-only nav items + theme toggle */
  .nav-actions .btn-ghost { display: none; }
  .theme-toggle { display: none; }
  /* register button: icon-only circle matching other nav buttons */
  .nav-register-btn {
    order: 3; margin-inline-start: auto;  /* push to far LEFT in RTL */
    width: 36px; height: 36px; padding: 0; border-radius: 50%;
    background: rgba(255,255,255,0.50) !important;
    border: 1px solid rgba(255,255,255,0.80) !important;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: var(--text) !important; box-shadow: none !important;
    font-size: 1rem;
  }
  [data-theme="dark"] .nav-register-btn {
    background: rgba(255,255,255,0.10) !important;
    border-color: rgba(255,255,255,0.22) !important;
    color: rgba(255,255,255,0.75) !important;
  }
  .nav-register-lbl { display: none; }
  .nav-register-icon { font-size: 16px; }
  .hero h1 { font-size: 2.4rem; }
  .inner-wrap { padding: 1.25rem 1rem 3rem; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .step-grid, .feat-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .stats-bar { padding: 1.2rem 1rem; }
  .cta-inner { padding: 2.5rem 1.25rem; }
  /* venues / auth pages */
  .vcard { padding: 1rem; }
}

@media (max-width: 480px) {
  .hero { padding: 4rem 1rem 3rem; }
  .auth-card { padding: 1.75rem 1.25rem; border-radius: var(--radius-lg); }
  /* keep lang toggle + theme toggle + hamburger only */
  .nav-user, .nav-user + .btn { display: none; }
}

/* ══════════════════════════════════════
   UTILITY
══════════════════════════════════════ */
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.text-green  { color: var(--green); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
