:root {
  --bg-0: #07090e;
  --bg-1: #0b0f17;
  --fg: #e6f1ff;
  --muted: #93a1b5;
  --accent: #7dd3fc;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #cfefff 0%, #eaf7ff 40%, #ffffff 100%);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.4;
  overflow: hidden;
  cursor: none;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1;
}

.bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  transform: translate(-50%, -50%);
  display: block;
  z-index: 0;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  z-index: 10;
  pointer-events: none;
}

.brand {
  font-weight: 800;
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(125, 211, 252, 0.25);
}

.hint {
  font-weight: 400;
  font-size: clamp(12px, 2vw, 14px);
  color: var(--muted);
  opacity: 0.9;
}

@media (max-width: 560px) {
  .site-header {
    top: 12px;
    left: 12px;
    right: 12px;
    gap: 10px;
  }
}

.site-title {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 11;
  pointer-events: none;
  color: var(--fg);
}

.site-title .line {
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto;
  font-weight: 200;
  font-size: 178px;
  letter-spacing: 0.5px;
  line-height: 1.0;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 900ms ease both;
}

.site-title .line-2 {
  font-style: italic;
}

.site-title .line-3 {
  position: relative;
  z-index: 1200;
}

.site-title .line-1 { animation-delay: 100ms; }
.site-title .line-2 { animation-delay: 350ms; }
.site-title .line-3 { animation-delay: 650ms; }

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.x-link {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 999;
  width: 100px;
  height: 100px;
  display: inline-block;
  pointer-events: auto;
  filter: drop-shadow(0 6px 18px rgba(125, 211, 252, 0.35));
  animation: gooPulse 2.8s ease-in-out 400ms both;
}

.x-icon {
  width: 100%;
  height: 100%;
  display: block;
  fill: #ffffff;
  transition: transform 400ms ease, filter 400ms ease;
}

.x-link:hover .x-icon {
  transform: scale(1.06);
  filter: drop-shadow(0 8px 26px rgba(125, 211, 252, 0.55));
}

@keyframes gooPulse {
  0% { transform: translateZ(0) scale(0.94); }
  40% { transform: translateZ(0) scale(1.06); }
  70% { transform: translateZ(0) scale(0.98); }
  100% { transform: translateZ(0) scale(1.00); }
}

/* Copy label top-left */
.copy-label {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1000;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  color: #4ed3ff;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  border-radius: 50px;
  padding: 15px 19px;
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.copy-label .copied-icon { display: none; }
.copy-label.copied .copied-icon { display: inline-flex; }
.copy-label .icon-check { width: 28px; height: 28px; fill: #10b981; filter: drop-shadow(0 2px 8px rgba(16,185,129,0.55)); }
.copy-label .copy-text { white-space: nowrap; }

@media (max-width: 560px) {
  .copy-label {
    font-size: 28px;
    top: 12px;
    left: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    gap: 8px;
  }
  .copy-label .icon-check { width: 22px; height: 22px; }
}




