:root {
  --bg: #07111f;
  --bg-soft: #0d1b2d;
  --surface: rgba(10, 23, 38, 0.86);
  --surface-strong: #10243b;
  --text: #f4f7fb;
  --muted: #b6c3d4;
  --accent: #44d7b6;
  --accent-2: #ffb347;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(68, 215, 182, 0.15), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 179, 71, 0.1), transparent 26%),
    linear-gradient(180deg, #050b14 0%, var(--bg) 35%, #081423 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 11, 20, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #1c8c78);
  color: #02110e;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.04em;
}

.brand-text small {
  color: var(--muted);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  margin: 5px 0;
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid,
.signup-grid,
.cta {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.cta h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  line-height: 0.98;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  max-width: 11ch;
}

.section-heading h2,
.cta h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}

.lead,
.section-heading p,
.feature p,
.schedule p,
.info-box dd,
.cta p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #76f2db);
  color: #04110f;
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats li,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-stats li {
  padding: 18px;
}

.hero-stats strong,
.schedule h3,
.info-box dt,
.feature h3,
.card h2,
.cta-card strong {
  font-family: "Montserrat", sans-serif;
}

.hero-stats strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.hero-stats span {
  color: var(--muted);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.card {
  padding: 24px;
}

.spotlight {
  background: linear-gradient(180deg, rgba(20, 44, 71, 0.95), rgba(9, 18, 31, 0.92));
}

.spotlight-label {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.spotlight h2 {
  margin: 0 0 12px;
  font-size: 1.8rem;
  font-family: "Montserrat", sans-serif;
}

.spotlight p {
  color: var(--muted);
  margin: 0;
}

.spotlight-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.spotlight-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}

.court-illustration {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(17, 42, 68, 0.9), rgba(5, 15, 28, 0.96)),
    radial-gradient(circle at 30% 20%, rgba(68, 215, 182, 0.2), transparent 24%);
  border: 1px solid var(--line);
}

.court-lines {
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}

.court-lines::before,
.court-lines::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: rgba(255, 255, 255, 0.16);
}

.court-lines::before {
  width: 2px;
  height: 100%;
}

.court-lines::after {
  width: 100%;
  height: 2px;
}

.shuttle,
.racket {
  position: absolute;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.shuttle {
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 45% 45%;
  background:
    radial-gradient(circle at 50% 20%, #ffffff 0 16%, transparent 17%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.7) 0 20%, transparent 21%),
    linear-gradient(180deg, #fefefe, #d6e3f0);
}

.shuttle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 12px;
  height: 18px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent 0 25%, rgba(255, 255, 255, 0.8) 25% 75%, transparent 75%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.shuttle-one {
  top: 42px;
  left: 60px;
  transform: rotate(-18deg);
}

.shuttle-two {
  right: 70px;
  bottom: 72px;
  transform: rotate(24deg);
}

.racket {
  width: 130px;
  height: 270px;
  right: 38px;
  top: 20px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 60px 60px 110px 110px;
  transform: rotate(16deg);
}

.racket::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(68, 215, 182, 0.45);
  border-radius: 48px 48px 90px 90px;
}

.racket::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 72%;
  width: 14px;
  height: 120px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #d8e2ee, #aeb9c6);
  border-radius: 999px;
}

.section {
  padding: 70px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-heading h2,
.cta h2 {
  margin-bottom: 10px;
}

.feature-grid,
.schedule-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature h3,
.schedule h3,
.info-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.feature {
  min-height: 180px;
}

.schedule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.schedule {
  position: relative;
  padding-top: 40px;
}

.schedule-highlight {
  background:
    linear-gradient(135deg, rgba(68, 215, 182, 0.16), rgba(16, 36, 59, 0.9)),
    var(--surface);
  border-color: rgba(68, 215, 182, 0.28);
}

.schedule .day {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(68, 215, 182, 0.13);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.signup-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.steps {
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.info-box dl {
  margin: 0;
  display: grid;
  gap: 16px;
}

.info-box dt {
  color: var(--text);
  margin-bottom: 4px;
}

.info-box dd {
  margin: 0;
}

.gallery-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr;
  min-height: 280px;
}

.gallery-tile {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.gallery-photo {
  position: relative;
  margin: 0;
}

.gallery-photo img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-photo figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(5, 11, 20, 0.66);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(4, 10, 18, 0.6));
  z-index: 1;
  pointer-events: none;
}

.tile-a {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 179, 71, 0.35), transparent 32%),
    linear-gradient(135deg, #17324f, #0b1523);
}

.tile-b {
  background:
    radial-gradient(circle at 80% 30%, rgba(68, 215, 182, 0.35), transparent 26%),
    linear-gradient(135deg, #0f1f31, #173651);
}

.tile-c {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%),
    linear-gradient(135deg, #0d1624, #122b44);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
}

.faq-item strong {
  font-size: 1.4rem;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--muted);
  padding: 0 22px;
}

.faq-answer.is-open {
  padding: 10px 22px 18px;
}

.section-cta {
  padding-bottom: 84px;
}

.cta {
  grid-template-columns: 1fr auto;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 36, 59, 0.95), rgba(7, 17, 31, 0.95));
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.cta-card {
  min-width: min(100%, 320px);
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.cta-card p {
  margin: 0 0 10px;
  color: var(--text);
}

.form-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 700;
  color: var(--text);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(182, 195, 212, 0.75);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(68, 215, 182, 0.55);
  box-shadow: 0 0 0 4px rgba(68, 215, 182, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.form-submit {
  width: fit-content;
}

.form-note {
  margin: 0;
  min-height: 1.4em;
  color: var(--accent);
  font-weight: 600;
}

.form-aside {
  display: grid;
  gap: 12px;
}

.form-aside p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.aside-links {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 12px;
}

.aside-links a {
  color: var(--text);
  font-weight: 600;
}

.aside-links a:hover,
.aside-links a:focus-visible {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .signup-grid,
  .cta,
  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .gallery-grid {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 80px;
    display: grid;
    gap: 0;
    background: rgba(6, 12, 22, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
  }

  .primary-nav.is-open {
    max-height: 280px;
  }

  .primary-nav a {
    padding: 15px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .primary-nav a:first-child {
    border-top: 0;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .court-illustration {
    min-height: 250px;
  }

  .cta {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 12px;
  }
}
