/* ============================================================
   LUXEBOOK — Celebrity Booking & Fan Engagement Platform
   Design System & Global Styles
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette: dark luxury with gold + purple accents */
  --bg-0: #07070b;
  --bg-1: #0d0d14;
  --bg-2: #14141f;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f5f5fa;
  --text-muted: #a0a0b4;
  --text-dim: #6b6b80;

  --gold: #d4af37;
  --gold-2: #f5d76e;
  --purple: #7c3aed;
  --purple-2: #a78bfa;
  --rose: #e11d8f;

  --grad-primary: linear-gradient(135deg, #d4af37 0%, #f5d76e 50%, #a78bfa 100%);
  --grad-purple: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  --grad-gold: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #f5d76e 100%);
  --grad-dark: linear-gradient(180deg, #0d0d14 0%, #07070b 100%);

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 10px 40px -10px rgba(212, 175, 55, 0.5);
  --shadow-purple: 0 10px 40px -10px rgba(124, 58, 237, 0.55);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --header-h: 76px;
  --container: 1240px;

  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --t-fast: 160ms cubic-bezier(.4,0,.2,1);
  --t: 240ms cubic-bezier(.4,0,.2,1);
  --t-slow: 480ms cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-0);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(124,58,237,0.15), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(212,175,55,0.10), transparent 50%),
    linear-gradient(180deg, #07070b 0%, #0a0a12 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
p { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }
.grid { display: grid; gap: 24px; }
.flex { display: flex; gap: 16px; }
.center { display: flex; align-items: center; justify-content: center; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--gold); }
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  padding: 6px 14px; border: 1px solid rgba(212,175,55,.3);
  border-radius: var(--radius-pill);
  background: rgba(212,175,55,.06);
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: .95rem;
  letter-spacing: .01em;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
  user-select: none;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-gold);
  color: #1a1308;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(212,175,55,.7); }
.btn-purple {
  background: var(--grad-purple);
  color: #fff;
  box-shadow: var(--shadow-purple);
}
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(124,58,237,.75); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.25); }
.btn-outline-gold {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: #1a1308; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 12px; aspect-ratio: 1; }

/* ---------- Glass cards ---------- */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.glass-hover { transition: transform var(--t), border-color var(--t), box-shadow var(--t); }
.glass-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.35);
  box-shadow: 0 24px 60px -20px rgba(212,175,55,.25);
}
.card { background: var(--bg-1); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.card-padded { padding: 28px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 7, 11, 0.7);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  letter-spacing: .02em;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-gold);
  display: grid; place-items: center;
  color: #1a1308; font-weight: 800; font-family: var(--font-sans);
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}
.brand-logo {
  height: 36px; width: auto; max-width: 140px; object-fit: contain;
  border-radius: 8px;
}
.brand-logo-sm { height: 32px; max-width: 120px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--text-muted);
  position: relative; padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--grad-gold); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}
.locale-link {
  display: inline-block;
  padding: 4px 6px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  line-height: 1.2;
}
.locale-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.locale-link.active { color: var(--gold); background: rgba(212, 175, 55, 0.12); }
.menu-toggle { display: none; padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }

@media (max-width: 960px) {
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(7,7,11,.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px; transform: translateY(-120%); transition: transform var(--t);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(60px, 10vw, 140px) 0 clamp(60px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(124,58,237,.25), transparent 60%),
    radial-gradient(50% 50% at 75% 70%, rgba(212,175,55,.18), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; position: relative; }
.hero-title { font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.05; margin-bottom: 20px; }
.hero-sub { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--text-muted); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 520px; }
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; color: var(--gold); font-weight: 700; }
.hero-stat .lbl { font-size: .82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .12em; }
.hero-visual { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-xl); overflow: hidden;
  background:
    linear-gradient(135deg, rgba(212,175,55,.2), rgba(124,58,237,.3)),
    url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=900&q=80') center/cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-strong);
}
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,7,11,.75) 100%);
}
.hero-badge {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: var(--radius-pill);
  background: rgba(7,7,11,.7); backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong); font-size: .85rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
}

