/* =========================
   BASE
========================= */
body {
  background: #1c1c1c;
  color: #fff;
  font-family: "Branding", sans-serif;
}

/* =========================
   HEADER NAV
========================= */
header {
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

header a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
  transition: 0.2s;
}

header a:hover {
  opacity: 0.7;
}

/* centrar nav */
header .nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

/* =========================
   CLUB HEADER
========================= */
.club-header {
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  margin-bottom: 20px;
}

/* fondos clubes */
.club-header.river {
  background: linear-gradient(135deg, #ffffff, #e60000);
}

.club-header.boca {
  background: linear-gradient(135deg, #0033a0, #ffcc00);
}

.club-header.rojos {
  background: linear-gradient(135deg, #ff1303, #000000);
}

/* =========================
   LOGO CIRCULAR
========================= */
.club-logo-box {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px auto;

  border-radius: 50%;
  background: rgba(255,255,255,0.12);

  display: flex;
  justify-content: center;
  align-items: center;
}

.club-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* nombre */
.club-name {
  font-size: 20px;
  margin-bottom: 10px;
}

/* =========================
   FORMA G E P
========================= */
.club-form {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.form {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 12px;
  font-weight: bold;
  color: white;
}

.win { background: #2ecc71; }
.draw { background: #f39c12; }
.loss { background: #e74c3c; }

/* =========================
   MATCHS (ANTIGUOS)
========================= */
.matches {
  text-align: center;
}

.match-card {
  background: #2a2a2a;
  padding: 15px;
  border-radius: 14px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* fecha */
.fecha {
  font-size: 14px;
  display: block;
}

/* estadio */
.estadio {
  font-size: 12px;
  opacity: 0.7;
}

/* equipos */
.teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.team {
  text-align: center;
}

.team img {
  width: 40px;
}

/* marcador */
.vs {
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* =========================
   RESULTADOS NUEVOS (IMPORTANTE)
========================= */
.result-card {
  text-align: center;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.result-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.result-score {
  font-size: 16px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 10px;
  display: inline-block;
}

/* GANÓ */
.result-card.win {
  background: #1e7e34;
}

/* EMPATÓ */
.result-card.draw {
  background: #b9770e;
}

/* PERDIÓ */
.result-card.loss {
  background: #b02a37;
}