/* ===== Zayu — Mexican Football Broadcast ===== */

:root {
  --mx-green: #006847;
  --mx-green-lt: #008f5a;
  --mx-green-dk: #004d30;
  --mx-red: #ce1126;
  --mx-red-lt: #e8354a;
  --mx-white: #ffffff;
  --gold: #ffb81c;
  --pitch: #145a32;
  --pitch-dk: #0a2e1a;
  --pitch-lt: #1e7a45;
  --night: #071510;
  --display: "Russo One", sans-serif;
  --body: "Barlow", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mx-white);
  background: var(--night);
  overflow-x: hidden;
}

.tricolor-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 300;
  background: linear-gradient(90deg, var(--mx-green) 33.33%, var(--mx-white) 33.33%, var(--mx-white) 66.66%, var(--mx-red) 66.66%);
}

.flag {
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  vertical-align: middle;
}

/* Brand icons (from xmaxxing / sibling projects) */
.icon {
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  flex-shrink: 0;
}

.icon-brand {
  filter: none;
}

.icon-btn {
  width: 20px;
  height: 20px;
}

.icon-head {
  width: 28px;
  height: 28px;
  margin-right: 0.35rem;
  vertical-align: -6px;
}

.icon-chart-lg {
  width: 56px;
  height: 56px;
  opacity: 0.85;
}

.icon-join {
  width: 36px;
  height: 36px;
}

.form-icon-fa.icon-eth {
  font-size: 2.4rem;
  color: #627eea;
  display: block;
  height: auto;
  margin: 0.5rem 0 0.75rem;
}

.icon-footer {
  width: 20px;
  height: 20px;
}

.btn-mx .icon-btn,
.btn-buy-sm .icon-btn {
  width: 22px;
  height: 22px;
}

/* ===== NAV ===== */
.broadcast-nav {
  position: fixed;
  top: 5px;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 4vw;
  background: rgba(7, 21, 16, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--mx-green);
  transition: background 0.3s, box-shadow 0.3s;
}

.broadcast-nav.scrolled {
  background: rgba(7, 21, 16, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--mx-white);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.brand span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.menu a:hover { color: var(--gold); }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--mx-white);
  transition: transform 0.3s, opacity 0.3s;
}

.btn-buy-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--mx-red);
  color: var(--mx-white) !important;
  font-weight: 700 !important;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s !important;
}

.btn-buy-sm:hover {
  background: var(--mx-red-lt) !important;
  transform: translateY(-1px);
}

/* ===== SCOREBOARD ===== */
.scoreboard {
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  z-index: 199;
  background: linear-gradient(90deg, var(--mx-green-dk), var(--mx-green));
  border-bottom: 2px solid var(--gold);
  overflow: hidden;
}

.scoreboard-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding: 0.4rem 4vw;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sb-live {
  color: var(--mx-red-lt);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sb-live i {
  font-size: 0.45rem;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.sb-match i { color: var(--gold); margin-right: 0.3rem; }

.sb-flags {
  display: flex;
  gap: 0.35rem;
}

.sb-flags img { border-radius: 2px; }

.sb-tag { color: rgba(255, 255, 255, 0.7); }

/* ===== BUTTONS ===== */
.btn-mx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--mx-white);
  background: linear-gradient(135deg, var(--mx-red), var(--mx-red-lt));
  border: 2px solid var(--gold);
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 4px 0 var(--mx-green-dk);
}

.btn-mx:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--mx-green-dk), 0 8px 24px rgba(206, 17, 38, 0.4);
}

.btn-mx:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--mx-green-dk);
}

.btn-lg { padding: 1rem 2.2rem; font-size: 1rem; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.2rem;
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mx-white);
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(0, 104, 71, 0.4);
}

/* ===== HERO PITCH ===== */
.pitch-hero {
  position: relative;
  min-height: 100vh;
  padding: 7.5rem 0 0;
  background:
    repeating-linear-gradient(
      0deg,
      var(--pitch) 0px,
      var(--pitch) 60px,
      var(--pitch-lt) 60px,
      var(--pitch-lt) 120px
    );
  overflow: hidden;
}

.pitch-lines {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 100px,
    rgba(255, 255, 255, 0.04) 100px,
    rgba(255, 255, 255, 0.04) 200px
  );
  animation: pitch-scroll 20s linear infinite;
}

@keyframes pitch-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(200px); }
}

.pitch-markings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(280px, 40vw);
  height: min(280px, 40vw);
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.center-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
}

.penalty-left,
.penalty-right {
  position: absolute;
  top: 50%;
  width: 80px;
  height: 200px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  transform: translateY(-50%);
}

.penalty-left { left: 0; border-left: none; }
.penalty-right { right: 0; border-right: none; }