/* ---------- Featured talent cards ---------- */
.talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.talent-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-1); border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.talent-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,.4); box-shadow: var(--shadow-gold); }
.talent-card .photo {
  aspect-ratio: 3/4; background-size: cover; background-position: center;
  position: relative;
}
.talent-card .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,7,11,.95) 100%);
}
.talent-card .verified {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--grad-gold); color: #1a1308;
  font-size: .7rem; font-weight: 700; padding: 5px 10px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 4px;
}
.talent-card .category-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(7,7,11,.7); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  font-size: .72rem; padding: 5px 10px; border-radius: var(--radius-pill);
  color: var(--text);
}
.talent-card .info { padding: 18px 20px 22px; position: relative; }
.talent-card .name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin: 0 0 4px; }
.talent-card .meta { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: .85rem; margin-bottom: 14px; }
.talent-card .rating { color: var(--gold); display: inline-flex; align-items: center; gap: 4px; }
.talent-card .price { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.talent-card .price strong { font-size: 1.15rem; color: var(--gold); font-family: var(--font-display); }
.talent-card .price small { color: var(--text-dim); font-size: .75rem; }
.talent-card .actions { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }

/* ---------- Stats / metrics row ---------- */
.metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.metric-card { padding: 28px; text-align: center; }
.metric-card .v { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); font-weight: 700; line-height: 1; }
.metric-card .l { color: var(--text-muted); font-size: .9rem; margin-top: 8px; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Payment methods ---------- */
.pay-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 28px 0;
}
.pay-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  font-size: .9rem; color: var(--text);
  transition: border-color var(--t), background var(--t);
}
.pay-chip:hover { border-color: rgba(212,175,55,.4); background: var(--surface-2); }
.pay-chip .icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: #1a1308; font-size: .7rem; font-weight: 800; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step-card { padding: 32px 28px; text-align: left; position: relative; }
.step-card .n {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-purple); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff;
  margin-bottom: 18px; box-shadow: var(--shadow-purple);
}
.step-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ---------- Logos strip ---------- */
.logos-strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px;
  opacity: .7; filter: grayscale(1);
}
.logos-strip span {
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .15em; color: var(--text-muted);
}

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testi { padding: 28px; }
.testi .quote { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.55; color: var(--text); margin-bottom: 20px; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-purple); display: grid; place-items: center; font-weight: 700; color: #fff; }
.testi .who .name { font-weight: 600; font-size: .95rem; }
.testi .who .role { font-size: .8rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 1.05rem; font-weight: 500; font-family: var(--font-display);
}
.faq-q .chev { transition: transform var(--t); color: var(--gold); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-slow), padding var(--t); color: var(--text-muted); }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 60px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-col h4 { font-family: var(--font-sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--text-muted); padding: 6px 0; font-size: .9rem; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-dim); font-size: .85rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }

/* All text-like inputs (with or without type attr) — overrides OS light defaults on Windows/Edge */
.form-control,
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not([type="range"]):not([type="color"]),
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background-color: var(--bg-2) !important;
  border: 1px solid var(--border-strong) !important;
  color: var(--text) !important;
  font-size: .95rem;
  transition: border-color var(--t), background-color var(--t), box-shadow var(--t);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a0a0b4' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
select::-ms-expand { display: none; }
select option {
  background-color: var(--bg-2);
  color: var(--text);
}
input[readonly] {
  background-color: var(--bg-1) !important;
  color: var(--text-muted) !important;
  cursor: default;
}
.form-control:focus,
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not([type="range"]):not([type="color"]):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 4px rgba(212,175,55,.12);
  background-color: var(--bg-1) !important;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"])::placeholder,
textarea::placeholder {
  color: var(--text-dim);
  opacity: 1;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text) !important;
  box-shadow: 0 0 0 1000px var(--bg-2) inset !important;
  transition: background-color 9999s ease-out 0s;
}
input[type="file"] {
  width: 100%;
  padding: 10px 0;
  color: var(--text-muted);
  font-size: .9rem;
}
textarea { min-height: 110px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }
.input-icon { position: relative; }
.input-icon input { padding-right: 44px; }
.input-icon .toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); padding: 8px; color: var(--text-muted); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text-muted); cursor: pointer; }
.checkbox input { margin-top: 3px; accent-color: var(--gold); }

