:root {
  --bg-deep: #06080a;
  --glow-moss: rgba(18, 62, 38, 0.5);
  --glow-geode: rgba(105, 68, 204, 0.4);
  --glow-frost: rgba(198, 215, 230, 0.7);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-deep);
  cursor: none;
}

canvas#gl {
  display: block;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 18px 28px;
}

.hint-card {
  max-width: 520px;
  padding: 12px 16px;
  border: 1px solid rgba(198, 215, 230, 0.18);
  border-radius: 999px;
  background: rgba(4, 8, 10, 0.58);
  color: rgba(211, 226, 236, 0.82);
  font-family: system-ui, -apple-system, sans-serif;
  text-align: center;
  opacity: 0;
  animation: fadeIn 3s ease-in-out 1s forwards;
}

.hint-card h1 {
  margin: 0 0 3px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hint-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  #overlay { padding-bottom: 16px; }
  .hint-card { border-radius: 16px; }
  .hint-card h1, .hint-card p { font-size: 11px; }
}
