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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #fee2e2, #e0f2fe, #dcfce7);
  color: #111827;
  overflow: hidden;
}

/* flytende emoji-ikoner i bakgrunnen */
.background-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.background-icons span {
  position: absolute;
  font-size: 2.2rem;
  opacity: 0.35;
  animation: float 18s linear infinite;
}

.background-icons span:nth-child(1) { top: 8%;  left: 12%; animation-duration: 22s; }
.background-icons span:nth-child(2) { top: 70%; right: 15%; animation-duration: 19s; }
.background-icons span:nth-child(3) { top: 50%; left: 5%;  animation-duration: 24s; }
.background-icons span:nth-child(4) { top: 20%; right: 8%; animation-duration: 20s; }
.background-icons span:nth-child(5) { bottom: 10%; left: 40%; animation-duration: 26s; }
.background-icons span:nth-child(6) { bottom: 25%; right: 30%; animation-duration: 21s; }

@keyframes float {
  0%   { transform: translateY(0px) translateX(0px); }
  50%  { transform: translateY(-20px) translateX(10px); }
  100% { transform: translateY(0px) translateX(0px); }
}

/* selve appen */

.app {
  position: relative;
  z-index: 1; /* over ikonene */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
}

.app-header h1 {
  font-size: 2.4rem;
  letter-spacing: 0.05em;
}

.tagline {
  margin-top: 6px;
  font-size: 0.98rem;
  color: #4b5563;
}

.hero {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* stor knapp midt på skjermen */

.goodie-btn {
  border: none;
  border-radius: 999px;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  background: radial-gradient(circle at top left, #f97316, #ec4899);
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(236, 72, 153, 0.35);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease;
}

.goodie-btn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.45);
}

.goodie-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

.suggestion {
  max-width: 420px;
  font-size: 1rem;
  color: #111827;
}
