/* ============================================================
   Membership "Coming Soon" — standalone branded landing.
   Immersive dark court with a red spotlight, drifting shuttlecocks
   and perspective court lines. On-brand with the site tokens.
   ============================================================ */

.cs-body {
  min-height: 100vh;
  background: #050e1f;
  color: var(--color-white);
}

.cs {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem);
  isolation: isolate;
}

/* ---------- Animated backdrop ---------- */
.cs__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 50% -10%, #10305e 0%, #0a1c39 42%, #050e1f 100%);
  overflow: hidden;
}

/* Red spotlight glow, slowly breathing */
.cs__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: min(120vw, 1100px);
  height: min(120vw, 1100px);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(227, 6, 19, 0.30) 0%, rgba(227, 6, 19, 0.08) 38%, transparent 66%);
  filter: blur(10px);
  animation: cs-breathe 8s ease-in-out infinite;
}

/* Perspective court floor lines at the bottom */
.cs__court {
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.10) 1px, transparent 1px),
    linear-gradient(to top, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  transform: perspective(520px) rotateX(62deg) scale(1.6);
  transform-origin: bottom center;
  opacity: 0.5;
}

/* Drifting shuttlecocks */
.cs__shuttle {
  position: absolute;
  color: rgba(255, 255, 255, 0.10);
  animation: cs-drift 14s ease-in-out infinite;
}
.cs__shuttle svg { width: 100%; height: 100%; }
.cs__shuttle--1 { top: 16%; left: 10%; width: 54px; animation-delay: 0s; }
.cs__shuttle--2 { top: 26%; right: 12%; width: 78px; color: rgba(227, 6, 19, 0.16); animation-delay: -5s; animation-duration: 18s; }
.cs__shuttle--3 { bottom: 20%; left: 18%; width: 40px; animation-delay: -9s; animation-duration: 16s; }

/* ---------- Content ---------- */
.cs__inner {
  position: relative;
  width: min(760px, 100%);
  max-width: 100%;
  min-width: 0;
  text-align: center;
  animation: cs-enter 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cs__logo {
  display: flex;
  justify-content: center;
  width: fit-content;
  padding: 0.7rem 1.1rem;
  margin: 0 auto 1.75rem;
  border-radius: var(--radius-medium);
  background: var(--surface-card);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}
.cs__logo img { width: clamp(110px, 15vw, 140px); height: auto; }

/* Status pill */
.cs__status {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  margin: 0 auto 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #dbe4f0;
  backdrop-filter: blur(6px);
}
.cs__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.6);
  animation: cs-pulse 2s ease-out infinite;
}

.cs__eyebrow {
  display: block;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.cs__title {
  color: var(--color-white);
  font-size: clamp(1.85rem, 6.5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.cs__title .text-red { color: var(--color-primary); }

.cs__lead {
  max-width: 560px;
  margin: 1.25rem auto 0;
  color: #c4cfdd;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}

/* Actions */
.cs__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.1rem;
}
.cs__btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--color-white);
}
.cs__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

/* In-the-meantime quick links */
.cs__meantime {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 1.35rem;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cs__meantime-label {
  width: 100%;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.cs__meantime a {
  position: relative;
  color: #dbe4f0;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding-bottom: 2px;
}
.cs__meantime a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast, 0.18s ease);
}
.cs__meantime a:hover,
.cs__meantime a:focus-visible { color: #fff; }
.cs__meantime a:hover::after,
.cs__meantime a:focus-visible::after { transform: scaleX(1); }

/* Footer: socials + tagline */
.cs__foot { margin-top: 2.6rem; }
.cs__socials {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.cs__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #dbe4f0;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.cs__socials a:hover,
.cs__socials a:focus-visible {
  transform: translateY(-3px);
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.cs__socials .icon { width: 19px; height: 19px; }

.cs__tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Animations ---------- */
@keyframes cs-enter {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes cs-breathe {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}
@keyframes cs-pulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(227, 6, 19, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); }
}
@keyframes cs-drift {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-26px) rotate(8deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 575px) {
  .cs__actions { flex-direction: column; }
  .cs__actions .btn { width: 100%; }
  .cs__shuttle--1, .cs__shuttle--3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cs__inner,
  .cs__glow,
  .cs__dot,
  .cs__shuttle { animation: none; }
}

/* ============================================================
   Dark theme overrides for coming-soon page
   ============================================================ */
html[data-theme="dark"] .cs__dot {
  background: #FF7A5E;
}
