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

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Helvetica Neue", sans-serif;
  color: #f3f0ff;
  background: radial-gradient(120% 120% at 20% 0%, #1b1440 0%, #0d0a1f 55%, #070510 100%);
  overflow-x: hidden;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: min(420px, 100%);
  text-align: center;
  padding: 44px 32px 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.emoji {
  font-size: 52px;
  animation: float 3.2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

h1 {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.sub {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: #b9b3d9;
}

#secret {
  margin-top: 26px;
  font-size: 16px;
  font-weight: 600;
  color: #1d1533;
  background: linear-gradient(135deg, #ffd3e0 0%, #c8b6ff 100%);
  border: none;
  border-radius: 999px;
  padding: 13px 34px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 24px rgba(200, 182, 255, 0.35);
}

#secret:hover { transform: translateY(-2px) scale(1.03); }
#secret:active { transform: scale(0.96); }

.msg {
  min-height: 26px;
  margin-top: 20px;
  font-size: 15px;
  color: #ffd9e8;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.msg.show { opacity: 1; }

.foot {
  margin-top: 34px;
  font-size: 12px;
  color: #6f6a8f;
}
