/* Kleuren, uit de artwork van de single */
:root {
  --papier: #f3ead2;
  --blauw: #1f5fd8;
  --blauw-donker: #0a38a6;
  --blauw-licht: #5b95f0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--papier);
}

.filters {
  position: absolute;
  pointer-events: none;
}

/* Blauwe waslaag met papierspikkels erdoor */
.wax {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--blauw);
  filter: url(#crayon);
}

.wax__dark,
.wax__light {
  position: absolute;
  inset: 0;
}

.wax__dark {
  background: var(--blauw-donker);
  filter: url(#blotch-dark);
}

.wax__light {
  background: var(--blauw-licht);
  filter: url(#blotch-light);
}

main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vh, 3rem);
  padding: 1.5rem;
}

h1 {
  margin: 0;
  width: min(92vw, 900px);
}

h1 svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Links in Linktree-stijl */
.links {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(88vw, 420px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  padding: 1rem 4rem;
  text-align: center;
  text-decoration: none;
  font-family: 'Fredoka', 'Arial Rounded MT Bold', sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--blauw-donker);
  transition: transform 0.15s ease;
}

/* Het geknipte papier zit in een eigen laag, zodat de tekst scherp blijft */
.links a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 1.4rem;
  background: #f6dd6e;
  filter: url(#cutout-btn);
}

.links li:nth-child(odd) a {
  transform: rotate(-1deg);
}

.links li:nth-child(even) a {
  transform: rotate(1deg);
}

.links a:hover {
  transform: rotate(0deg) scale(1.03);
}

.links a:focus-visible {
  outline: 3px solid var(--papier);
  outline-offset: 4px;
  border-radius: 1.4rem;
}

/* Klein fotootje links in de knop */
.links__thumb {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 3rem;
  height: 3rem;
  transform: translateY(-50%);
  border-radius: 50%;
  object-fit: cover;
  background: var(--papier);
}
