/* ============================================================
   ATLANTIC BASKETBALL ACADEMY — coming-soon.css
   ============================================================

   TABLE OF CONTENTS
   -----------------
   1.  Reset & CSS Variables
   2.  Base
   3.  Court Background
   4.  Layout & Content
   5.  Logo
   6.  Headline & Copy
   7.  Email Form
   8.  Footer
   9.  Animations
   10. Responsive

   ACCENT COLOR NOTE
   -----------------
   Accent color uses var(--gold) → #bf00ff (neon purple).
   To change sitewide, update --gold and --gold-light in :root.
   ============================================================ */


/* ─── 1. RESET & CSS VARIABLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0d0d0d;
  --navy-mid:   #141414;
  --navy-light: #1f1f1f;
  --gold:       #bf00ff;   /* accent — neon purple */
  --gold-light: #d44dff;   /* accent hover */
  --white:      #ffffff;
  --gray:       #8a95a3;
}


/* ─── 2. BASE ─── */
html, body {
  height: 100%;
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}


/* ─── 3. COURT BACKGROUND ─── */

/* Full-page wrapper — holds the background SVG and all content */
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Subtle purple glow behind content */
.page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(31, 0, 50, 0.75) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(191, 0, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

/*
  COURT SVG
  ---------
  The court illustration is an inline <svg> in coming-soon.html.
  Opacity and sizing are controlled here.
  To make it more or less visible, adjust opacity below.
*/
.court-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.court-bg svg {
  width: 95%;
  max-width: 1100px;
  height: auto;
  opacity: 0.07;
}


/* ─── 4. LAYOUT & CONTENT ─── */
.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 5%;
  max-width: 760px;
  width: 100%;
}


/* ─── 5. LOGO ─── */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}

.logo-text .aba {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.logo-text .full {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


/* ─── 6. HEADLINE & COPY ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.1s;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.2s;
}

h1 .accent {
  color: var(--gold);
  display: block;
}

.subtext {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 48px;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.3s;
}

/* Divider line above the form */
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 40px;
  opacity: 0.5;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.35s;
}


/* ─── 7. EMAIL FORM ─── */
.form-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
  display: block;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.4s;
}

.form-row {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 460px;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.45s;
}

.form-row input[type="email"] {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 14px 20px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.form-row input[type="email"]::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-row input[type="email"]:focus {
  border-color: var(--gold);
}

.form-row button {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 14px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.form-row button:hover {
  background: var(--gold-light);
}

/* Confirmation message — hidden by default, shown via JS */
.form-confirm {
  display: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-top: 14px;
  text-transform: uppercase;
}


/* ─── 8. FOOTER ─── */
footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}


/* ─── 9. ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ─── 10. RESPONSIVE ─── */
@media (max-width: 540px) {
  h1 { font-size: clamp(2.8rem, 13vw, 4rem); }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-row input[type="email"] {
    border-right: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 4px;
  }

  .form-row input[type="email"]:focus {
    border-color: var(--gold);
  }

  .form-row button {
    border-radius: 4px;
    width: 100%;
  }

  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}