* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold:        #C9A84C;
  --gold-light:  #F0D080;
  --gold-bright: #FFE680;
  --silver:      #C8C8D0;
  --silver-hi:   #F0F0F8;
  --silver-mid:  #9090A0;
  --silver-dark: #383840;
  --black:       #08080C;
}

body {
  background: var(--black);
  font-family: 'Cinzel', serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: default;
}

/* ── POPUP ── */
#popup {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}

#shield {
  position: relative;
  width: clamp(260px, 38vw, 440px);
  aspect-ratio: 1 / 1.22;
  background: linear-gradient(160deg,
    var(--silver-hi) 0%,
    var(--silver) 18%,
    var(--silver-mid) 42%,
    var(--silver) 58%,
    #B0B0BC 78%,
    var(--silver-dark) 100%
  );
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 62%,
    50% 100%,
    0% 62%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 30px rgba(180,180,200,0.3));
}

#popup:hover #shield {
  transform: scale(1.03);
  filter: drop-shadow(0 0 55px rgba(200,200,220,0.55));
}

#shield::before {
  content: '';
  position: absolute;
  inset: 6px;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 62%,
    50% 100%,
    0% 62%
  );
  border: 2px solid rgba(255,255,255,0.25);
  pointer-events: none;
}

#shield::after {
  content: '';
  position: absolute;
  inset: 12px;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 62%,
    50% 100%,
    0% 62%
  );
  border: 1px solid rgba(80,80,90,0.4);
  pointer-events: none;
}

#shield-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 0 20px 44px;
}

#engraving-wrap {
  width: 100%;
  height: 38%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

#engraving {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  color: var(--gold);
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.45;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.8),
    0 0 10px rgba(201,168,76,0.55),
    0 0 24px rgba(201,168,76,0.2);
  filter: drop-shadow(0 -1px 0 rgba(255,255,255,0.15));
}

#skull {
  width: 72%;
  flex: 1;
  object-fit: contain;
  filter:
    grayscale(1)
    contrast(1.1)
    drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  pointer-events: none;
  user-select: none;
}

/* ── MAIN ── */
#main {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1;
}

#bg {
  position: absolute;
  inset: 0;
  background: url('terrorbgrnd.png') center/cover no-repeat;
  transform: scale(1.06);
  animation: slowzoom 40s ease-in-out infinite alternate;
}

@keyframes slowzoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.13); }
}

#overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(8,8,12,0.15) 0%, rgba(8,8,12,0.72) 100%),
    linear-gradient(180deg, rgba(8,8,12,0.4) 0%, rgba(8,8,12,0.1) 40%, rgba(8,8,12,0.6) 100%);
}

/* ── STATEMENT TEKST ── */
#statement {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vh, 28px);
  padding: 0 8vw;
  z-index: 2;
}

#statement > span {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg,
    var(--gold-bright) 0%,
    var(--gold-light)  35%,
    var(--gold)        65%,
    #8B6914            100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(201,168,76,0.55)) drop-shadow(0 2px 4px rgba(0,0,0,0.9));
  opacity: 0;
  white-space: pre-wrap;
}

#line1 {
  font-size: clamp(1.4rem, 3.8vw, 3rem);
  letter-spacing: 0.18em;
  animation: goldfadein 3s ease-out 0.8s forwards;
}

#line2 {
  font-size: clamp(0.8rem, 1.8vw, 1.35rem);
  letter-spacing: 0.22em;
  animation: goldfadein 3s ease-out 3.5s forwards;
  line-height: 1.7;
  max-width: 700px;
}

#line3 {
  font-size: clamp(0.95rem, 2.2vw, 1.7rem);
  letter-spacing: 0.2em;
  animation: goldfadein 3s ease-out 6.5s forwards;
}

@keyframes goldfadein {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── VITESSE EASTER EGG ── */
#vitesse-egg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 4s ease-in;
  pointer-events: none;
  margin-top: 12px;
}

#vitesse-egg.zichtbaar {
  opacity: 1;
  pointer-events: auto;
}

#vitesse-egg a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

#vitesse-egg img {
  width: clamp(140px, 18vw, 220px);
  filter:
    drop-shadow(0 0 20px rgba(255,215,0,0.7))
    drop-shadow(0 0 40px rgba(255,215,0,0.35));
}

#vitesse-egg span {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.25em;
  color: var(--gold-bright);
  text-shadow:
    0 0 12px rgba(255,230,128,0.8),
    0 0 30px rgba(201,168,76,0.5);
}

/* ── FOOTER ── */
#footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: #fff;
  padding: 6px 0 2px 0;
  opacity: 0.8;
  z-index: 10;
  font-family: sans-serif;
}

#footer a { color: #fff; text-decoration: none; }
#footer a:hover { text-decoration: underline; }
