:root {
  --bg: #070707;
  --bg-soft: #0e0e0e;
  --surface: #141414;
  --surface-light: #1b1b1b;
  --gold: #d8ad3b;
  --gold-light: #f1d06a;
  --gold-dark: #9e7418;
  --white: #ffffff;
  --text: #f5f5f5;
  --muted: #a9a9a9;
  --border: rgba(216, 173, 59, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section-dark {
  background:
    radial-gradient(circle at 10% 0%, rgba(216, 173, 59, 0.08), transparent 28%),
    var(--bg-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading h2,
.contact-copy h2,
.photo-content h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-heading p,
.contact-copy p,
.photo-content p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.heading-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: none;
}

.heading-row > p {
  max-width: 480px;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(7, 7, 7, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

.brand span {
  display: flex;
  flex-direction: column;
}

.brand strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(20, 20, 20, 0.78);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: 0;
  display: flex;
  padding: 110px 26px 32px;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  background:
    radial-gradient(circle at 80% 20%, rgba(216, 173, 59, 0.15), transparent 30%),
    #080808;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.main-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav a {
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--gold-light);
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 115px 0 70px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.76)),
    radial-gradient(circle at 80% 50%, #242018 0%, #090909 48%, #050505 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(35px);
}

.hero-glow-one {
  top: 10%;
  right: -18%;
  width: 360px;
  height: 360px;
  background: rgba(216, 173, 59, 0.16);
}

.hero-glow-two {
  bottom: -15%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: 40px;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(4rem, 14vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-content h1 span {
  display: block;
  margin-top: 24px;
  background: linear-gradient(
    135deg,
    #fff4bd 0%,
    var(--gold-light) 32%,
    var(--gold-dark) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-content > p {
  max-width: 650px;
  margin: 28px 0 0;
  color: #c5c5c5;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #080808;
  box-shadow: 0 14px 34px rgba(216, 173, 59, 0.19);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-stats {
  display: grid;
  margin-top: 42px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats article {
  padding: 17px 10px;
  background: rgba(10, 10, 10, 0.8);
  text-align: center;
}

.hero-stats strong {
  display: block;
  color: var(--gold-light);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-logo-wrap {
  position: relative;
  display: grid;
  max-width: 500px;
  margin: auto;
  place-items: center;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(82vw, 460px);
  filter: drop-shadow(0 28px 35px rgba(0, 0, 0, 0.5));
}

.hero-logo-ring {
  position: absolute;
  width: 85%;
  aspect-ratio: 1;
  border: 1px solid rgba(216, 173, 59, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 32px rgba(216, 173, 59, 0.025),
    0 0 0 64px rgba(216, 173, 59, 0.018);
}

.scroll-indicator {
  position: absolute;
  z-index: 4;
  bottom: 22px;
  left: 50%;
  display: none;
  width: 28px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-light);
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

/* Torneo */

.tournament-grid {
  display: grid;
  gap: 26px;
}

.tournament-copy {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(216, 173, 59, 0.08), transparent 45%),
    var(--surface);
  box-shadow: var(--shadow);
}

.tournament-copy::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  content: "";
  border: 1px solid rgba(216, 173, 59, 0.14);
  border-radius: 50%;
}

.tournament-copy h3,
.feature-card h3,
.team-card h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tournament-copy > p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.highlight-line {
  display: flex;
  margin-top: 28px;
  align-items: center;
  gap: 14px;
}

.highlight-line span {
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.highlight-line p {
  margin: 0;
  color: var(--white);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-card {
  position: relative;
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: #111;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.feature-number {
  display: block;
  margin-bottom: 38px;
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

/* Tabla */

.standings-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 173, 59, 0.06), transparent 25%),
    #080808;
}

.standings-tabs,
.matches-tabs {
  display: flex;
  margin-bottom: 20px;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.standings-tabs::-webkit-scrollbar,
.matches-tabs::-webkit-scrollbar {
  display: none;
}

.standings-tab,
.match-tab {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.standings-tab.active,
.match-tab.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #080808;
}

.standings-panel,
.matches-panel {
  display: none;
}

.standings-panel.active,
.matches-panel.active {
  display: block;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.public-standings {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.public-standings th,
.public-standings td {
  padding: 15px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  text-align: center;
}

.public-standings th {
  background: #0d0d0d;
  color: #8f8f8f;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-standings th:nth-child(2),
.public-standings td:nth-child(2) {
  min-width: 220px;
  text-align: left;
}

.public-standings tbody tr:last-child td {
  border-bottom: 0;
}

.public-standings tbody tr:hover {
  background: rgba(216, 173, 59, 0.04);
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}

.team-avatar {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(216, 173, 59, 0.55);
  border-radius: 50%;
  background: #0a0a0a;
}

.team-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.public-standings .team-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.public-standings .team-avatar img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.team-avatar-fallback {
  color: var(--gold-light);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
}

.position-badge {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  font-weight: 900;
}

.position-badge.top-position {
  background: rgba(216, 173, 59, 0.14);
  color: var(--gold-light);
}

.points-cell {
  color: var(--gold-light);
  font-size: 1.1rem;
  font-weight: 900;
}

/* Goleadores */

.top-scorers {
  margin-top: 68px;
  padding-top: 62px;
  border-top: 1px solid rgba(216, 173, 59, 0.16);
}

.scorers-heading {
  display: flex;
  margin-bottom: 26px;
  flex-direction: column;
  gap: 15px;
}

.scorers-heading h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.35rem, 10vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.scorers-heading p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.scorers-table-wrap {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.public-scorers {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.public-scorers th,
.public-scorers td {
  padding: 13px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  text-align: center;
}

.public-scorers th {
  background: #0d0d0d;
  color: #8f8f8f;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.public-scorers th:first-child,
.public-scorers td:first-child {
  width: 54px;
}

.public-scorers th:nth-child(2),
.public-scorers td:nth-child(2) {
  text-align: left;
}

.public-scorers th:nth-child(3),
.public-scorers td:nth-child(3) {
  width: 48px;
}

.public-scorers th:nth-child(4),
.public-scorers td:nth-child(4) {
  width: 64px;
}

.public-scorers tbody tr:last-child td {
  border-bottom: 0;
}

.public-scorers tbody tr:hover,
.public-scorers .scorer-leader {
  background: rgba(216, 173, 59, 0.045);
}

.scorer-player-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.public-scorers .team-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.scorer-player-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.scorer-player-copy strong,
.scorer-player-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scorer-player-copy strong {
  color: var(--white);
  font-size: 0.84rem;
}

.scorer-player-copy strong span {
  margin-right: 3px;
  color: var(--gold);
}

.scorer-player-copy small {
  color: var(--muted);
  font-size: 0.68rem;
}

.scorer-matches {
  color: #c5c5c5;
  font-weight: 800;
}

.scorer-goals {
  color: var(--gold-light);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
}

/* Equipos */

.teams-grid {
  display: grid;
  gap: 14px;
}

.team-card {
  position: relative;
  display: flex;
  min-height: 145px;
  padding: 22px;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.03), transparent 42%),
    var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.team-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.team-card-shine {
  position: absolute;
  top: -45%;
  right: -20%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(216, 173, 59, 0.08);
  filter: blur(8px);
}

.team-logo {
  position: relative;
  z-index: 1;
}

.team-logo .team-avatar {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border-width: 2px;
}

.team-logo .team-avatar img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

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

.team-card-content > span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Partidos */

.matches-section {
  background:
    radial-gradient(circle at 0% 20%, rgba(216, 173, 59, 0.07), transparent 25%),
    #090909;
}

.matches-grid {
  display: grid;
  gap: 15px;
}

.matches-more {
  display: flex;
  margin-top: 30px;
  justify-content: center;
}

.matches-more .btn {
  min-width: min(100%, 290px);
}

.matches-more .btn span {
  font-size: 1.15em;
  transition: transform 0.2s ease;
}

.matches-more .btn:hover span {
  transform: translateX(4px);
}

.public-match-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(216, 173, 59, 0.045), transparent 44%),
    var(--surface);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.match-card-head {
  display: flex;
  padding-bottom: 14px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.match-card-head > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.match-card-head span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.match-card-head strong {
  font-size: 0.85rem;
}

.live-badge,
.suspended-badge {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.live-badge {
  background: rgba(50, 205, 90, 0.12);
  color: #78ed98;
}

.suspended-badge {
  background: rgba(255, 91, 91, 0.12);
  color: #ff8585;
}

.match-teams {
  display: grid;
  padding: 24px 0;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.match-team {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
}

.match-team span:last-child {
  width: 100%;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.match-score strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.match-score small {
  color: var(--gold);
  font-size: 0.72em;
}

.match-meta {
  display: flex;
  padding-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.match-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Página con todos los partidos */

.matches-archive-main {
  min-height: 100vh;
  padding-top: 78px;
  background:
    radial-gradient(circle at 85% 8%, rgba(216, 173, 59, 0.12), transparent 25%),
    #090909;
}

.matches-archive-hero {
  padding: 70px 0 38px;
}

.matches-archive-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.matches-archive-heading h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3rem, 14vw, 5.8rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.matches-archive-heading p {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.matchdays-section {
  padding: 20px 0 88px;
}

.matchdays-list {
  display: grid;
  gap: 16px;
}

.matchday {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(20, 20, 20, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.matchday > summary {
  display: flex;
  min-height: 92px;
  padding: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.matchday > summary::-webkit-details-marker {
  display: none;
}

.matchday > summary:hover {
  background: rgba(216, 173, 59, 0.045);
}

.matchday-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.matchday-heading h2 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.8rem, 7vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.matchday-summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.matchday-summary-text strong,
.matchday-summary-text span {
  display: block;
}

.matchday-summary-text strong {
  color: var(--text);
}

.matchday-chevron {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.matchday[open] .matchday-chevron {
  transform: rotate(225deg);
}

.matchday-content {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.matchday-content .matches-grid {
  padding-top: 16px;
}

.matches-archive-empty {
  padding: 60px 22px;
}

/* Fotos */

.photo-section {
  position: relative;
  display: grid;
  min-height: 520px;
  padding: 90px 0;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.6)),
    radial-gradient(circle at 70% 50%, rgba(216, 173, 59, 0.2), transparent 28%),
    #0d0d0d;
}

.photo-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(216, 173, 59, 0.23) 49% 50%, transparent 51% 100%);
  background-size: 34px 34px;
}

.photo-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.photo-content .eyebrow::before {
  display: none;
}

.photo-content p {
  margin-inline: auto;
}

.coming-soon-badge {
  display: inline-flex;
  margin-top: 28px;
  padding: 12px 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(216, 173, 59, 0.08);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-content .btn {
  margin-top: 28px;
}

/* Contacto */

.contact-section {
  background:
    radial-gradient(circle at 15% 100%, rgba(216, 173, 59, 0.1), transparent 27%),
    var(--bg-soft);
}

.contact-grid {
  display: grid;
  gap: 28px;
}

.contact-copy .btn {
  margin-top: 28px;
}

.contact-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-card article {
  display: flex;
  padding: 22px;
  flex-direction: column;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-card article:last-child {
  border-bottom: 0;
}

.contact-card span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card a {
  font-weight: 800;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--gold-light);
}

/* Footer */

.site-footer {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #050505;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.footer-brand strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-brand span,
.site-footer p {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

/* Estados vacíos */

.empty-state {
  padding: 42px 22px;
  border: 1px dashed rgba(216, 173, 59, 0.3);
  border-radius: 18px;
  background: rgba(216, 173, 59, 0.03);
  text-align: center;
}

.empty-state span {
  color: var(--gold-light);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
}

.empty-state p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Animaciones */

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

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

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

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

  .heading-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .scorers-heading {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .public-scorers th,
  .public-scorers td {
    padding: 15px 14px;
  }

  .public-scorers th:first-child,
  .public-scorers td:first-child {
    width: 78px;
  }

  .public-scorers th:nth-child(3),
  .public-scorers td:nth-child(3) {
    width: 90px;
  }

  .public-scorers th:nth-child(4),
  .public-scorers td:nth-child(4) {
    width: 105px;
  }

  .public-scorers .team-avatar {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .scorer-player-copy strong {
    font-size: 0.95rem;
  }

  .scorer-player-copy small {
    font-size: 0.75rem;
  }
}

@media (min-width: 920px) {
  .section {
    padding: 120px 0;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    background: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    width: auto;
    padding: 8px 0;
    border: 0;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: none;
  }

  .main-nav .nav-contact {
    padding: 11px 16px;
    border: 1px solid var(--gold);
    border-radius: 10px;
    color: var(--gold-light);
  }

  .hero {
    padding: 120px 0 85px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  }

 .hero-content h1 {
    font-size: clamp(3.7rem, 16vw, 5.6rem);
    line-height: 0.92;
  }

  .hero-logo-wrap {
    order: 2;
  }

  .hero-stats {
    max-width: 480px;
  }

  .scroll-indicator {
    display: block;
  }

  .tournament-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
  }

  .tournament-copy {
    padding: 38px;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .teams-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


.yellow-cards-cell {
  white-space: nowrap;
  font-weight: 800;
}

.yellow-card-icon {
  display: inline-block;
  width: 10px;
  min-width: 10px;
  height: 15px;
  margin-right: 6px;
  padding: 0;
  border-radius: 2px;
  background-color: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.25);
  vertical-align: middle;
  line-height: 15px;
  font-size: 0;
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
}
