/* ==========================================================================
   098 · BASELINE (الخط الخلفي للبادل — Baseline Club) — 1:1 Retro-Futuristic Padel & Social Club
   Twilight Navy #1B1B3A · Flamingo #FF6F91 · Peach #FFC75F · Mint #00C9A7 · Lemon #F9F871 · Chrome Pills
   ========================================================================== */

:root {
  --navy: #1B1B3A;
  --navy-deep: #131330;
  --card-bg: #22224A;
  --fg: #F6F1FF;
  --muted: rgba(246, 241, 255, 0.72);
  --line: rgba(246, 241, 255, 0.14);
  --flamingo: #FF6F91;
  --peach: #FFC75F;
  --mint: #00C9A7;
  --purple: #845EC2;
  --lemon: #F9F871;
  --chrome: linear-gradient(180deg, #FFFFFF 0%, #D8D4F0 40%, #8B82B8 54%, #F3E9FF 72%, #C4BCE3 100%);
  --sunset: linear-gradient(180deg, #FFC75F 0%, #FF6F91 58%, #B57BFF 100%);
  --display: 'Readex Pro', 'Cairo', system-ui, sans-serif;
  --sans: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--navy);
  color: var(--fg);
  font-family: var(--sans);
  letter-spacing: 0;
}

body {
  background: var(--navy);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; letter-spacing: 0; }
.bidi { unicode-bidi: isolate; font-family: var(--mono); }

/* Chrome & Glass Capsule Buttons */
.bl-btn-chrome {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--chrome);
  color: #131330;
  font-weight: 800;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(255, 111, 145, 0.25);
  transition: transform 0.18s ease;
}

.bl-btn-chrome:hover { transform: translateY(-2px); }

.bl-btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(246, 241, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--fg);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
}

.bl-btn-glass:hover { border-color: var(--mint); color: var(--mint); }

/* ======================== FLOATING GLASS CAPSULE NAVBAR ======================== */
.bl-header {
  position: fixed;
  top: 16px;
  inset-inline: 22px;
  z-index: 80;
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 999px;
  padding: 10px 22px;
  background: rgba(19, 19, 48, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.bl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
}

.bl-ball {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lemon);
  box-shadow: 0 0 14px var(--lemon);
}

.bl-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
}

.bl-nav a:hover { color: var(--lemon); }

.bl-free-pill {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--mint);
  font-size: 12px;
  color: var(--lemon);
  font-weight: 700;
  white-space: nowrap;
}

/* ======================== 1. HERO (100svh SUNSET AIRBRUSH HORIZON) ======================== */
.bl-hero {
  position: relative;
  min-height: 100dvh;
  padding: 104px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.bl-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.bl-scanlines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27,27,58,0.46) 0%, rgba(27,27,58,0.2) 52%, rgba(19,19,48,0.92) 100%),
    repeating-linear-gradient(0deg, rgba(27,27,58,0.16) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.bl-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin-top: auto;
  margin-bottom: auto;
}

.bl-kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mint);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 18px;
}

.bl-h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}

.bl-sunset-em {
  font-style: normal;
  background: var(--sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Bottom 4-Column Glass Telemetry Bar */
.bl-hud-bar {
  position: relative;
  z-index: 3;
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  background: rgba(19, 19, 48, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bl-hud-bar strong {
  display: block;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 17px;
}

/* ======================== SECTIONS ======================== */
.bl-sec {
  max-width: 1220px;
  margin: 0 auto;
  padding: 88px 28px;
  border-bottom: 1px solid var(--line);
}

.bl-h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.22;
}

/* 2. Courts 3-Column Grid */
.bl-courts-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.bl-court-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bl-ph {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.bl-ph img { width: 100%; height: 100%; object-fit: cover; }

.bl-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.bl-spec-row span:first-child { color: var(--mint); font-weight: 700; }

/* 3. Club Stats 4-Col */
.bl-nums-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.bl-nums-4 strong {
  display: block;
  font-family: var(--mono);
  font-size: 38px;
  background: var(--sunset);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 4. Interactive Courtside Café Tabs */
.bl-cafe-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.bl-cafe-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.bl-tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--fg);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}

.bl-tab.active {
  background: var(--mint);
  color: #131330;
  border-color: var(--mint);
}

.bl-menu-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

/* Footer */
.bl-footer {
  background: var(--navy-deep);
  padding: 60px 28px 36px;
}

.bl-watermark {
  font-family: var(--mono);
  font-size: clamp(3.4rem, 13vw, 10rem);
  font-weight: 900;
  text-align: center;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.35;
  line-height: 0.95;
  margin: 22px 0 28px;
  direction: ltr;
}

.bl-showcase-nav {
  max-width: 1220px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .bl-nav, .bl-free-pill { display: none; }
  .bl-hud-bar,
  .bl-courts-3,
  .bl-nums-4,
  .bl-cafe-grid {
    grid-template-columns: 1fr;
  }
}