/* ---------- Auth ---------- */
.auth-shell { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 60px 24px; }
.auth-card { width: 100%; max-width: 460px; padding: 40px; }
.auth-card h1 { font-size: 1.9rem; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--text-muted); margin-bottom: 28px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--text-dim); font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social-btn { padding: 12px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; font-size: .9rem; }
.social-btn:hover { background: var(--surface-2); }

/* ---------- Search / Filter bar ---------- */
.filter-bar {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 12px;
  padding: 18px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  margin-bottom: 32px;
}
@media (max-width: 800px) { .filter-bar { grid-template-columns: 1fr 1fr; } }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip {
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  font-size: .85rem; cursor: pointer; transition: all var(--t);
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--grad-gold); color: #1a1308; border-color: transparent; font-weight: 600; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination button {
  min-width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 500;
}
.pagination button.active { background: var(--grad-gold); color: #1a1308; border-color: transparent; }
.pagination button:hover:not(.active) { border-color: var(--gold); }

/* ---------- Profile page ---------- */
.profile-hero {
  position: relative;
  padding: 80px 0 40px;
}
.profile-hero-grid { display: grid; grid-template-columns: 360px 1fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .profile-hero-grid { grid-template-columns: 1fr; } }
.profile-photo {
  aspect-ratio: 3/4; border-radius: var(--radius-xl); overflow: hidden;
  background-size: cover; background-position: center;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.profile-name { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 8px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.profile-tags .chip { background: rgba(124,58,237,.12); border-color: rgba(124,58,237,.3); color: var(--purple-2); cursor: default; }
.profile-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; margin: 24px 0; }
.profile-info-grid .item { padding: 16px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); }
.profile-info-grid .item .l { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.profile-info-grid .item .v { font-weight: 600; color: var(--text); }

.profile-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
@media (max-width: 1000px) { .profile-layout { grid-template-columns: 1fr; } }
.profile-sticky { position: sticky; top: calc(var(--header-h) + 20px); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-md); transition: transform var(--t); cursor: pointer; }
.gallery-grid img:hover { transform: scale(1.03); }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.review-card { padding: 22px; margin-bottom: 14px; }
.review-card .top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-card .av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-purple); display: grid; place-items: center; font-weight: 700; }
.review-card .stars { color: var(--gold); margin-left: auto; }

/* ---------- Booking wizard ---------- */
.wizard { max-width: 880px; margin: 0 auto; }
.wizard-progress { display: flex; align-items: center; gap: 8px; margin-bottom: 40px; }
.wizard-progress .step { flex: 1; text-align: center; position: relative; }
.wizard-progress .step .num {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 10px;
  background: var(--surface); border: 1px solid var(--border-strong);
  display: grid; place-items: center; font-weight: 600;
  transition: all var(--t);
}
.wizard-progress .step.active .num { background: var(--grad-gold); color: #1a1308; border-color: transparent; box-shadow: var(--shadow-gold); }
.wizard-progress .step.done .num { background: var(--success); color: #fff; border-color: transparent; }
.wizard-progress .step .label { font-size: .82rem; color: var(--text-muted); }
.wizard-progress .step.active .label { color: var(--text); font-weight: 500; }
.wizard-progress .bar { flex: 0 0 60px; height: 2px; background: var(--border); margin-top: -28px; }
.wizard-progress .bar.done { background: var(--success); }

.wizard-step { display: none; padding: 36px; }
.wizard-step.active { display: block; animation: fadeUp .4s var(--t); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }

.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.summary-row.total { border: 0; font-size: 1.2rem; font-weight: 700; color: var(--gold); padding-top: 18px; }

.pay-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border-strong);
  cursor: pointer; transition: border-color var(--t), background var(--t);
  margin-bottom: 10px;
}
.pay-option:hover { border-color: var(--gold); }
.pay-option input { accent-color: var(--gold); }
.pay-option .label { flex: 1; }
.pay-option .label strong { display: block; font-size: .95rem; }
.pay-option .label small { color: var(--text-muted); }

