* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff6e8;
  background-image: url("img/background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.4), transparent 45%),
    rgba(30, 17, 3, 0.55);
  pointer-events: none;
}

.potato-field {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.potato {
  position: absolute;
  width: var(--size, 80px);
  height: var(--size, 80px);
  object-fit: contain;
  animation:
    float var(--float-duration, 16s) ease-in-out infinite alternate,
    spin var(--spin-duration, 10s) linear infinite;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35));
  opacity: 0.8;
}

.message {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.message h1 {
  font-family: "Luckiest Guy", cursive;
  font-size: clamp(2.8rem, 8vw, 5rem);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffe8ac;
  text-shadow: 0 0 20px rgba(255, 210, 87, 0.8), 0 10px 25px rgba(39, 22, 4, 0.8);
}

.message p {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin: 0;
  color: #fffaf2;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

@keyframes spin {
  from {
    transform: rotate(0deg) translateZ(0);
  }
  to {
    transform: rotate(360deg) translateZ(0);
  }
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(var(--drift-x, 30px), var(--drift-y, -60px), 0);
  }
}
