/* ===========================================================
   Padel Clan — shared stylesheet
   =========================================================== */

:root {
  --blue: #0046B5;
  --blue-deep: #1A2F5A;
  --blue-darker: #002F7A;
  --blue-tint: #E8F0FB;
  --blue-mist: #F5F8FF;
  --blue-line: #D0DCEF;
  --lime: #A2E30B;
  --lime-bright: #B8F520;
  --white: #FFFFFF;
  --ink: #0A1430;
  --ink-soft: #4A5878;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===========================================================
   Court line background + ball trails (page chrome)
   =========================================================== */
.court-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.trails {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ball {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(162, 227, 11, 0.55);
}

.ball::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  width: 120px;
  height: 2px;
  background: linear-gradient(to left, var(--lime), transparent);
  transform: translateY(-50%);
  border-radius: 2px;
}

.ball-1 { animation: trail1 7s linear infinite; }
.ball-2 { animation: trail2 9s linear infinite; animation-delay: -2s; }
.ball-3 { animation: trail3 11s linear infinite; animation-delay: -5s; }

@keyframes trail1 {
  0%   { top: 15%; left: -5%; transform: rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  50%  { top: 60%; left: 105%; opacity: 1; transform: rotate(15deg); }
  52%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes trail2 {
  0%   { top: 80%; right: -5%; transform: scaleX(-1) rotate(-10deg); opacity: 0; }
  8%   { opacity: 1; }
  50%  { top: 25%; right: 105%; opacity: 1; transform: scaleX(-1) rotate(-25deg); }
  52%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes trail3 {
  0%   { top: 45%; left: -5%; transform: rotate(5deg); opacity: 0; }
  8%   { opacity: 1; }
  50%  { top: 90%; left: 105%; opacity: 1; transform: rotate(20deg); }
  52%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ===========================================================
   Nav
   =========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--blue-line);
}

.nav.nav-dark {
  background: var(--blue);
  border-bottom: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blue);
}

.nav.nav-dark .nav-logo { color: var(--white); }

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-logo .wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.18em;
  line-height: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav.nav-dark .nav-link { color: var(--white); }

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
  padding: 10px 18px;
  border: 2px solid var(--lime);
  background: var(--lime);
  transition: transform 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--lime-bright);
}

.nav-cta .arrow { font-family: 'JetBrains Mono', monospace; }

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.nav.nav-dark .status { color: var(--white); }

.status-dot {
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(162, 227, 11, 0.6);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

main { position: relative; z-index: 10; }

/* ===========================================================
   Eyebrow / section labels
   =========================================================== */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--lime);
}

.eyebrow.light { color: var(--lime); }
.eyebrow.light::before { background: var(--lime); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reusable lime highlight under italic words */
.lime-highlight {
  font-style: italic;
  color: var(--blue);
  position: relative;
  display: inline-block;
}

.lime-highlight::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.08em;
  height: 0.18em;
  background: var(--lime);
  z-index: -1;
}

.lime-highlight.on-blue { color: var(--white); }

/* ===========================================================
   Marquee
   =========================================================== */
.marquee {
  position: relative;
  z-index: 10;
  padding: 24px 0;
  background: var(--blue);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: scroll 40s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--white);
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}

.marquee-track span::after {
  content: '';
  width: 12px; height: 12px;
  background: var(--lime);
  border-radius: 50%;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================================================
   Section base
   =========================================================== */
.section {
  position: relative;
  z-index: 10;
  padding: 120px 48px;
  background: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  position: sticky;
  top: 120px;
  align-self: start;
}

.section-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--lime);
  margin-bottom: 16px;
}

.section-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.005em;
  color: var(--blue);
  margin-bottom: 40px;
}

.section-content p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 640px;
}

.section-content p strong { color: var(--blue-deep); font-weight: 500; }

/* ===========================================================
   CTA section (large blue block)
   =========================================================== */
.cta {
  position: relative;
  z-index: 10;
  background: var(--blue);
  padding: 140px 48px;
  text-align: center;
  overflow: hidden;
  color: var(--white);
}

.cta::before {
  content: 'PARTNER';
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 240px;
  color: rgba(255, 255, 255, 0.07);
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta .eyebrow {
  color: var(--lime);
  justify-content: center;
  margin-bottom: 32px;
}

.cta .eyebrow::before { background: var(--lime); }

.cta h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.cta-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-block {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 36px 48px;
  text-align: left;
  background: var(--blue-deep);
  position: relative;
  min-width: 360px;
}

.contact-block::before,
.contact-block::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid var(--lime);
}
.contact-block::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.contact-block::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.contact-link:hover {
  color: var(--lime);
  padding-left: 8px;
}

.contact-link .arrow {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  color: var(--lime);
  transition: transform 0.2s ease;
}

.contact-link:hover .arrow { transform: translateX(6px); }

/* ===========================================================
   Footer
   =========================================================== */
footer {
  position: relative;
  z-index: 10;
  background: var(--blue-deep);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  gap: 24px;
  flex-wrap: wrap;
}

footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover { color: var(--lime); }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav-logo img { height: 38px; }
  .nav-logo .wordmark { display: none; }
  .nav-right { gap: 16px; }
  .nav-link { display: none; }
  .section { padding: 80px 24px; }
  .section-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-label { position: static; }
  .cta { padding: 80px 24px; }
  .cta::before { font-size: 100px; bottom: -20px; }
  .contact-block { padding: 28px 24px; min-width: 0; display: block; }
  .contact-link { font-size: 22px; }
  footer { flex-direction: column; gap: 12px; padding: 24px; text-align: center; }
}
