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

body {
  min-height: 100vh;
  background: #070a14;
  color: #f4f7ff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  user-select: none;
}

#gl-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  padding: 66px 24px 0;
  text-align: center;
  pointer-events: none;
}

.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #a5f3fc;
  margin-bottom: 10px;
}

.hero-copy h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.03em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  margin-bottom: 8px;
}

.hero-copy p {
  font-size: 14.5px;
  color: rgba(235, 242, 255, 0.82);
  line-height: 1.55;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.glass-panel {
  position: absolute;
  width: min(300px, 82vw);
  padding: 24px 22px;
  border-radius: 26px;
  pointer-events: auto;
  cursor: grab;
  background: transparent;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s ease;
}

.glass-panel:active {
  cursor: grabbing;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(224, 242, 254, 0.9);
  margin-bottom: 12px;
}

.panel-top .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #67e8f9;
  box-shadow: 0 0 10px #67e8f9;
}

.glass-panel h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.glass-panel p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(241, 245, 255, 0.88);
  margin-bottom: 16px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgba(186, 230, 253, 0.92);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

/* CSS Fallback Mode */
body.css-fallback #gl-canvas {
  opacity: 0;
}

body.css-fallback {
  background:
    radial-gradient(circle at 22% 35%, rgba(244, 114, 182, 0.45), transparent 42%),
    radial-gradient(circle at 78% 60%, rgba(56, 189, 248, 0.45), transparent 44%),
    linear-gradient(135deg, #0b1024 0%, #161838 50%, #091526 100%);
}

body.css-fallback .glass-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
