:root {
  --accent: #2ee013;
  --accent-strong: #7bff6c;
  --panel-bg: rgba(6, 6, 6, 0.85);
  --panel-border: rgba(46, 224, 19, 0.55);
  --tip-bg: rgba(12, 8, 20, 0.7);
  --tip-border: rgba(181, 132, 255, 0.75);
  --tip-text: #e8d8ff;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #060606;
  background-image: radial-gradient(ellipse at top left, rgba(57, 255, 20, 0.07), transparent 55%);
  font-family: 'Share Tech Mono', monospace;
  color: var(--accent);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

.nav-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  color: var(--accent);
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  box-shadow: 0 0 10px rgba(46, 224, 19, 0.18);
}

.nav-link:hover {
  color: var(--accent-strong);
  border-color: rgba(123, 255, 108, 0.8);
  box-shadow: 0 0 14px rgba(46, 224, 19, 0.35);
}

.nav-link--scramble {
  top: 4.4rem;
}

.nav-link--webtiles {
  top: 7.7rem;
}

.question-link {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 30;
  color: var(--accent);
  text-decoration: none;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  box-shadow: 0 0 10px rgba(46, 224, 19, 0.18);
}

.question-link:hover {
  color: var(--accent-strong);
  border-color: rgba(123, 255, 108, 0.8);
  box-shadow: 0 0 14px rgba(46, 224, 19, 0.35);
}

.sign-panel {
  position: fixed;
  top: 3.2rem;
  left: 1rem;
  z-index: 19;
  width: min(92vw, 420px);
  padding: 0.8rem;
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid rgba(46, 224, 19, 0.45);
  box-shadow: 0 0 18px rgba(46, 224, 19, 0.2);
  display: none;
}

.sign-panel.active {
  display: block;
}

.sign-panel--scramble {
  top: 6.8rem;
  left: 1rem;
}

.sign-panel iframe {
  width: 100%;
  height: 0;
  border: 0;
  background: #000;
  display: block;
}

.footer-text {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 0.75rem 0.25rem;
  color: #ffffff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
  pointer-events: none;
}

.update-dot {
  position: fixed;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.65);
  cursor: help;
  z-index: 40;
}

.update-dot::after {
  content: "Last updated: 2026-07-24";
  position: absolute;
  right: 0.9rem;
  bottom: 0.2rem;
  min-width: max-content;
  padding: 0.25rem 0.4rem;
  background: rgba(10, 10, 10, 0.9);
  color: #e8d8ff;
  border: 1px solid rgba(181, 132, 255, 0.6);
  font-size: 0.6rem;
  font-family: 'Share Tech Mono', monospace;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.update-dot:hover::after,
.update-dot:focus::after {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.question-frame {
  width: min(88vw, 360px);
  min-height: 88px;
  margin-top: 0.75rem;
  border: 0;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.question-inline {
  margin: 0;
  color: rgba(232, 216, 255, 0.01);
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color 180ms ease;
}

.question-frame:hover .question-inline,
.question-frame:focus-within .question-inline {
  color: rgba(232, 216, 255, 0.01);
}

.heart {
  width: 60px;
  height: 60px;
  margin-top: 1rem;
  display: block;
  transform-origin: center center;
  animation: heartbeat 0.9s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

.heart path {
  fill: #ffffff;
  stroke: #ffffff;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

@keyframes heartbeat {
  0%,
  100% { transform: scale(1); }
  25% { transform: scale(1.08); }
  50% { transform: scale(0.96); }
  75% { transform: scale(1.06); }
}

.logo {
  margin: 0;
  font-family: 'Pacifico', cursive;
  font-weight: 400;
  font-size: 3.1rem;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--accent);
  text-shadow:
    0 0 4px var(--accent),
    0 0 7px var(--accent),
    0 0 15px rgba(46, 224, 19, 0.65),
    0 0 28px rgba(27, 107, 12, 0.45);
  animation: flicker 4.5s infinite;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 22%, 24%, 55% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .logo,
  .heart {
    animation: none;
  }
}

@media (max-width: 480px) {
  .logo { font-size: 2.1rem; }
  .question-tip {
    max-width: min(84vw, 260px);
    font-size: 0.68rem;
  }
}
