/* === tournaments-page.css === */

/* ══════════════════════════════════════
   TOURNAMENTS PAGE
   Standalone page styles — depends on
   base.css, nav.css, footer.css
══════════════════════════════════════ */

/* ── Hero ── */
.tp-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 100px;
}

.tp-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/backgrounds/hero-football.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(.32) saturate(.7);
  z-index: 0;
}

.tp-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 30% 60%, rgba(153,202,60,.12) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(13,14,12,.3) 0%, rgba(13,14,12,.85) 100%);
  z-index: 1;
}

.tp-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}

.tp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(153,202,60,.35);
  border-radius: 100px;
  padding: 6px 16px;
  color: var(--g);
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  background: rgba(153,202,60,.06);
}
.tp-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--g);
  animation: tp-pulse 2s ease-in-out infinite;
}
@keyframes tp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.tp-hero__title {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -3px;
  text-transform: uppercase;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 24px;
}
.tp-hero__title em {
  font-style: normal;
  color: var(--g);
}

.tp-hero__sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(240,242,234,.62);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 44px;
}

.tp-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.tp-hero__scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(240,242,234,.38);
  margin-top: 64px;
}
.tp-hero__scroll-line {
  width: 32px;
  height: 1px;
  background: rgba(153,202,60,.3);
}

/* ── Stats strip ── */
.tp-stats {
  background: var(--card);
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: 0;
}
.tp-stats__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.tp-stat {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--bdr);
  padding-left: 40px;
}
.tp-stat:first-child { padding-left: 0; }
.tp-stat:last-child  { border-right: none; }
.tp-stat__val {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--g);
  line-height: 1;
}
.tp-stat__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .2px;
}

/* ── Section: Highlights ── */
.tp-highlights {
  background: var(--dark);
  padding: 96px 0;
}
.tp-highlights__header {
  max-width: 1160px;
  margin: 0 auto 56px;
  padding: 0 48px;
}
.tp-cards {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tp-card {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.tp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(153,202,60,.055) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  border-radius: inherit;
}
.tp-card:hover {
  border-color: rgba(153,202,60,.28);
  transform: translateY(-4px);
  box-shadow: 0 20px 52px rgba(0,0,0,.5);
}
.tp-card:hover::before { opacity: 1; }

.tp-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(153,202,60,.1);
  border: 1px solid rgba(153,202,60,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.tp-card__val {
  font-family: 'Satoshi', sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  line-height: 1;
}
.tp-card__val span {
  color: var(--g);
}
.tp-card__label {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -4px;
}
.tp-card__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

/* ── Section: How it works ── */
.tp-how {
  background: linear-gradient(155deg, #0a1a04 0%, var(--dark) 60%);
  border-top: 1px solid rgba(153,202,60,.08);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.tp-how::before {
  content: 'HOW';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 900;
  letter-spacing: -6px;
  text-transform: uppercase;
  color: rgba(153,202,60,.025);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}
.tp-how__header {
  max-width: 1160px;
  margin: 0 auto 56px;
  padding: 0 48px;
}
.tp-steps {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.tp-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(48px + 32px);
  right: calc(48px + 32px);
  height: 1px;
  background: linear-gradient(to right, rgba(153,202,60,.22), rgba(153,202,60,.1), rgba(153,202,60,.22));
  pointer-events: none;
}
.tp-step {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.tp-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(153,202,60,.3);
  background: rgba(153,202,60,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--g);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.tp-step__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(153,202,60,.08);
  border: 1px solid rgba(153,202,60,.15);
  border-radius: 100px;
  padding: 4px 12px;
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--g);
  width: fit-content;
}
.tp-step__title {
  font-family: 'Satoshi', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--text);
  line-height: 1.2;
}
.tp-step__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.68;
}

/* ── Section: Coming soon CTA ── */
.tp-cta {
  background: var(--dark);
  border-top: 1px solid var(--bdr);
  padding: 112px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(153,202,60,.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 50% 100%, rgba(153,202,60,.05) 0%, transparent 70%);
  pointer-events: none;
}
.tp-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
  padding: 0 48px;
}
.tp-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(153,202,60,.3);
  border-radius: 100px;
  padding: 6px 16px;
  color: var(--g);
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  background: rgba(153,202,60,.05);
}
.tp-cta__title {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.tp-cta__title em {
  font-style: normal;
  color: var(--g);
}
.tp-cta__sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 40px;
}
.tp-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Cities strip ── */
.tp-cities {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 48px;
}
.tp-city {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 12px;
  border: 1px solid var(--bdr);
  border-radius: 99px;
  background: rgba(255,255,255,.02);
}
.tp-city--active {
  color: var(--g);
  border-color: rgba(153,202,60,.25);
  background: rgba(153,202,60,.05);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
  .tp-hero__content { padding: 0 32px; }
  .tp-stats__inner  { padding: 0 32px; }
  .tp-highlights__header,
  .tp-cards,
  .tp-how__header,
  .tp-steps { padding: 0 32px; }
  .tp-cta__inner { padding: 0 32px; }

  .tp-cards { grid-template-columns: 1fr 1fr; }
  .tp-steps { grid-template-columns: 1fr; }
  .tp-steps::before { display: none; }
  .tp-stats__inner { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 580px) {
  .tp-hero { padding: 120px 0 72px; min-height: auto; }
  .tp-hero__content { padding: 0 20px; }
  .tp-hero__title { letter-spacing: -2px; }
  .tp-hero__actions { flex-direction: column; align-items: flex-start; }
  .tp-hero__scroll { display: none; }

  .tp-stats__inner {
    padding: 0;
    grid-template-columns: 1fr;
  }
  .tp-stat {
    border-right: none;
    border-bottom: 1px solid var(--bdr);
    padding: 24px 20px;
  }
  .tp-stat:last-child { border-bottom: none; }
  .tp-stat:first-child { padding-left: 20px; }

  .tp-highlights { padding: 72px 0; }
  .tp-highlights__header,
  .tp-cards,
  .tp-how__header,
  .tp-steps { padding: 0 20px; }
  .tp-highlights__header { margin-bottom: 36px; }
  .tp-cards { grid-template-columns: 1fr; gap: 14px; }

  .tp-how { padding: 72px 0; }
  .tp-how::before { display: none; }
  .tp-how__header { margin-bottom: 36px; }

  .tp-cta { padding: 80px 0; }
  .tp-cta__inner { padding: 0 20px; }
  .tp-cta__actions { flex-direction: column; align-items: center; }
}
