:root {
  --black: #000000;
  --blue: #0072B4;
  --yellow: #FFD833;
  --bg-color: #000000;
  --text-color: #FFFFFF;
  --highlight-blue: #3399FF;
  --highlight-yellow: #FFD833;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0 15px 30px;
}

header {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  background: var(--black);
  border-bottom: 3px solid var(--yellow);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.instagram-logo { width: 24px; height: 24px; }

.fixtures-title {
  color: var(--highlight-yellow);
  text-align: center;
  margin: 20px 0;
  font-weight: 700;
}

.match-box {
  background-color: #111;
  box-shadow: 0 0 10px var(--blue), 0 0 15px var(--yellow);
  border: 2px solid var(--blue);
  border-radius: 16px;
  padding: 28px 20px 18px 20px;
  margin: 22px auto;
  max-width: 410px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.match-info {
  width: 100%;
  text-align: center;
  margin-bottom: 18px;
}

.competition {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  gap: 12px;
}

.competition-text {
  font-weight: 700;
  color: var(--highlight-yellow);
  margin-bottom: 8px;
  font-size: 1.17rem;
  text-align: center;
  text-shadow: 0 0 6px var(--yellow);
}

.competition-logo {
  height: 62px;
  filter: drop-shadow(0 0 2px var(--yellow));
}

@media (min-width: 780px) {
  .match-box { max-width: 430px; }
  .competition-logo { height: 110px; }
}

.match-info > div {
  margin: 8px 0;
  font-size: 1.03rem;
  font-weight: 500;
}

.status {
  font-weight: 700;
  margin-top: 10px;
  color: var(--highlight-yellow);
  font-size: 1.1rem;
  text-shadow: 0 0 6px var(--yellow);
}

.countdown {
  color: var(--highlight-yellow);
  font-weight: 600;
  font-size: 1.01rem;
  margin-top: 6px;
  font-style: italic;
  text-shadow: 0 0 4px var(--yellow);
}

.teams-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  gap: 28px;
  margin-top: 6px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  color: var(--highlight-blue);
  font-weight: 600;
  user-select: none;
  font-size: 1rem;
}

.team img {
  max-width: 65px;
  max-height: 65px;
  margin-bottom: 6px;
  border-radius: 10px;
  border: 2px solid var(--blue);
  background-color: var(--black);
  padding: 3px;
}

.team span {
  margin-top: 2px;
}

@media (max-width: 600px) and (orientation: portrait) {
  header { padding: 15px 10px; }
  .fixtures-title { font-size: 1.15rem; color: var(--highlight-yellow); }
  .match-box { padding: 16px 2px 12px 2px; max-width: 99vw; }
  .competition-logo { height: 76px; }
  .teams-row { gap: 16px; }
  .team { min-width: 0; font-size: 0.97rem; }
  /* Make sure competition-text stays yellow */
  .competition-text { color: var(--highlight-yellow); font-size: 1.12rem;}
}
