* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #071427;
  color: #ffffff;
  overflow-x: hidden;
  position: relative;
}

/* Baggrund */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at top, rgba(32, 60, 112, 0.4), transparent 40%),
    linear-gradient(to bottom, #08111f 0%, #0b1d38 45%, #132b52 100%);
}

/* Måne */
.moon {
  position: absolute;
  top: 60px;
  right: 80px;
  width: 100px;
  height: 100px;
  background: #f7f4d7;
  border-radius: 50%;
  box-shadow:
    0 0 20px rgba(255,255,255,0.9),
    0 0 50px rgba(255,255,255,0.35),
    0 0 80px rgba(255,255,255,0.15);
}

.moon::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 20px;
  width: 90px;
  height: 90px;
  background: rgba(8, 17, 31, 0.2);
  border-radius: 50%;
}

/* Stjerner */
.stars {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
}

.stars-1 {
  background-image:
    radial-gradient(circle at 20px 40px, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle at 120px 80px, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 240px 150px, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle at 350px 60px, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle at 460px 180px, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 600px 100px, #fff 0 2px, transparent 2.5px);
  background-size: 700px 250px;
  animation: twinkleA 2.4s infinite;
  opacity: 0.95;
}

.stars-2 {
  background-image:
    radial-gradient(circle at 60px 120px, #dff6ff 0 2px, transparent 2.5px),
    radial-gradient(circle at 180px 30px, #ffffff 0 1.5px, transparent 2px),
    radial-gradient(circle at 300px 140px, #dff6ff 0 2px, transparent 2.5px),
    radial-gradient(circle at 500px 50px, #ffffff 0 2px, transparent 2.5px),
    radial-gradient(circle at 650px 170px, #dff6ff 0 1.5px, transparent 2px);
  background-size: 760px 290px;
  animation: twinkleB 3.1s infinite;
  opacity: 0.6;
}

.stars-3 {
  background-image:
    radial-gradient(circle at 40px 70px, #fff 0 3px, transparent 3.5px),
    radial-gradient(circle at 220px 190px, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle at 390px 110px, #fff 0 3px, transparent 3.5px),
    radial-gradient(circle at 580px 210px, #fff 0 2px, transparent 2.5px);
  background-size: 800px 320px;
  animation: twinkleC 4s infinite;
  opacity: 0.35;
}

@keyframes twinkleA {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.35; }
}

@keyframes twinkleB {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 0.15; }
}

@keyframes twinkleC {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.08; }
}

/* Hele indholdsscenen */
.scene {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 60px 20px 80px;
}

/* Tekstindhold */
.content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.tiny {
  margin: 0 0 16px;
  font-size: 15px;
  color: #dff6ff;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255,255,255,0.35);
  animation: softBlink 2s infinite;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.1;
  color: #fff2a8;
  text-shadow:
    0 0 6px rgba(255,255,255,0.5),
    0 0 14px rgba(255, 242, 168, 0.45),
    0 0 26px rgba(255, 242, 168, 0.18);
}

.subtitle {
  margin: 18px 0 30px;
  font-size: 22px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(126, 200, 255, 0.35);
}

.intro {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: 20px;
  line-height: 1.9;
  color: #f7fbff;
  text-shadow:
    0 0 8px rgba(0,0,0,0.35),
    0 1px 2px rgba(0,0,0,0.5);
}

.sparkle-line {
  margin: 28px 0;
  font-size: 28px;
  letter-spacing: 8px;
  animation: softBlink 1.8s infinite;
}

.topics {
  max-width: 760px;
  margin: 10px auto 30px;
}

.topics p {
  margin: 12px 0;
  font-size: 22px;
  color: #ffeef9;
  text-shadow: 0 0 10px rgba(255,255,255,0.15);
}

.questions {
  margin-top: 30px;
}

.questions h2 {
  margin-bottom: 18px;
  font-size: 34px;
  color: #9fdcff;
  text-shadow: 0 0 12px rgba(159, 220, 255, 0.3);
}

.questions p {
  margin: 12px 0;
  font-size: 21px;
  line-height: 1.8;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.footer {
  margin-top: 40px;
  font-size: 26px;
  font-weight: bold;
  color: #fff2a8;
  text-shadow:
    0 0 8px rgba(255,255,255,0.4),
    0 0 16px rgba(255,242,168,0.25);
  animation: softBlink 1.4s infinite;
}

/* Flyvende pynt */
.floating {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-back {
  z-index: 1;
}

.floating-front {
  z-index: 3;
}

.float {
  position: absolute;
  opacity: 0.95;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.35));
}

.f1 {
  top: 8%;
  left: 8%;
  font-size: 24px;
  animation: drift1 8s ease-in-out infinite;
}

.f2 {
  top: 16%;
  right: 10%;
  font-size: 22px;
  animation: drift2 10s ease-in-out infinite;
}

.f3 {
  top: 50%;
  left: 4%;
  font-size: 26px;
  animation: drift3 9s ease-in-out infinite;
}

.f4 {
  top: 70%;
  right: 5%;
  font-size: 28px;
  animation: drift4 11s ease-in-out infinite;
}

.f5 {
  top: 34%;
  right: 3%;
  font-size: 24px;
  animation: drift5 12s ease-in-out infinite;
}

.f6 {
  top: 78%;
  left: 10%;
  font-size: 24px;
  animation: drift2 13s ease-in-out infinite;
}

.f7 {
  top: 86%;
  left: 74%;
  font-size: 22px;
  animation: drift1 7s ease-in-out infinite;
}

.f8 {
  top: 24%;
  left: 22%;
  font-size: 20px;
  animation: drift3 10s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  50% { transform: translateY(-18px) translateX(10px) rotate(8deg); }
}

@keyframes drift2 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(14px) translateX(-12px); }
}

@keyframes drift3 {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-10px) translateX(15px) scale(1.1); }
}

@keyframes drift4 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-10deg); }
}

@keyframes drift5 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(18px) translateX(-8px); }
}

@keyframes softBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

@media (max-width: 760px) {
  .scene {
    padding: 40px 18px 60px;
  }

  .moon {
    width: 80px;
    height: 80px;
    top: 30px;
    right: 20px;
  }

  .moon::after {
    width: 70px;
    height: 70px;
  }

  .tiny {
    font-size: 13px;
  }

  .subtitle {
    font-size: 18px;
  }

  .intro,
  .topics p,
  .questions p {
    font-size: 18px;
    line-height: 1.7;
  }

  .questions h2 {
    font-size: 28px;
  }

  .footer {
    font-size: 22px;
  }

  .sparkle-line {
    font-size: 22px;
    letter-spacing: 4px;
  }
}