.floodlights {
  position: absolute;
  top: 0;
  width: 50%;
  height: 70%;
  pointer-events: none;
}

.flood-left {
  left: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
}

.flood-right {
  right: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
}

.hero-stage {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 4vw 1rem;
  min-height: calc(100vh - 7.5rem - 80px);
  display: flex;
  align-items: flex-end;
}

/* Mascot bleeds off right */
.mascot-bleed {
  position: absolute;
  right: -5%;
  bottom: 5%;
  width: min(52%, 560px);
  z-index: 1;
  pointer-events: none;
}

.mascot-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(255, 184, 28, 0.25) 0%, transparent 65%);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.mascot-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  animation: mascot-kick 5s ease-in-out infinite;
}

@keyframes mascot-kick {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

/* Broadcast lower-third */
.lower-third {
  position: relative;
  z-index: 2;
  max-width: 520px;
  background: linear-gradient(135deg, rgba(0, 104, 71, 0.95), rgba(0, 77, 48, 0.98));
  border-left: 5px solid var(--mx-red);
  border-bottom: 4px solid var(--gold);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  margin-bottom: 2rem;
}

.lt-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.lt-title {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--mx-white);
  text-shadow: 3px 3px 0 var(--mx-red);
  margin-bottom: 0.5rem;
}

.lt-bio {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.4rem;
}

.lt-symbol {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.lt-symbol strong {
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.1rem;
}

.lt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.ca-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.ca-strip:hover { border-color: var(--gold); }
.ca-strip.copied-flash { border-color: var(--gold); box-shadow: 0 0 16px rgba(255, 184, 28, 0.3); }

.ca-label {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  white-space: nowrap;
}

#contract-display {
  flex: 1;
  min-width: 0;
  font-family: Consolas, monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  word-break: break-all;
}

.ca-strip button {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mx-white);
  cursor: pointer;
  transition: background 0.2s;
}

.ca-strip button:hover { background: var(--gold); color: var(--night); }
.ca-strip button.copied { background: var(--mx-green-lt); }

/* Nations strip */
.nations-strip {
  position: relative;
  z-index: 3;
  background: var(--mx-red);
  border-top: 3px solid var(--gold);
  padding: 0.85rem 4vw;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nations-label {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mx-white);
  white-space: nowrap;
}

.nations-label i { color: var(--gold); margin-right: 0.3rem; }

.nations-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.nations-flags img {
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease);
}

.nations-flags img:hover {
  transform: translateY(-4px) scale(1.1);
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 4vw;
  position: relative;
}

.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.picado-line {
  width: 200px;
  height: 12px;
  margin: 0 auto 1rem;
  background:
    repeating-linear-gradient(90deg, var(--mx-green) 0 12px, var(--mx-white) 12px 24px, var(--mx-red) 24px 36px);
  clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
  opacity: 0.85;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.section-head h2 i {
  color: var(--gold);
  margin-right: 0.4rem;
}

.section-head p {
  font-size: 1rem;
  opacity: 0.7;
}

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

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

/* ABOUT — locker board */
.about {
  background: linear-gradient(180deg, var(--pitch-dk) 0%, var(--night) 100%);
}

.locker-board {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 3px solid var(--mx-green);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.locker-sidebar {
  background: linear-gradient(180deg, var(--mx-green), var(--mx-green-dk));
  padding: 1.75rem 1.25rem;
  border-right: 3px solid var(--gold);
}

.player-card {
  text-align: center;
}

.player-thumb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  object-fit: cover;
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.player-card h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.player-pos {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.player-stats {
  list-style: none;
  text-align: left;
}

.player-stats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.player-stats li span {
  opacity: 0.65;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.player-stats strong {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.locker-content {
  background: var(--mx-white);
  color: #1a1a2e;
  padding: 2rem 2.25rem;
}

.locker-content .lead {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--mx-green-dk);
}

.locker-content p {
  margin-bottom: 1rem;
  color: #3d3548;
}

.locker-content .closer {
  font-weight: 700;
  color: var(--mx-red);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0;
}

/* HOW TO BUY — formation */
.buy-section {
  background:
    linear-gradient(180deg, var(--night) 0%, var(--pitch-dk) 100%);
}

.formation {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  margin-bottom: 2.5rem;
}

.form-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
  opacity: 0.35;
  z-index: 0;
}

.form-card {
  position: relative;
  z-index: 1;
  background: rgba(0, 104, 71, 0.25);
  border: 2px solid var(--mx-green);
  border-radius: 8px;
  padding: 1.5rem 1.1rem;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.form-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(0, 104, 71, 0.35);
}

.form-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mx-red);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.7rem;
}

.form-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin: 0.5rem 0 0.75rem;
}

.form-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.form-card > .fa-solid.form-icon,
.form-card > i.form-icon {
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  height: auto;
  margin: 0.5rem 0 0.75rem;
}

