/* ===== MATCH DETAIL PAGE ===== */

:root {
  --dark-900: #060d1e;
  --dark-800: #0c1425;
  --dark-700: #141f38;
  --red: #c1121f;
  --red-light: #ff4d5e;
  --cyan: #22b8c7;
  --gold: #fca311;
  --white-88: rgba(255,255,255,0.88);
  --white-70: rgba(255,255,255,0.70);
  --white-45: rgba(255,255,255,0.45);
  --white-12: rgba(255,255,255,0.12);
  --white-06: rgba(255,255,255,0.06);
  --radius-lg: 16px;
  --radius-md: 12px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ===== BREADCRUMB ===== */
.match-breadcrumb {
  padding: 100px 0 20px;
  background: var(--dark-900);
}

.match-breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--white-45);
}

.match-breadcrumb a {
  color: var(--white-70);
  text-decoration: none;
  transition: color 0.2s;
}

.match-breadcrumb a:hover {
  color: var(--red);
}

/* ===== MATCH HEADER ===== */
.match-header {
  padding: 40px 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(193,18,31,0.08), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(34,184,199,0.06), transparent 60%),
    var(--dark-900);
}

.match-header-content {
  text-align: center;
}

.match-date-info {
  margin-bottom: 2rem;
}

.match-competition {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.match-datetime {
  font-size: 1rem;
  color: var(--white-70);
  margin-bottom: 0.3rem;
}

.match-venue {
  font-size: 0.9rem;
  color: var(--white-45);
}

.match-score-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--dark-700);
  border: 1px solid var(--white-12);
  border-radius: var(--radius-lg);
}

.team {
  flex: 1;
  text-align: center;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white-88);
  margin-bottom: 0.5rem;
}

.team-badge {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.match-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.match-score > div:first-child {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.score {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 12px rgba(193, 18, 31, 0.4);
}

.score-separator {
  font-size: 2.5rem;
  color: var(--white-45);
  font-weight: 300;
}

.match-status-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 12px;
  margin-top: 0.5rem;
}

.match-status-badge.upcoming {
  background: rgba(252, 163, 17, 0.2);
  color: var(--gold);
  border: 1px solid rgba(252, 163, 17, 0.3);
}

/* ===== SECTION COMMON ===== */
section.match-motm,
section.match-events,
section.match-lineup,
section.match-report,
section.coach-comment,
section.match-back {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 2rem;
  text-align: center;
  color: #fff;
}

/* ===== MOTM ===== */
.motm-card {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(193,18,31,0.12), rgba(252,163,17,0.08));
  border: 1px solid rgba(193,18,31,0.25);
  border-radius: var(--radius-lg);
}

.motm-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.motm-content {
  flex: 1;
}

.motm-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.motm-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.3rem;
}

.motm-position {
  font-size: 0.9rem;
  color: var(--white-70);
}

.motm-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}

/* ===== EVENTS ===== */
.events-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.5rem;
  background: var(--dark-700);
  border: 1px solid var(--white-06);
  border-radius: var(--radius-md);
  transition: transform 0.2s;
}

.event-item:hover {
  transform: translateX(4px);
}

.event-time {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--cyan);
  min-width: 50px;
}

.event-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.event-details {
  flex: 1;
}

.event-player {
  font-weight: 700;
  color: var(--white-88);
  margin-bottom: 2px;
}

.event-assist {
  font-size: 0.85rem;
  color: var(--white-45);
}

/* ===== LINEUP ===== */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.lineup-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--dark-700);
  border: 1px solid var(--white-06);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.lineup-player:hover {
  border-color: rgba(193,18,31,0.25);
  background: rgba(255,255,255,0.02);
}

.player-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--cyan));
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}

.player-info {
  flex: 1;
  min-width: 0;
}

.player-name {
  font-weight: 700;
  color: var(--white-88);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-position {
  font-size: 0.8rem;
  color: var(--white-45);
}

/* ===== REPORT ===== */
.report-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--dark-700);
  border: 1px solid var(--white-12);
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--white-70);
}

/* ===== COACH COMMENT ===== */
.comment-box {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(34,184,199,0.08), rgba(193,18,31,0.06));
  border: 1px solid rgba(34,184,199,0.2);
  border-radius: var(--radius-lg);
}

.comment-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.comment-text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--white-88);
  font-style: italic;
}

/* ===== BACK BUTTON ===== */
.match-back {
  text-align: center;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  background: var(--dark-700);
  border: 1px solid var(--white-12);
  border-radius: var(--radius-md);
  color: var(--white-88);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-back:hover {
  background: rgba(193,18,31,0.1);
  border-color: var(--red);
  color: #fff;
  transform: translateX(-4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 680px) {
  .match-breadcrumb {
    padding: 80px 0 16px;
  }

  .match-header {
    padding: 30px 0;
  }

  .match-score-box {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .team-name {
    font-size: 1.2rem;
  }

  .score {
    font-size: 2.5rem;
  }

  .score-separator {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .motm-card {
    flex-direction: column;
    text-align: center;
  }

  .motm-photo {
    width: 100px;
    height: 100px;
  }

  .lineup-grid {
    grid-template-columns: 1fr;
  }

  .event-item {
    gap: 0.8rem;
    padding: 0.8rem 1rem;
  }

  .event-time {
    min-width: 40px;
    font-size: 1rem;
  }

  .report-content,
  .comment-box {
    padding: 1.5rem;
    font-size: 0.95rem;
  }
}
