:root {
  --clr-bg: #0c0c0c;
  --clr-surface: #161616;
  --clr-surface-alt: #1f1f1f;
  --clr-highlight: #c8102e;
  --clr-gold: #fed000;
  --clr-text: #f6eaea;
  --clr-text-dim: #e5bdbb;
  --max-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text-dim);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max-width), 100% - 2.5rem);
  margin-inline: auto;
}

.bg-texture {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at top, rgba(200, 16, 46, 0.5), transparent 55%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(12, 12, 12, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.brand__logo {
  height: 50px;
}
.brand__logo--footer {
  height: 42px;
}

.nav__list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-highlight), transparent);
  opacity: 0;
  transform: translateY(4px);
  transition: 0.3s ease;
}

.nav__list a:hover::after,
.nav__list a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: none;
  border: none;
}

.nav__toggle-line {
  width: 26px;
  height: 2px;
  background: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  padding: 0.9rem 1.8rem;
  border-radius: 0.2rem;
  font-size: 0.85rem;
  transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.btn--primary {
  background: var(--clr-highlight);
  color: var(--clr-text);
  box-shadow: 0 20px 40px rgba(200, 16, 46, 0.35);
}

.btn--gold {
  background: var(--clr-gold);
  color: #231b00;
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--clr-text);
}

.btn--wide {
  width: 100%;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--clr-text);
  overflow: hidden;
}

.hero {
  background-image: var(--hero-image, url('../img/duivelsgeel-hero.jpg'));
  background-size: 105%;
  background-position: center;
  background-attachment: fixed;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 12, 12, 0.9), rgba(12, 12, 12, 0.3));
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 1024px;
  padding-block: 5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(254, 208, 0, 0.12);
  border: 1px solid rgba(254, 208, 0, 0.4);
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--clr-highlight);
  position: relative;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(200, 16, 46, 0.5);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes heroZoom {
  0% {
    background-size: 100%;
  }
  100% {
    background-size: 110%;
  }
}

@keyframes heroGlow {
  0% {
    text-shadow: 0 0 10px rgba(254, 208, 0, 0.1);
  }
  50% {
    text-shadow: 0 0 25px rgba(254, 208, 0, 0.35);
  }
  100% {
    text-shadow: 0 0 10px rgba(254, 208, 0, 0.1);
  }
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: heroGlow 7s ease-in-out infinite;
}

.hero h1 span {
  color: var(--clr-highlight);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}


.section {
  position: relative;
  padding-block: 6rem;
  scroll-margin-top: 96px; /* zorgt dat anchor zichtbaar is onder sticky header */
}

.section--alt {
  background: var(--clr-surface);
}

.section__header {
  text-align: left;
  margin-bottom: 3rem;
}

.section__header h2 {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 3vw, 3.5rem);
  letter-spacing: 0.05em;
}

