:root {
  --sand-50: #f8f4ea;
  --sand-100: #efe4cd;
  --sand-200: #e4d2af;
  --sand-300: #d5b97e;
  --navy-900: #10233f;
  --navy-800: #16315a;
  --navy-700: #24477a;
  --sky-400: #75b9ff;
  --sky-300: #9bd0ff;
  --coral-500: #e6634f;
  --coral-400: #f48772;
  --ink-900: #13202e;
  --ink-700: #365066;
  --white: #ffffff;
  --shadow-lg: 0 28px 60px rgba(16, 35, 63, 0.18);
  --shadow-md: 0 18px 42px rgba(16, 35, 63, 0.12);
  --radius-xl: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink-900);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(117, 185, 255, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(230, 99, 79, 0.16), transparent 22%),
    linear-gradient(180deg, #fcfaf5 0%, #f2ede3 100%);
}

a {
  color: inherit;
}

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(248, 244, 234, 0.88);
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-mark img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-copy {
  line-height: 1;
}

.brand-copy strong,
.display-font {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
}

.brand-copy strong {
  display: block;
  font-size: 1.6rem;
  color: var(--navy-900);
}

.brand-copy span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.nav-links a,
.mobile-panel a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-900);
}

.nav-links a::after,
.mobile-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--coral-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.nav-links a:hover::after,
.mobile-panel a:hover::after {
  transform: scaleX(1);
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(16, 35, 63, 0.12);
  background: var(--white);
  padding: 0.8rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.mobile-panel {
  position: absolute;
  right: 1rem;
  top: calc(100% + 0.7rem);
  width: min(18rem, calc(100vw - 2rem));
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(16, 35, 63, 0.08);
  padding: 1rem 1.15rem;
}

.mobile-panel nav {
  display: grid;
  gap: 1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 2rem 2rem;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 35, 63, 0.26) 0%, rgba(16, 35, 63, 0.7) 100%),
    linear-gradient(135deg, rgba(16, 35, 63, 0.48), rgba(230, 99, 79, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-dark {
  background: rgba(16, 35, 63, 0.06);
  border-color: rgba(16, 35, 63, 0.08);
  color: var(--navy-900);
}

.hero-title,
.page-title,
.section-title,
.card-title {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 0;
}

.hero-title {
  font-size: clamp(3.7rem, 10vw, 8rem);
}

.page-title {
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.card-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.hero-copy,
.section-copy,
.card-copy {
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--ink-700);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button-primary,
.button-secondary,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.92rem 1.3rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.button-primary {
  background: var(--coral-500);
  color: var(--white);
  box-shadow: 0 18px 30px rgba(230, 99, 79, 0.25);
}

.button-primary:hover,
.button-secondary:hover,
.button-link:hover {
  transform: translateY(-2px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.button-link {
  background: rgba(16, 35, 63, 0.05);
  color: var(--navy-900);
}

.button-link.is-light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.surface,
.surface-strong,
.photo-card,
.match-card,
.join-card,
.policy-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(16, 35, 63, 0.08);
  box-shadow: var(--shadow-md);
}

.surface {
  background: rgba(255, 255, 255, 0.8);
}

.surface-strong {
  background:
    linear-gradient(160deg, rgba(16, 35, 63, 0.97), rgba(36, 71, 122, 0.96));
  color: var(--white);
}

.surface-strong .section-copy,
.surface-strong .card-copy,
.surface-strong p,
.surface-strong li {
  color: rgba(255, 255, 255, 0.82);
}

.surface-strong .button-link {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.photo-card {
  overflow: hidden;
  background: var(--white);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accent-border::before,
.match-card::before,
.join-card::before,
.policy-card::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  top: 0;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral-500), var(--sky-400));
}

.info-grid,
.feature-grid,
.schedule-grid,
.join-grid {
  display: grid;
  gap: 1.4rem;
}

.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.6rem 0.85rem;
  background: rgba(16, 35, 63, 0.06);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.fact-grid {
  display: grid;
  gap: 0.85rem;
}

.fact-box {
  border-radius: 1.2rem;
  background: rgba(16, 35, 63, 0.04);
  padding: 1rem;
}

.fact-box strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-900);
}

.match-card,
.join-card,
.policy-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  padding: 2rem 1.5rem 1.6rem;
}

.match-card ul,
.policy-card ul {
  padding-left: 1.15rem;
}

.match-card li,
.policy-card li,
.split-copy li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--ink-700);
}

.join-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-embed-shell {
  overflow: hidden;
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(16, 35, 63, 0.08);
}

.form-embed-frame {
  display: block;
  width: 100%;
  min-height: 4176px;
  border: 0;
  background: #ffffff;
}

.tournament-form-embed-frame {
  min-height: 1272px;
}

.individual-tournament-form-embed-frame {
  min-height: 1272px;
}

.notice-box {
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(230, 99, 79, 0.14), rgba(117, 185, 255, 0.16));
  border: 1px solid rgba(16, 35, 63, 0.08);
  box-shadow: var(--shadow-md);
}

.court-band {
  position: relative;
  overflow: hidden;
}


.split-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-lg);
}

.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  margin-top: auto;
  background:
    linear-gradient(180deg, rgba(16, 35, 63, 0.98), rgba(16, 35, 63, 1));
  color: var(--white);
}

.site-footer a {
  text-decoration: none;
}

.footer-link {
  color: rgba(255, 255, 255, 0.82);
}

.footer-link:hover {
  color: var(--sky-300);
}

.legal-copy,
.small-copy {
  color: rgba(19, 32, 46, 0.68);
  line-height: 1.7;
}

.site-footer .legal-copy {
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
