@font-face {
  font-family: "Tanker";
  src: url("fonts/Tanker-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #162f26;
  --primary: #f7f5ef;
  --highlight: #c49a2c;
  --accent: #e34f38;
  --streamer: #ffbab8;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xlg: 40px;
  --spacing-2xlg: 48px;
  --spacing-3xlg: 56px;
  --spacing-4xlg: 64px;

  --text-tag: 20px;
  --text-heading-3: 32px;
  --text-heading-2: 64px;
  --text-body: 18px;
  --text-small: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--primary);
  font-family: "Satoshi", sans-serif;
  line-height: 1.4;
}

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

a {
  color: inherit;
}

.section {
  padding: 100px 64px;
}

.section--half {
  padding: 50px 64px;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
}

/* Header / logo */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 64px;
}

.site-header__logo {
  height: 77px;
  width: auto;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-4xlg);
  text-align: center;
}

.hero__title {
  font-family: "Tanker", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--accent);
  font-size: clamp(48px, 11vw, 160px);
  line-height: 1.1;
  letter-spacing: clamp(2px, 0.8vw, 16px);
  margin: 0;
}

.hero__title span {
  display: block;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 1000px;
  font-family: "Tanker", sans-serif;
  font-size: var(--text-tag);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
  white-space: nowrap;
}

.btn--outline {
  border: 1.5px solid var(--highlight);
  color: var(--primary);
}

.btn--solid {
  background: var(--highlight);
  color: var(--background);
}

.btn--outline:hover {
  background: rgba(196, 154, 44, 0.15);
}

.btn--solid:hover {
  background: #d8ab30;
}

.btn__icon {
  width: 24px;
  height: 24px;
}

/* Countdown */
.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-4xlg);
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.countdown__value {
  font-family: "Tanker", sans-serif;
  font-size: var(--text-heading-2);
  letter-spacing: 5.12px;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
  margin: 0;
}

.countdown__label {
  font-family: "Tanker", sans-serif;
  font-size: var(--text-tag);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 0;
}

/* Section headings */
.section__heading {
  font-family: "Tanker", sans-serif;
  font-weight: 400;
  font-size: var(--text-heading-2);
  letter-spacing: 5.12px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
  margin: 0 0 var(--spacing-4xlg) 0;
  line-height: 1.1;
}

.section__heading span {
  display: block;
}

.section__intro {
  font-size: var(--text-body);
  margin: 0 0 var(--spacing-3xlg) 0;
  max-width: 640px;
}

/* Streamer (De nol is...) */
.streamer {
  padding: 100px 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2xlg);
  overflow: hidden;
  text-align: center;
}

.streamer__label {
  font-family: "Tanker", sans-serif;
  font-weight: 400;
  font-size: var(--text-heading-2);
  letter-spacing: 5.12px;
  color: var(--primary);
  margin: 0;
  line-height: 1.1;
}

.streamer__viewport {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
}

.streamer__row {
  overflow: hidden;
  width: 100%;
}

.streamer__track {
  display: flex;
  align-items: center;
  gap: 100px;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}

.streamer__track span {
  font-family: "Tanker", sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 9vw, 140px);
  letter-spacing: 11.2px;
  text-transform: uppercase;
  color: var(--streamer);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
  line-height: 1.1;
}

.streamer__track--left {
  animation: streamer-left 40s linear infinite;
}

.streamer__track--right {
  animation: streamer-right 40s linear infinite;
}

@keyframes streamer-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes streamer-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .streamer__track--left,
  .streamer__track--right {
    animation: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Prizes grid */
.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.prize {
  border: 1px solid var(--primary);
  margin: -0.5px;
  padding: var(--spacing-3xlg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xlg);
  text-align: center;
}

.prize__icon-wrap {
  background: var(--highlight);
  border-radius: 8px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prize__icon-wrap img {
  width: 40px;
  height: 40px;
}

.prize__title {
  font-family: "Tanker", sans-serif;
  font-size: var(--text-heading-3);
  letter-spacing: 2.56px;
  color: var(--highlight);
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
  margin: 0;
  line-height: 1.1;
}

/* Section centered variant */
.section--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section--centered .section__heading,
.section--centered .section__intro {
  align-self: center;
}

/* Form */
.form-wrap {
  max-width: 1062px;
  margin: 0 auto;
  width: 100%;
}

.form-title {
  font-family: "Tanker", sans-serif;
  font-size: var(--text-heading-2);
  letter-spacing: 5.12px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
  line-height: 1.1;
  margin: 0 0 var(--spacing-4xlg) 0;
}

.form-title span {
  display: block;
}

.form-row {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.form-field {
  flex: 1 0 0;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xlg);
}

.form-field label {
  font-size: var(--text-small);
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--primary);
  color: var(--primary);
  font-family: "Satoshi", sans-serif;
  font-size: var(--text-body);
  padding: 12px 0;
  outline: none;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(247, 245, 239, 0.6);
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--highlight);
}

.form-field--answer textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-2xlg);
}

.form-checkbox input {
  width: 28px;
  height: 28px;
  accent-color: var(--highlight);
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: var(--text-body);
}

.form-checkbox a {
  text-decoration: underline;
  text-underline-position: from-font;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  border: none;
  background: none;
  border-bottom: 1.5px solid var(--highlight);
  padding: var(--spacing-sm) 0;
  font-family: "Tanker", sans-serif;
  font-size: var(--text-tag);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--primary);
  cursor: pointer;
}

.form-submit:hover {
  color: var(--highlight);
}

.form-submit__icon {
  width: 24px;
  height: 24px;
}

.form-status {
  margin-top: var(--spacing-md);
  font-size: var(--text-body);
  color: var(--highlight);
}

.form-status--success {
  color: var(--highlight);
}

.form-status--error {
  color: var(--accent);
}

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 64px;
}

.site-footer p {
  font-size: var(--text-small);
  margin: 0;
}

/* Legal content (actievoorwaarden e.d.) */
.legal {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-2xlg);
  font-size: var(--text-small);
  text-decoration: underline;
  text-underline-position: from-font;
}

.legal-back__icon {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}

.legal-updated {
  font-size: var(--text-small);
  color: rgba(247, 245, 239, 0.6);
  margin: 0 0 var(--spacing-3xlg) 0;
}

.legal h2 {
  font-family: "Tanker", sans-serif;
  font-weight: 400;
  font-size: var(--text-heading-3);
  letter-spacing: 2.56px;
  color: var(--highlight);
  margin: var(--spacing-3xlg) 0 var(--spacing-sm) 0;
  line-height: 1.2;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p,
.legal li {
  font-size: var(--text-body);
  line-height: 1.6;
}

.legal p {
  margin: 0 0 var(--spacing-sm) 0;
}

.legal ol,
.legal ul {
  margin: 0 0 var(--spacing-sm) 0;
  padding-left: 1.25em;
}

.legal li {
  margin-bottom: var(--spacing-xs);
}

.legal a {
  text-decoration: underline;
  text-underline-position: from-font;
}

.legal strong {
  color: var(--highlight);
}

/* Responsive */
@media (max-width: 1100px) {
  .prizes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .section,
  .section--half {
    padding: 64px 24px;
  }

  .site-header,
  .site-footer {
    padding: 32px 24px;
  }

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

  .countdown {
    gap: var(--spacing-lg);
  }

  .streamer {
    padding: 64px 0 120px;
  }

  .streamer__track {
    gap: 48px;
  }

  .form-row {
    flex-direction: column;
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    justify-content: center;
  }
}
