/* ═══════════════════════════════════════════════════════════════════
   SPINLAB PREMIUM DESIGN SYSTEM
   Ultra-premium layer on top of spinlab-design.css
   Glassmorphism · Gradient Mesh · Micro-interactions · Motion
   ═══════════════════════════════════════════════════════════════════ */

/* ── Global Bootstrap Dark Overrides ── */
.form-control, .form-select, .form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.05) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.1) !important;
  box-shadow: none !important;
}
.form-control::placeholder { color: rgba(255,255,255,0.45) !important; } /* ~4.0:1 on dark bg */
.form-label, label { color: rgba(255,255,255,0.7) !important; } /* ~6.3:1 on dark bg */
.card { background: rgba(255,255,255,0.03) !important; border-color: rgba(255,255,255,0.06) !important; color: #fff; }
.card-body { color: rgba(255,255,255,0.8); }
.table { color: rgba(255,255,255,0.8) !important; --bs-table-bg: transparent !important; }
.table > :not(caption) > * > * { border-bottom-color: rgba(255,255,255,0.06) !important; background: transparent !important; }
.table thead { color: rgba(255,255,255,0.5); }
.table tbody tr:hover { background: rgba(255,255,255,0.03) !important; }
.dropdown-menu { background: #111 !important; border-color: rgba(255,255,255,0.08) !important; }
.dropdown-item { color: rgba(255,255,255,0.8) !important; }
.dropdown-item:hover, .dropdown-item:focus { background: rgba(255,255,255,0.05) !important; color: #dfc884 !important; }
.dropdown-divider { border-color: rgba(255,255,255,0.08) !important; }
.modal-content { background: #111 !important; border-color: rgba(255,255,255,0.08) !important; color: #fff; }
.modal-header { border-color: rgba(255,255,255,0.08) !important; }
.modal-footer { border-color: rgba(255,255,255,0.08) !important; }
.text-dark { color: rgba(255,255,255,0.8) !important; }
.text-muted { color: rgba(255,255,255,0.4) !important; }
.border { border-color: rgba(255,255,255,0.08) !important; }
hr { border-color: rgba(255,255,255,0.08); opacity: 1; }

/* ── Extended Design Tokens ── */
:root {
  /* Gold effects */
  --sl-gold-glow: rgba(223, 200, 132, 0.3);
  --sl-gold-neon: rgba(223, 200, 132, 0.15);
  --sl-gold-soft: rgba(223, 200, 132, 0.08);

  /* Glass */
  --sl-glass-bg: rgba(0, 61, 29, 0.55);
  --sl-glass-bg-dark: rgba(6, 26, 50, 0.65);
  --sl-glass-bg-light: rgba(255, 255, 255, 0.08);
  --sl-glass-border: rgba(223, 200, 132, 0.15);
  --sl-glass-blur: 20px;

  /* Radius */
  --sl-radius-lg: 20px;
  --sl-radius-xl: 28px;
  --sl-radius-full: 9999px;

  /* Shadows */
  --sl-shadow-glow: 0 0 40px rgba(223, 200, 132, 0.15);
  --sl-shadow-gold: 0 8px 32px rgba(223, 200, 132, 0.2);
  --sl-shadow-deep: 0 16px 48px rgba(0, 0, 0, 0.25);
  --sl-shadow-float: 0 20px 60px rgba(0, 61, 29, 0.15);

  /* Motion */
  --sl-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --sl-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --sl-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --sl-transition-smooth: all 0.4s var(--sl-ease-out);
  --sl-transition-fast: all 0.2s var(--sl-ease-smooth);
  --sl-transition-spring: all 0.5s var(--sl-ease-spring);

  /* Typography */
  --sl-font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --sl-font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

/* ── Unified Dark Theme Base ──
   Single source of truth for all page backgrounds, text, and surface colors.
   Every page inherits these unless explicitly overridden. */
:root {
  --sl-bg: #0a0a0a;
  --sl-bg-surface: rgba(255,255,255,0.03);
  --sl-bg-surface-hover: rgba(255,255,255,0.06);
  --sl-bg-elevated: rgba(255,255,255,0.05);
  --sl-border: rgba(255,255,255,0.06);
  --sl-border-hover: rgba(255,255,255,0.12);
  --sl-border-gold: rgba(223,200,132,0.2);
  --sl-text: #ffffff;
  --sl-text-secondary: rgba(255,255,255,0.65);
  --sl-text-muted: rgba(255,255,255,0.4);
  --sl-text-on-gold: #003d1d;
}

/* Global dark defaults */
body {
  background: var(--sl-bg) !important;
  color: var(--sl-text);
}

/* Override Bootstrap legacy colors */
.text-muted { color: var(--sl-text-muted) !important; }
.text-secondary { color: var(--sl-text-secondary) !important; }
.card { background: var(--sl-bg-surface); border-color: var(--sl-border); color: var(--sl-text); }
.card-body { color: var(--sl-text); }
.card-header { background: var(--sl-bg-elevated); border-color: var(--sl-border); color: var(--sl-text); }
.modal-content { background: #111; border-color: var(--sl-border); color: var(--sl-text); }
.modal-header { border-color: var(--sl-border); }
.modal-footer { border-color: var(--sl-border); }
.form-control, .form-select {
  background: rgba(255,255,255,0.05); border-color: var(--sl-border);
  color: var(--sl-text);
}
.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.08); border-color: var(--sl-gold);
  color: var(--sl-text); box-shadow: 0 0 0 3px var(--sl-gold-soft);
}
.form-control::placeholder { color: var(--sl-text-muted); }
.table { --bs-table-bg: transparent; --bs-table-color: var(--sl-text); color: var(--sl-text); }
.table thead th { border-color: var(--sl-border); color: var(--sl-text-secondary); }
.table td { border-color: var(--sl-border); }
.list-group-item { background: var(--sl-bg-surface); border-color: var(--sl-border); color: var(--sl-text); }
.dropdown-menu { background: #111; border-color: var(--sl-border); }
.dropdown-item { color: var(--sl-text); }
.dropdown-item:hover { background: var(--sl-bg-surface-hover); color: var(--sl-gold); }
.nav-tabs { border-color: var(--sl-border); }
.nav-tabs .nav-link { color: var(--sl-text-secondary); }
.nav-tabs .nav-link.active { background: var(--sl-bg-surface); border-color: var(--sl-border); color: var(--sl-gold); }
.badge.bg-light { background: rgba(255,255,255,0.1) !important; color: var(--sl-text) !important; }
a { color: var(--sl-gold); }
a:hover { color: #e8d48e; }
hr { border-color: var(--sl-border); }

/* ── Dropdown Dark Theme ── */
.dropdown-divider { border-color: rgba(255,255,255,0.08) !important; }
.dropdown-item { color: rgba(255,255,255,0.85) !important; }
.dropdown-item:hover, .dropdown-item:focus {
  background: rgba(255,255,255,0.06) !important;
  color: #dfc884 !important;
}
.dropdown-item i { opacity: 0.6; }
.dropdown-item:hover i { opacity: 1; }
.dropdown-item.text-danger { color: #ef4444 !important; }
.dropdown-item.text-danger:hover { background: rgba(239,68,68,0.1) !important; }

/* ── Bottom Nav Dark Override ── */
.mobile-bottom-nav {
  background: rgba(0, 20, 10, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(223,200,132,0.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3) !important;
}

/* ── Header Dark Override ── */
.navbar, header {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── Glass Card ── */
.card-glass {
  background: var(--sl-glass-bg);
  backdrop-filter: blur(var(--sl-glass-blur));
  -webkit-backdrop-filter: blur(var(--sl-glass-blur));
  border: 1px solid var(--sl-glass-border);
  border-radius: var(--sl-radius-lg);
  color: #fff;
  transition: var(--sl-transition-smooth);
}
.card-glass:hover {
  border-color: rgba(223, 200, 132, 0.3);
  box-shadow: var(--sl-shadow-glow);
  transform: translateY(-2px);
}
.card-glass-dark {
  background: var(--sl-glass-bg-dark);
  backdrop-filter: blur(var(--sl-glass-blur));
  -webkit-backdrop-filter: blur(var(--sl-glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--sl-radius-lg);
  color: #fff;
}
.card-glass-light {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 61, 29, 0.08);
  border-radius: var(--sl-radius-lg);
  transition: var(--sl-transition-smooth);
}
.card-glass-light:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--sl-shadow-float);
  transform: translateY(-4px);
}

/* ── Gradient Mesh Backgrounds ── */
.bg-mesh {
  position: relative;
  overflow: hidden;
}
.bg-mesh::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 61, 29, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(6, 26, 50, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 50% 80%, rgba(223, 200, 132, 0.08) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.bg-mesh > * { position: relative; z-index: 1; }

.bg-mesh-dark {
  background: linear-gradient(135deg, #061a32 0%, #003d1d 50%, #0a2a15 100%);
}
.bg-mesh-hero {
  background: linear-gradient(170deg, #000000 0%, #061a32 30%, #003d1d 70%, #0a2a15 100%);
}

/* ── Grain Texture Overlay ── */
.grain-overlay { position: relative; }
.grain-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ── Animated Gradient Border ── */
.border-gradient {
  position: relative;
  border-radius: var(--sl-radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--sl-gold), transparent 40%, transparent 60%, var(--sl-gold));
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite;
}
.border-gradient > * {
  border-radius: calc(var(--sl-radius-lg) - 1px);
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Neon Gold Glow ── */
.glow-gold {
  box-shadow: 0 0 20px var(--sl-gold-glow), 0 0 60px rgba(223, 200, 132, 0.1);
}
.glow-gold-text {
  text-shadow: 0 0 20px var(--sl-gold-glow), 0 0 40px rgba(223, 200, 132, 0.1);
}
.glow-gold-hover:hover {
  box-shadow: 0 0 30px var(--sl-gold-glow), 0 0 80px rgba(223, 200, 132, 0.15);
}

/* ── Skeleton Loaders ── */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.06) 25%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.06) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--sl-radius-sm, 8px);
}
.skeleton-light {
  background: linear-gradient(90deg,
    rgba(0,61,29,0.04) 25%,
    rgba(0,61,29,0.08) 50%,
    rgba(0,61,29,0.04) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--sl-radius-sm, 8px);
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Stagger Animation ── */
.stagger-in {
  opacity: 0;
  transform: translateY(24px);
  animation: stagger-fade-up 0.6s calc(var(--stagger-index, 0) * 80ms) var(--sl-ease-out) both;
}
@keyframes stagger-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll (JS adds .revealed) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--sl-ease-out), transform 0.7s var(--sl-ease-out); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.6s var(--sl-ease-out), transform 0.6s var(--sl-ease-out); }
.reveal-scale.revealed { opacity: 1; transform: scale(1); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s var(--sl-ease-out), transform 0.7s var(--sl-ease-out); }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s var(--sl-ease-out), transform 0.7s var(--sl-ease-out); }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* ── Premium Buttons ── */
.btn-sl-glow {
  background: linear-gradient(135deg, #dfc884 0%, #c4a84f 100%);
  color: #0a0a0a;
  border: none;
  border-radius: 14px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 20px rgba(223,200,132,.2);
  touch-action: manipulation;
  min-height: 48px;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-sl-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(223,200,132,.35);
  color: #0a0a0a; text-decoration: none;
}
.btn-sl-glow:active { transform: scale(.97); }

.btn-sl-outline-glow {
  background: transparent;
  color: var(--sl-gold);
  border: 1.5px solid rgba(223, 200, 132, 0.4);
  border-radius: var(--sl-radius-full);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--sl-transition-smooth);
  touch-action: manipulation;
  min-height: 44px;
}
.btn-sl-outline-glow:hover {
  background: rgba(223, 200, 132, 0.1);
  border-color: var(--sl-gold);
  box-shadow: 0 0 20px var(--sl-gold-neon);
}

/* ── Pill Nav with Sliding Indicator ── */
.pill-nav-premium {
  position: relative;
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--sl-radius-full);
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pill-nav-premium::-webkit-scrollbar { display: none; }
.pill-nav-premium .pnp-item {
  position: relative;
  z-index: 2;
  padding: 8px 20px;
  border-radius: var(--sl-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s ease;
  touch-action: manipulation;
  min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.pill-nav-premium .pnp-item.active { color: var(--sl-dark); }
.pill-nav-premium .pnp-indicator {
  position: absolute;
  z-index: 1;
  height: calc(100% - 8px);
  top: 4px;
  background: var(--sl-gold);
  border-radius: var(--sl-radius-full);
  transition: transform 0.35s var(--sl-ease-out), width 0.35s var(--sl-ease-out);
}

/* ── Floating CTA ── */
.floating-cta {
  position: fixed;
  bottom: 90px; right: 20px;
  z-index: 9000;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: var(--sl-transition-smooth);
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* ── Live Activity Feed (Social Proof) ── */
.activity-toast {
  position: fixed;
  bottom: 100px; left: 20px;
  z-index: 8000;
  background: rgba(0, 61, 29, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(223, 200, 132, 0.15);
  border-radius: 14px;
  padding: 12px 18px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  max-width: 280px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s var(--sl-ease-out);
  pointer-events: none;
}
.activity-toast.show {
  opacity: 1;
  transform: translateX(0);
}
.activity-toast .at-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sl-gold);
  color: var(--sl-dark);
  font-weight: 700;
  font-size: 0.7rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px;
  flex-shrink: 0;
}

/* ── Stat Number (Mono) ── */
.stat-mono {
  font-family: var(--sl-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ── Display Heading ── */
.heading-display {
  font-family: var(--sl-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ── Video Hero ── */
.hero-video-wrap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video-wrap video,
.hero-video-wrap .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 61, 29, 0.5) 50%,
    rgba(0, 61, 29, 0.85) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  max-width: 720px;
}

/* Text reveal animation */
.text-reveal {
  overflow: hidden;
}
.text-reveal span {
  display: inline-block;
  transform: translateY(110%);
  animation: text-reveal-up 0.8s var(--sl-ease-out) forwards;
}
@keyframes text-reveal-up {
  to { transform: translateY(0); }
}

/* ── Sport Selector Pills (Hero) ── */
.sport-pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 24px 0;
}
.sport-pill {
  padding: 10px 24px;
  border-radius: var(--sl-radius-full);
  border: 1.5px solid rgba(223, 200, 132, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--sl-transition-smooth);
  touch-action: manipulation;
  min-height: 44px;
  display: flex; align-items: center; gap: 6px;
}
.sport-pill.active,
.sport-pill:hover {
  background: rgba(223, 200, 132, 0.15);
  border-color: var(--sl-gold);
  color: var(--sl-gold);
}
.sport-pill .sp-icon { font-size: 1.1rem; }

/* ── Slot Pulse (Booking) ── */
@keyframes slot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(40, 167, 69, 0); }
}
.slot-available-pulse { animation: slot-pulse 2s ease infinite; }

/* ── Activity Rings (Dashboard) ── */
.activity-rings {
  position: relative;
  width: 120px; height: 120px;
}
.activity-rings svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.activity-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
}
.activity-ring-fill {
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s var(--sl-ease-out);
}
.activity-ring-outer { stroke: var(--sl-gold); }
.activity-ring-mid { stroke: #4ecdc4; }
.activity-ring-inner { stroke: #ff6b6b; }

/* ── HOT Badge Pulse ── */
@keyframes hot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 68, 68, 0); }
}
.badge-hot {
  animation: hot-pulse 2s ease infinite;
  background: linear-gradient(135deg, #ff4444, #ff6b6b);
  color: #fff;
  font-weight: 700;
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: var(--sl-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Cinema Mode (Media Pages) ── */
.cinema-mode { background: #0a0a0a !important; }
.cinema-mode .card-glass {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 2px;
  background: linear-gradient(90deg, var(--sl-gold), #e8d48e);
  z-index: 1110; /* above overlays but sane */
  transition: width 0.1s linear;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-scale, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  .stagger-in { opacity: 1; transform: none; }
}

/* ── Mobile Adjustments ── */
@media (max-width: 575px) {
  .hero-content h1 { font-size: 2rem; }
  .sport-pills { gap: 6px; }
  .sport-pill { padding: 8px 16px; font-size: 0.8rem; }
  .floating-cta { bottom: 80px; right: 12px; left: 12px; text-align: center; }
  .activity-toast { bottom: 80px; left: 12px; max-width: 260px; }
  .card-glass, .card-glass-light { border-radius: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════
   TAILWIND UTILITY REPLACEMENTS
   Baked-in versions of all Tailwind classes used in templates
   ═══════════════════════════════════════════════════════════════════ */

/* ── Layout ── */
.flex { display: flex; }
.grid { display: grid; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow-1, .flex-1 { flex: 1; }
.gap-1 { gap: 4px; } .gap-1\.5 { gap: 6px; } .gap-2 { gap: 8px; } .gap-2\.5 { gap: 10px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 20px; } .gap-6 { gap: 24px; }

/* ── Sizing ── */
.w-12 { width: 48px; } .w-10 { width: 40px; } .w-8 { width: 32px; } .w-full { width: 100%; }
.h-12 { height: 48px; } .h-10 { height: 40px; } .h-8 { height: 32px; } .h-full { height: 100%; }
.min-h-\[44px\] { min-height: 44px; }
.max-w-\[720px\] { max-width: 720px; }
.max-w-\[800px\] { max-width: 800px; }
.max-w-\[900px\] { max-width: 900px; }
.max-w-\[480px\] { max-width: 480px; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }

/* ── Spacing ── */
.p-3 { padding: 12px; } .p-4 { padding: 16px; } .p-5 { padding: 20px; } .p-6 { padding: 24px; } .p-7 { padding: 28px; } .p-8 { padding: 32px; }
.px-3 { padding-left: 12px; padding-right: 12px; } .px-4 { padding-left: 16px; padding-right: 16px; } .px-5 { padding-left: 20px; padding-right: 20px; } .px-6 { padding-left: 24px; padding-right: 24px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; } .py-3 { padding-top: 12px; padding-bottom: 12px; } .py-3\.5 { padding-top: 14px; padding-bottom: 14px; } .py-4 { padding-top: 16px; padding-bottom: 16px; }
.m-0 { margin: 0; } .mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 20px; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }

/* ── Typography ── */
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-display { font-family: 'Space Grotesk', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-body { font-family: 'Inter', sans-serif; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: .05em; }
.tracking-widest { letter-spacing: .1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Colors ── */
.text-white { color: #fff; }
.text-white\/40 { color: rgba(255,255,255,.4); }
.text-white\/50 { color: rgba(255,255,255,.5); }
.text-white\/60 { color: rgba(255,255,255,.6); }
.text-white\/70 { color: rgba(255,255,255,.7); }
.text-white\/80 { color: rgba(255,255,255,.8); }
.text-\[\#dfc884\] { color: #dfc884; }
.text-\[\#dfc884\]\/60 { color: rgba(223,200,132,.6); }
.text-\[\#dfc884\]\/80 { color: rgba(223,200,132,.8); }
.bg-\[\#0a0a0a\] { background-color: #0a0a0a; }
.bg-\[\#0a0a0a\]\/80 { background-color: rgba(10,10,10,.8); }
.bg-\[\#0a0a0a\]\/95 { background-color: rgba(10,10,10,.95); }
.bg-\[\#111\] { background-color: #111; }
.bg-\[\#dfc884\] { background-color: #dfc884; }
.bg-\[\#dfc884\]\/10 { background-color: rgba(223,200,132,.1); }
.bg-\[\#dfc884\]\/15 { background-color: rgba(223,200,132,.15); }
.bg-\[\#dfc884\]\/\[0\.08\] { background-color: rgba(223,200,132,.08); }
.bg-white\/\[0\.03\] { background-color: rgba(255,255,255,.03); }
.bg-white\/\[0\.04\] { background-color: rgba(255,255,255,.04); }
.bg-white\/\[0\.05\] { background-color: rgba(255,255,255,.05); }
.bg-white\/\[0\.06\] { background-color: rgba(255,255,255,.06); }
.bg-white\/\[0\.08\] { background-color: rgba(255,255,255,.08); }
.bg-white\/10 { background-color: rgba(255,255,255,.1); }

/* ── Borders ── */
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-white\/\[0\.06\] { border-color: rgba(255,255,255,.06); }
.border-white\/\[0\.08\] { border-color: rgba(255,255,255,.08); }
.border-white\/10 { border-color: rgba(255,255,255,.1); }
.border-\[\#dfc884\]\/10 { border-color: rgba(223,200,132,.1); }
.border-\[\#dfc884\]\/15 { border-color: rgba(223,200,132,.15); }
.border-\[\#dfc884\]\/20 { border-color: rgba(223,200,132,.2); }
.border-\[\#dfc884\]\/25 { border-color: rgba(223,200,132,.25); }
.border-\[\#dfc884\]\/30 { border-color: rgba(223,200,132,.3); }
.border-\[\#dfc884\]\/\[0\.08\] { border-color: rgba(223,200,132,.08); }
.border-\[\#dfc884\]\/\[0\.12\] { border-color: rgba(223,200,132,.12); }
.border-\[\#dfc884\] { border-color: #dfc884; }
.border-transparent { border-color: transparent; }

/* ── Rounded ── */
.rounded { border-radius: 4px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-3xl { border-radius: 24px; }
.rounded-full { border-radius: 9999px; }
.rounded-t-3xl { border-radius: 24px 24px 0 0; }
.rounded-\[14px\] { border-radius: 14px; }

/* ── Effects ── */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1); }
.backdrop-blur-xl { -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-50 { z-index: 50; }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }
.cursor-pointer { cursor: pointer; }
.touch-manipulation { touch-action: manipulation; }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.transition-all { transition: all 150ms cubic-bezier(.4,0,.2,1); }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* ── Animations ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
@keyframes pulseGold { 0%, 100% { box-shadow: 0 0 0 0 rgba(223,200,132,.4); } 50% { box-shadow: 0 0 0 12px rgba(223,200,132,0); } }
.animate-fade-in { animation: fadeIn .6s ease-out both; }
.animate-slide-up { animation: slideUp .5s ease-out both; }
.animate-scale-in { animation: scaleIn .3s ease-out both; }
.animate-pulse-gold { animation: pulseGold 2s infinite; }

/* ── Responsive ── */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:p-8 { padding: 32px; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Text Decorations ── */
.line-through { text-decoration: line-through; }
.no-underline { text-decoration: none; }

/* ── Fix button/outline resets ── */
.border-none { border: none !important; }
/* Remove default outline but provide visible focus-visible ring for keyboard a11y */
button:focus { outline: none; }
button:focus-visible { outline: 2px solid var(--sl-gold, #dfc884); outline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--sl-gold, #dfc884); outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--sl-gold, #dfc884); outline-offset: 1px; }
#userMenuBtn { border: none !important; }
#userMenuBtn:focus-visible { outline: 2px solid var(--sl-gold, #dfc884) !important; outline-offset: 2px; }
#mobileMenuBtn { border: none !important; }
#mobileMenuBtn:focus-visible { outline: 2px solid var(--sl-gold, #dfc884) !important; outline-offset: 2px; }

/* ═══════════════════════════════════════════════════════════════════
   ADDITIONAL TAILWIND UTILITIES (second pass)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Negative positioning ── */
.-top-1 { top: -4px; } .-right-1\.5 { right: -6px; } .-right-\[20\%\] { right: -20%; } .-top-1\/2 { top: -50%; }

/* ── Positioning ── */
.top-0 { top: 0; } .top-4 { top: 16px; } .top-\[64px\] { top: 64px; }
.right-0 { right: 0; } .right-4 { right: 16px; }
.bottom-0 { bottom: 0; } .left-0 { left: 0; }
.inset-x-0 { left: 0; right: 0; }
.z-10 { z-index: 10; } .z-50 { z-index: 50; }
/* z-index scale: modal-backdrop=1050, modal=1055, toast=1090, overlay=1100 */
.z-\[9998\] { z-index: 1098; } .z-\[9999\] { z-index: 1099; } .z-\[9999999\] { z-index: 1100; } .z-\[10001\] { z-index: 1101; }

/* ── More sizing ── */
.w-6 { width: 24px; } .w-9 { width: 36px; } .w-10 { width: 40px; } .w-11 { width: 44px; }
.w-\[240px\] { width: 240px; } .w-\[500px\] { width: 500px; } .w-\[52px\] { width: 52px; }
.h-9 { height: 36px; } .h-10 { height: 40px; } .h-11 { height: 44px; } .h-4 { height: 16px; }
.h-\[500px\] { height: 500px; } .h-\[52px\] { height: 52px; } .h-\[60px\] { height: 60px; }
.min-w-\[16px\] { min-width: 16px; } .min-w-\[44px\] { min-width: 44px; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Gradients ── */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-\[\#0a0a0a\] { --tw-gradient-from: #0a0a0a; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-\[\#061a32\]\/95 { --tw-gradient-from: rgba(6,26,50,.95); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-\[\#003d1d\]\/30 { --tw-gradient-from: rgba(0,61,29,.3); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-\[\#003d1d\]\/40 { --tw-gradient-from: rgba(0,61,29,.4); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-black { --tw-gradient-from: #000; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-orange-500 { --tw-gradient-from: #f97316; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.from-\[\#dfc884\]\/15 { --tw-gradient-from: rgba(223,200,132,.15); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-\[\#061a32\] { --tw-gradient-to: #061a32; }
.to-\[\#061a32\]\/40 { --tw-gradient-to: rgba(6,26,50,.4); }
.to-\[\#061a32\]\/50 { --tw-gradient-to: rgba(6,26,50,.5); }
.to-\[\#061a32\]\/95 { --tw-gradient-to: rgba(6,26,50,.95); }
.to-black { --tw-gradient-to: #000; }
.to-orange-600 { --tw-gradient-to: #ea580c; }
.to-\[\#dfc884\]\/\[0\.05\] { --tw-gradient-to: rgba(223,200,132,.05); }

/* ── Additional backgrounds ── */
.bg-black { background-color: #000; }
.bg-transparent { background-color: transparent; }
.bg-red-600 { background-color: #dc2626; }
.bg-white\/5 { background-color: rgba(255,255,255,.05); }
.bg-\[radial-gradient\(circle\2c rgba\(223\2c 200\2c 132\2c 0\.06\)_0\%\2c transparent_70\%\)\] { background: radial-gradient(circle, rgba(223,200,132,.06) 0%, transparent 70%); }

/* ── Additional text colors ── */
.text-\[\#003d1d\] { color: #003d1d; }
.text-black { color: #000; }
.text-orange-500 { color: #f97316; }
.text-red-400 { color: #f87171; }
.text-white\/30 { color: rgba(255,255,255,.3); }
.text-\[0\.95rem\] { font-size: .95rem; }
.text-\[1\.8rem\] { font-size: 1.8rem; }
.text-\[3\.2rem\] { font-size: 3.2rem; }
.text-\[10px\] { font-size: 10px; }
.text-\[9px\] { font-size: 9px; }

/* ── Additional borders ── */
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.border-white\/\[0\.04\] { border-color: rgba(255,255,255,.04); }
.border-white\/\[0\.05\] { border-color: rgba(255,255,255,.05); }
.rounded-md { border-radius: 6px; }

/* ── Misc utilities ── */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.backdrop-blur-2xl { -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); }
.object-cover { object-fit: cover; }
.overflow-y-auto { overflow-y: auto; }
.list-none { list-style: none; }
.space-y-1 > * + * { margin-top: 4px; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.no-underline { text-decoration: none; }
.text-left { text-align: left; }
.inline-flex { display: inline-flex; }
.sm\:inline { display: none; }
@media (min-width: 640px) { .sm\:inline { display: inline; } }

/* ── Responsive header ── */
.lg\:flex { display: none; }
.lg\:hidden { display: block; }
.lg\:absolute { position: relative; }
.lg\:right-0 { right: auto; }
.lg\:top-full { top: auto; }
.lg\:mt-2 { margin-top: 0; }
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:absolute { position: absolute; }
  .lg\:right-0 { right: 0; }
  .lg\:top-full { top: 100%; }
  .lg\:mt-2 { margin-top: 8px; }
}

/* ── Global bottom nav spacing ── */
@media (max-width: 991px) {
  body { padding-bottom: 80px; }
}
