/* Offset all anchor targets by the navbar height so the sticky bar never covers them */
#wedstrijden,
#standen,
#regels,
#deelname {
  scroll-margin-top: 70px;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  min-height: 520px;
  /* Gradient sits on top of the image — adjust the rgba alpha values to show more or less of the photo */
  background:
    linear-gradient(135deg,
      rgba(10,10,10,0.88) 0%,
      rgba(26,0,0,0.78)   40%,
      rgba(45,0,0,0.72)   70%,
      rgba(10,10,10,0.88) 100%
    ),
    url("../images/HomePage.png") center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px 48px;
  gap: 48px;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: "Anton", sans-serif;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  color: #fff;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  max-width: 420px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ════════════════════════════════════════
   NEXT MATCH CARD
════════════════════════════════════════ */
.next-match-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 24px;
  width: 340px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.next-match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.next-match-header h3 {
  font-family: "Anton", sans-serif;
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 1px;
}

.countdown-badge {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.countdown-timer {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 12px 0;
}

.countdown-unit {
  text-align: center;
}

.countdown-num {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: 1.7rem;
  color: #fff;
  line-height: 1;
}

.countdown-label {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.countdown-sep {
  font-family: "Anton", sans-serif;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.2;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

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

.team-crest {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.3rem;
}

.team-name {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.vs-badge {
  font-family: "Anton", sans-serif;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1rem;
  padding: 0 10px;
}

.match-meta {
  text-align: center;
  margin-top: 8px;
}
.match-venue {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  margin-bottom: 5px;
}
.match-competition {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
}

.seats-bar-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.seats-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 7px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ════════════════════════════════════════
   SECTIONS
════════════════════════════════════════ */
.section {
  padding: 64px 48px;
}

.section-title {
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 48px;
}

/* Roadmap */
.roadmap {
  display: flex;
  align-items: flex-start;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: #e0e0e0;
}

.roadmap-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 48px;
}

.roadmap-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.roadmap-dot.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.roadmap-dot.done {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.roadmap-label {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.roadmap-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Policies */
.policies-section {
  background: var(--bg-light);
  padding: 64px 48px;
}

.section-title-left {
  font-family: "Anton", sans-serif;
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-title-left::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 34px;
  background: var(--primary);
  flex-shrink: 0;
}

.policies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.policy-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}

.policy-card:hover {
  box-shadow: 0 4px 24px rgba(200, 0, 0, 0.08);
}

.policy-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--primary);
}

.policy-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.policy-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.policy-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
}

.policy-link:hover {
  text-decoration: underline;
}

/* Match info section */
.match-info-section {
  background: #000;
  color: #fff;
  padding: 56px 48px;
}

.match-info-title {
  font-family: "Anton", sans-serif;
  font-size: 1.9rem;
  letter-spacing: 2px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.match-detail-highlight {
  color: var(--primary);
  font-weight: 700;
}

.match-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

.match-detail-list {
  list-style: none;
}

.match-detail-list li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.match-detail-list li:last-child {
  border-bottom: none;
}

.match-detail-label {
  color: rgba(255, 255, 255, 0.45);
  min-width: 110px;
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.match-detail-value {
  color: #fff;
  font-weight: 500;
}

.rules-box {
  background: rgba(200, 0, 0, 0.08);
  border: 1px solid rgba(200, 0, 0, 0.25);
  padding: 24px;
}

.rules-box h3 {
  font-family: "Anton", sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.rules-list {
  list-style: none;
}

.rules-list li {
  padding: 7px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rules-list li::before {
  content: "—";
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .policies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 36px 20px;
    min-height: auto;
    gap: 28px;
    align-items: stretch;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .next-match-card {
    width: 100%;
    max-width: 100%;
  }
  .section {
    padding: 40px 20px;
  }
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 32px;
  }
  .policies-section {
    padding: 40px 20px;
  }
  .policies-grid {
    grid-template-columns: 1fr;
  }
  .match-info-section {
    padding: 40px 20px;
  }
  .match-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .roadmap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-left: 0;
  }
  /* Vertical line runs through the center of the 40px dots (left: 20px) */
  .roadmap::before {
    top: 0;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .roadmap-item {
    position: relative;
    padding-top: 0;
    /* 40px dot + 16px gap so text never overlaps the circle */
    padding-left: 56px;
    padding-bottom: 28px;
    text-align: left;
  }
  .roadmap-dot {
    left: 0;
    top: 0;
    transform: none;
    margin: 0;
    position: absolute;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
}
