/* Pass and Run — Shared Styles */

*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: #0a0e1a;
  color: #dfe2f3;
  font-family: 'DM Sans', sans-serif;
}

/* ── Gold separator ── */
.gold-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 180, 41, 0.45), transparent);
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Pitch grid background ── */
.pitch-grid {
  background-image:
    linear-gradient(rgba(30, 41, 59, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 41, 59, 0.35) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Ambient radial glow ── */
.ambient-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 55vh;
  background: radial-gradient(ellipse at center, rgba(240, 180, 41, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

/* ── Hero image overlay ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 14, 26, 0.50) 0%,
    rgba(10, 14, 26, 0.78) 55%,
    #0a0e1a 100%
  );
  z-index: 1;
}

/* ── Feature cards ── */
.feature-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(240, 180, 41, 0.13);
  border-color: rgba(240, 180, 41, 0.45) !important;
}

.card-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.feature-card:hover .card-bg-img {
  opacity: 0.25;
}

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

/* ── Step circles (How it Works) ── */
.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #111827;
  border: 1.5px solid #f0b429;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(240, 180, 41, 0.18);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ── Nav scroll effect ── */
.nav-scrolled {
  background-color: rgba(10, 14, 26, 0.98) !important;
  box-shadow: 0 1px 0 rgba(240, 180, 41, 0.1);
}

/* ── Scrollspy active nav link ── */
.nav-link-active {
  color: #f0b429 !important;
}

/* ── Mobile hamburger ── */
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #dfe2f3;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

#menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
#menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 0 4px;
  border-top: 1px solid rgba(80, 69, 52, 0.4);
  margin-top: 8px;
  gap: 2px;
}

#mobile-menu.open {
  display: flex;
}

/* ── CTA button ── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #f0b429;
  color: #412d00;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 2px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cta-btn:hover {
  background-color: #fabd32;
  transform: translateY(-1px);
}

.cta-btn:active {
  transform: scale(0.97);
}

/* ── Gold text link ── */
.text-link-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f0b429;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 180, 41, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.text-link-gold:hover {
  color: #fabd32;
  border-color: #fabd32;
}

/* ── League table ── */
.league-row-top {
  background-color: #111827;
  border-left: 2px solid #f0b429;
  border-radius: 2px;
}

/* ── Legal pages ── */
.legal-content h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #d4c5ad;
  margin: 1.75rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-content p,
.legal-content li {
  color: #9ca3af;
  line-height: 1.7;
  font-size: 13px;
}

.legal-content strong {
  color: #d4c5ad;
  font-weight: 600;
}

.legal-content code {
  font-size: 12px;
  color: #d4c5ad;
  background: #1b1f2c;
  padding: 1px 5px;
  border-radius: 3px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0.35rem 0 0.9rem;
}

.legal-content a {
  color: #f0b429;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content hr {
  border: none;
  border-top: 1px solid #1e293b;
  margin: 1.75rem 0;
}

/* ── Fade-up entrance animation ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up   { animation: fadeUp 0.65s ease both; }
.delay-1   { animation-delay: 0.1s; }
.delay-2   { animation-delay: 0.22s; }
.delay-3   { animation-delay: 0.36s; }
.delay-4   { animation-delay: 0.5s; }