.section__header span {
  color: var(--clr-highlight);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.matches-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.match-card {
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.15), rgba(22, 22, 22, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem;
  border-radius: 1.2rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.match-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 600px) {
  .match-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.tag {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(254, 208, 0, 0.15);
  border: 1px solid rgba(254, 208, 0, 0.4);
}

.match-card__date {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-text);
}

.match-card__teams {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.match-card__teams span {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

.match-card__teams img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  border: 4px solid rgba(255, 255, 255, 0.1);
}
.match-card__teams p {
  margin: 0;
}
.match-card__teams .match-code {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
}

.match-card__footer {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.match-card--feature .match-card__footer {
  justify-content: center;
  text-align: center;
}

.match-times {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.match-card--feature .match-times {
  justify-content: center;
}

.match-card--feature .match-time {
  text-align: center;
}

.match-time {
  min-width: 140px;
}

.match-time__label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

.match-time__value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--clr-text);
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.match-item {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--clr-surface-alt);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.match-list__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.match-list__meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.match-list__flags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
}

.match-list__flag {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
}

.match-list__flag img {
  width: 44px;
  height: 30px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0.35rem;
}

.match-list__vs {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.4);
}

.match-item__teams {
  margin: 0;
  font-weight: 600;
  color: var(--clr-text);
}

.match-item__date {
  margin: 0;
  color: var(--clr-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}

.match-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.match-pill__icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.35rem;
}

.match-pill--live {
  background: rgba(254, 208, 0, 0.18);
  color: var(--clr-gold);
  border: 1px solid rgba(254, 208, 0, 0.4);
}

.match-pill--off {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.match-list__pill {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .match-list__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .match-list__pill {
    width: 100%;
  }
}

.match-item__date {
  color: var(--clr-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature {
  padding: 2rem;
  background: var(--clr-surface-alt);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(254, 208, 0, 0.12), transparent 40%);
  z-index: 0;
}

.feature:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(200, 16, 46, 0.25);
}

.feature:hover::after {
  opacity: 1;
}

.feature__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-flex;
  padding: 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.feature h3 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 0.5rem;
  color: var(--clr-text);
}

.practical {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.practical__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.practical__list li {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.practical__list span {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.map-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.4), transparent 50%);
}

.map-card__pin {
  position: absolute;
  inset: auto auto 2rem 50%;
  transform: translateX(-50%);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--clr-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

@media (min-width: 992px) {
  .practical {
    grid-template-columns: 1fr 0.85fr;
    align-items: stretch;
  }

  .map-card {
    height: 100%;
  }

  .map-card img {
    height: 100%;
    object-fit: cover;
  }
}

.partners {
  background: var(--clr-surface-alt);
  padding: 2rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.partners__cta {
  margin-top: 30px;
}

.partners__logos {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.partners__logos .partner-card {
  grid-column: span 3;
}

.partners__logos .partner-card:nth-child(5) {
  grid-column: 2 / span 3;
}

.partners__logos .partner-card:nth-child(6) {
  grid-column: 5 / span 3;
}

.partners__logos .partner-card:nth-child(7) {
  grid-column: 8 / span 3;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 1rem;
  border-radius: 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.partner-card img {
  width: 100%;
  max-height: 72px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .partners__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners__logos .partner-card,
  .partners__logos .partner-card:nth-child(5),
  .partners__logos .partner-card:nth-child(6),
  .partners__logos .partner-card:nth-child(7) {
    grid-column: span 1;
  }

  .partner-card {
    min-height: 100px;
    padding: 0.85rem;
  }
}

.gallery {
  padding-bottom: 0;
}

.gallery__marquee {
  overflow: hidden;
  width: 100%;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery__track {
  display: flex;
  gap: 1rem;
  animation: marquee 30s linear infinite;
}

.gallery__track img {
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 1rem;
  filter: saturate(1.2);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cta {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  color: var(--clr-text);
  overflow: hidden;
}

.cta {
  background-image: var(--cta-bg, none);
  background-size: cover;
  background-position: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(200, 16, 46, 0.8), rgba(0, 0, 0, 0.7));
}

.cta .container {
  position: relative;
  z-index: 1;
}

.footer {
  background: #0b0b0b;
  padding-top: 4rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer__grid h4 {
  margin-bottom: 0.5rem;
  color: var(--clr-text);
}

.footer__bar {
  margin-top: 3rem;
  padding: 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.socials {
  display: flex;
  gap: 0.8rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
}

.footer__credits {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.footer__credits svg {
  width: 20px;
  height: 20px;
}

.footer__legal {
  flex: 1 1 100%;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  background: var(--clr-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 2.5rem;
  max-width: 520px;
  width: calc(100% - 2.5rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.modal__dialog h3 {
  margin-top: 0;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.modal__dialog p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--clr-text);
  font-size: 1.5rem;
  cursor: pointer;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
  }

  .nav__list {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    background: rgba(12, 12, 12, 0.95);
    padding: 1rem 2rem 2rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .nav__list.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-header .container {
    flex-wrap: wrap;
  }

  .match-card__teams {
    grid-template-columns: 1fr;
  }
}
