/* Shared hub section shell + next-match card (matches.html + any page without styles.css) */

.skip-to-main {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  background: #0a0a14;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid #7dd3fc;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: top 0.2s ease;
}

.skip-to-main:focus {
  top: 12px;
  outline: none;
}

.home-hub-section {
  position: relative;
  padding: 70px 5% 80px;
  isolation: isolate;
  color: #fff;
  background-color: #0a0a13;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(0, 70, 173, 0.18), transparent 55%);
  background-size: 22px 22px, 100% 100%;
  background-position: 0 0, 50% 0;
  background-repeat: repeat, no-repeat;
  overflow: hidden;
}

.home-hub-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 153, 255, 0.55), rgba(255, 43, 123, 0.55), transparent);
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
}

.home-section-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 0 32px;
}

.home-section-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #7dd3fc;
  opacity: 0.85;
}

.home-section-title {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 35%, #ff8aa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
}

.home-section-lead {
  margin: 0;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.55;
  color: #d4d4d8;
}

.home-next-match-section.next-match {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.07), transparent 65%),
    linear-gradient(180deg, #07070f 0%, #0a0a14 100%);
  padding: 60px 5%;
  color: #fff;
}

.home-next-match-section .next-match-overlay { display: none; }

.home-next-match-section .next-match-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.home-next-match-section .section-title { display: none; }

.home-next-match-card {
  position: relative;
  margin: 0 auto;
  padding: 28px 32px 30px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0, 212, 255, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(20, 22, 30, 0.78) 0%, rgba(14, 15, 22, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(0, 212, 255, 0.36);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  isolation: isolate;
}

.home-next-match-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.85), transparent);
}

.home-next-match-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-next-match-card__competition {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00d4ff;
}

.home-next-match-card__comp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d4ff;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.65);
}

.home-next-match-card__venue {
  color: rgba(244, 244, 245, 0.6);
  letter-spacing: 0.18em;
}

.home-next-match-section .match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
}

.home-next-match-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.home-next-match-section .team-logo {
  width: 92px;
  height: 92px;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

.home-next-match-card__team-name {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-align: center;
}

.home-next-match-section .match-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-next-match-section .match-vs span {
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(244, 244, 245, 0.65);
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.home-next-match-card__kickoff {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 12px 16px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 10px;
}

.home-next-match-card__kickoff-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.5);
}

.home-next-match-card__kickoff-time {
  font-family: "Orbitron", "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.home-next-match-section .timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 24px;
}

.home-next-match-section .timer-box {
  height: auto;
  min-width: 0;
  padding: 14px 8px 12px;
  background: rgba(10, 10, 16, 0.65);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 12px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: border-color 0.2s, background 0.2s;
}

.home-next-match-section .timer-box:hover {
  transform: none;
  border-color: rgba(0, 212, 255, 0.42);
  background: rgba(10, 10, 16, 0.85);
  box-shadow: none;
}

.home-next-match-section .timer-box span {
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: initial;
  -webkit-background-clip: initial;
          background-clip: initial;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  line-height: 1;
}

.home-next-match-section .timer-box small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.55);
  margin-top: 6px;
}

.home-next-match-section .next-match-inner .hero-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-size: 0.78rem;
  padding: 0.72rem 1.5rem;
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .home-next-match-card { padding: 22px 18px 24px; }
  .home-next-match-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
  }
  .home-next-match-section .team-logo { width: 68px; height: 68px; }
  .home-next-match-card__team-name { font-size: 0.84rem; }
  .home-next-match-section .timer { gap: 6px; }
  .home-next-match-section .timer-box { padding: 10px 4px 8px; }
  .home-next-match-section .timer-box small { font-size: 0.62rem; letter-spacing: 0.14em; }
}