.form-card h3 {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-card p {
  font-size: 0.82rem;
  opacity: 0.75;
  line-height: 1.5;
}

.buy-bar { text-align: center; }

/* CHART */
.chart-section {
  background: var(--mx-white);
  color: var(--night);
}

.chart-section .section-head h2 { color: var(--mx-green-dk); }
.chart-section .section-head p { color: #555; }

.chart-box {
  position: relative;
  border: 3px solid var(--mx-green);
  border-radius: 8px;
  overflow: hidden;
  min-height: 500px;
  box-shadow: 0 8px 32px rgba(0, 104, 71, 0.15);
}

.chart-box iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: none;
}

.chart-box iframe.loaded { display: block; }

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #f4f4f4;
  color: #666;
}

.chart-placeholder .icon-chart-lg {
  opacity: 0.65;
}

.chart-placeholder code {
  background: #e8e8e8;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.85em;
}

.chart-placeholder.hidden { display: none; }

.btn-chart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem auto 0;
  padding: 0.75rem 1.5rem;
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mx-green-dk);
  background: var(--mx-white);
  border: 2px solid var(--mx-green);
  border-radius: 6px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn-chart-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 104, 71, 0.15);
}

.chart-section .btn-chart-link {
  display: flex;
  width: fit-content;
}

.btn-chart-link .icon-text-match {
  filter: brightness(0) saturate(100%) invert(12%) sepia(90%) saturate(1800%) hue-rotate(128deg) brightness(0.45);
}

.join-tile > .icon-join {
  flex-shrink: 0;
}

.footer-links a img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* JOIN */
.join-section {
  background: linear-gradient(160deg, var(--mx-green-dk) 0%, var(--mx-red) 80%);
  position: relative;
  overflow: hidden;
}

.join-corner {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.2;
  pointer-events: none;
}

.join-corner-tl {
  top: 0;
  left: 0;
  border-top: 8px solid var(--gold);
  border-left: 8px solid var(--gold);
}

.join-corner-br {
  bottom: 0;
  right: 0;
  border-bottom: 8px solid var(--gold);
  border-right: 8px solid var(--gold);
}

.banner-wrap {
  border: 4px solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.banner-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s var(--ease);
}

.banner-wrap:hover img { transform: scale(1.02); }

.join-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.join-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  text-decoration: none;
  color: var(--mx-white);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.join-tile:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.join-tile > i {
  font-size: 1.8rem;
  color: var(--gold);
}

.join-tile strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.join-tile span {
  font-size: 0.8rem;
  opacity: 0.7;
}

.join-tile-mx {
  background: rgba(206, 17, 38, 0.35);
  border-color: var(--gold);
}

.join-cheer {
  text-align: center;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.join-cheer i { color: var(--gold); }

/* FOOTER */
.pitch-footer {
  background: var(--pitch-dk);
  border-top: 3px solid var(--mx-green);
  padding: 2rem 4vw;
  text-align: center;
}

.footer-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  margin-bottom: 0.75rem;
  object-fit: cover;
}

.footer-wrap p {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--mx-white);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.footer-links a:hover {
  background: var(--mx-red);
  border-color: var(--gold);
}

.footer-wrap small {
  font-size: 0.72rem;
  opacity: 0.45;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .formation { grid-template-columns: repeat(2, 1fr); }
  .form-line { display: none; }

  .mascot-bleed {
    right: -15%;
    width: 65%;
    opacity: 0.35;
  }

  .lower-third { max-width: 100%; }
}

@media (max-width: 768px) {
  .menu-btn { display: flex; }

  .menu {
    position: fixed;
    top: 58px;
    right: 0;
    width: min(280px, 85vw);
    height: calc(100vh - 58px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.5rem;
    background: rgba(7, 21, 16, 0.98);
    border-left: 2px solid var(--mx-green);
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
  }

  .menu.open { transform: translateX(0); }

  .menu a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menu a.btn-buy-sm {
    margin-top: 1rem;
    justify-content: center;
    text-align: center;
  }

  .menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .menu-btn.active span:nth-child(2) { opacity: 0; }
  .menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

  .scoreboard-inner { gap: 0.5rem 1rem; font-size: 0.62rem; }
  .sb-tag { display: none; }

  .locker-board { grid-template-columns: 1fr; }
  .locker-sidebar { border-right: none; border-bottom: 3px solid var(--gold); }

  .formation { grid-template-columns: 1fr; }
  .join-row { grid-template-columns: 1fr; }

  .mascot-bleed { display: none; }

  .hero-stage {
    min-height: auto;
    padding-top: 1rem;
  }

  .chart-box { min-height: 380px; }
  .chart-box iframe { height: 380px; }
}