/* ---------- Dashboard ---------- */
.dash-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - var(--header-h)); }
@media (max-width: 960px) { .dash-layout { grid-template-columns: 1fr; } }
.dash-sidebar {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  background: rgba(13,13,20,.7); backdrop-filter: blur(14px);
  border-right: 1px solid var(--border);
  padding: 28px 18px;
  z-index: 90;
}
body.admin-shell .dash-layout { min-height: 100vh; }
body.admin-shell .dash-sidebar {
  top: 0;
  height: 100vh;
  max-height: 100vh;
}
@media (max-width: 960px) {
  .dash-sidebar {
    position: relative;
    top: auto;
    height: auto;
    max-height: none;
    overflow-y: visible;
  }
}
.dash-sidebar .side-brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 22px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-md);
  color: var(--text-muted); font-size: .92rem; font-weight: 500;
  transition: all var(--t);
}
.side-nav a:hover { background: var(--surface); color: var(--text); }
.side-nav a.active { background: var(--grad-purple); color: #fff; box-shadow: var(--shadow-purple); }
.side-nav .ic { width: 18px; height: 18px; display: inline-grid; place-items: center; opacity: .9; }

.dash-main { padding: 32px clamp(20px, 4vw, 48px); }
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.dash-head h1 { font-size: 1.9rem; margin: 0; }
.dash-head .sub { color: var(--text-muted); font-size: .95rem; margin-top: 4px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 28px; }
.stat-card { padding: 22px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.stat-card .ic-bg { position: absolute; right: -8px; bottom: -8px; font-size: 4rem; opacity: .08; }
.stat-card .l { color: var(--text-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.stat-card .v { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.stat-card .delta { font-size: .82rem; color: var(--success); font-weight: 600; }
.stat-card .delta.down { color: var(--danger); }

.panel { padding: 24px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.panel-head h3 { margin: 0; font-size: 1.15rem; font-family: var(--font-sans); font-weight: 600; }

.dash-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 1000px) { .dash-cols { grid-template-columns: 1fr; } }

.admin-queue { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.admin-queue-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color var(--t), background var(--t);
}
.admin-queue-item:hover { border-color: var(--gold); background: rgba(212,175,55,.06); }
.admin-queue-item .ic { width: 28px; text-align: center; opacity: .9; }
.admin-queue-item .label { flex: 1; font-weight: 500; font-size: .92rem; }
.admin-quick-grid { display: grid; gap: 10px; }
.admin-side-user {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: .82rem;
}
.admin-side-user .name { font-weight: 600; color: var(--text); }
.admin-side-user .email { color: var(--text-dim); margin-top: 2px; word-break: break-all; }
.admin-kpi-row { margin-bottom: 20px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); }
table.data {
  width: 100%; border-collapse: collapse; font-size: .92rem;
}
table.data thead th {
  text-align: left; padding: 14px 16px; background: var(--surface);
  color: var(--text-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600;
  border-bottom: 1px solid var(--border);
}
table.data tbody td { padding: 16px; border-bottom: 1px solid var(--border); }
table.data tbody tr:hover { background: rgba(255,255,255,.02); }
table.data tbody tr:last-child td { border-bottom: 0; }

/* ---------- Status badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 600; letter-spacing: .03em;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { color: var(--success); background: rgba(16,185,129,.12); }
.badge-warning { color: var(--warning); background: rgba(245,158,11,.12); }
.badge-danger  { color: var(--danger);  background: rgba(239,68,68,.12); }
.badge-info    { color: var(--info);    background: rgba(59,130,246,.12); }
.badge-pending { color: var(--purple-2);background: rgba(124,58,237,.15); }
.badge-gold    { color: var(--gold);    background: rgba(212,175,55,.12); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.tab {
  padding: 14px 20px; font-weight: 500; color: var(--text-muted); font-size: .92rem;
  border-bottom: 2px solid transparent; cursor: pointer; transition: all var(--t);
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeUp .3s var(--t); }

/* ---------- Memberships ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.tier {
  padding: 36px 30px; position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-1); border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t);
}
.tier:hover { transform: translateY(-6px); }
.tier.featured { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.tier.featured::before {
  content: 'MOST POPULAR'; position: absolute; top: 16px; right: 16px;
  background: var(--grad-gold); color: #1a1308; padding: 4px 10px;
  border-radius: var(--radius-pill); font-size: .7rem; font-weight: 700; letter-spacing: .1em;
}
.tier .tier-name { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 6px; }
.tier .tier-name.silver { color: #c0c0c8; }
.tier .tier-name.gold { color: var(--gold); }
.tier .tier-name.platinum {
  background: linear-gradient(135deg, #e5e4e2, #b9f2ff, #a78bfa);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tier .price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; margin: 12px 0 4px; }
.tier .price small { font-size: .9rem; color: var(--text-muted); font-weight: 400; font-family: var(--font-sans); }
.tier .perks { margin: 20px 0 28px; }
.tier .perks li { padding: 8px 0; display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); font-size: .92rem; }
.tier .perks li::before { content: '✓'; color: var(--gold); font-weight: 700; margin-top: 1px; }

/* ---------- Donations ---------- */
.charity-card { padding: 0; overflow: hidden; }
.charity-card .cover { aspect-ratio: 16/9; background-size: cover; background-position: center; }
.charity-card .body { padding: 24px; }
.charity-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.progress { height: 8px; background: var(--surface-2); border-radius: var(--radius-pill); overflow: hidden; margin: 14px 0 8px; }
.progress > i { display: block; height: 100%; background: var(--grad-gold); border-radius: var(--radius-pill); transition: width 1s var(--t); }
.charity-card .meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--text-muted); margin-bottom: 18px; }

/* ---------- Chat ---------- */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad-purple); color: #fff;
  display: grid; place-items: center; font-size: 1.4rem;
  box-shadow: var(--shadow-purple);
  cursor: pointer; transition: transform var(--t);
}
.chat-fab:hover { transform: scale(1.08); }
.chat-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 91;
  width: 360px; max-width: calc(100vw - 44px); height: 520px; max-height: calc(100vh - 140px);
  border-radius: var(--radius-xl);
  background: rgba(13,13,20,.95); backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden;
}
.chat-panel.open { display: flex; animation: fadeUp .25s var(--t); }
.chat-head { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.chat-head .av { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-gold); display: grid; place-items: center; font-weight: 700; color: #1a1308; }
.chat-head .who { flex: 1; }
.chat-head .who strong { display: block; font-size: .95rem; }
.chat-head .who small { color: var(--success); font-size: .75rem; display: inline-flex; align-items: center; gap: 5px; }
.chat-head .who small::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.bubble { padding: 10px 14px; border-radius: 14px; max-width: 80%; font-size: .9rem; line-height: 1.5; }
.bubble.from { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); }
.bubble.me { align-self: flex-end; background: var(--grad-purple); color: #fff; }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }
.chat-input { padding: 14px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.chat-input input { flex: 1; padding: 10px 14px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); font-size: .9rem; }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; top: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 14px 18px; border-radius: var(--radius-md);
  background: rgba(13,13,20,.96); backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; min-width: 260px;
  animation: slideIn .3s var(--t);
  transition: opacity .35s ease, transform .35s ease;
}
.toast.success { border-color: rgba(16,185,129,.4); }
.toast.error { border-color: rgba(239,68,68,.4); }
.toast-body { flex: 1; line-height: 1.4; font-size: .92rem; }
.toast-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  transition: color var(--t), background var(--t);
}
.toast-close:hover { color: var(--text); background: rgba(255,255,255,.08); }
.toast-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal { width: 100%; max-width: 520px; padding: 32px; animation: fadeUp .25s var(--t); }
.modal h2 { font-size: 1.5rem; margin-bottom: 10px; }

/* ---------- Empty / Skeleton ---------- */
.empty { padding: 60px 20px; text-align: center; color: var(--text-muted); }
.empty .ic { font-size: 3rem; margin-bottom: 14px; opacity: .4; }
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-md); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 22px; }
.tl-item::before { content: ''; position: absolute; left: -27px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--grad-gold); box-shadow: 0 0 0 4px rgba(212,175,55,.12); }
.tl-item .when { font-size: .78rem; color: var(--text-muted); }
.tl-item .what { font-size: .92rem; margin-top: 2px; }

/* ---------- Trust / compliance strip ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.trust-card { padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.trust-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-gold); color: #1a1308; display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.trust-card h4 { font-size: 1rem; margin: 0 0 4px; font-family: var(--font-sans); }
.trust-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 36px; }
.hidden { display: none !important; }
.spaced { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .chat-fab, .chat-panel { display: none !important; }
  body { background: #fff; color: #000; }
}
