
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% 45%, #071a43 0%, #03091e 48%, #01030b 100%);
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
}

#universe {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.scene {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px 16px;
  text-align: center;
  pointer-events: none;
}

#wish {
  color: #e5f5ff;
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 600;
  text-shadow:
    0 0 8px #58baff,
    0 0 22px #276bff;
}

#photo-area {
  width: min(78vw, 430px);
  height: min(48vh, 380px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
}

#memory {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(133, 198, 255, 0.45);
  box-shadow:
    0 0 15px rgba(54, 144, 255, 0.5),
    0 0 40px rgba(76, 75, 255, 0.25);
  opacity: 1;
  transition: opacity 0.8s ease;
}

#hint {
  color: #b9d9ff;
  font-size: clamp(13px, 2.5vw, 17px);
  text-shadow: 0 0 12px #408bff;
}

#wish {
  display: none;
}

#hint {
  display: none;
}
#fixed-hint {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  margin: 0;
  text-align: center;

  color: #8be9ff;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;

  text-shadow:
    0 0 6px #00cfff,
    0 0 14px #7b61ff;

  z-index: 20;
  pointer-events: none;
  animation: hintGlow 2s ease-in-out infinite alternate;
}

@keyframes hintGlow {
  from {
    opacity: 0.65;
  }
  to {
    opacity: 1;
  }
}