@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&family=Space+Mono:wght@400;500&display=swap');

:root {
  color-scheme: dark;
  background-color: #010205;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 5% 10%, rgba(255, 255, 255, 0.1), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(140, 224, 255, 0.06), transparent 50%),
    #010205;
  color: #f7f9ff;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem min(6vw, 3rem);
}

header {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  padding-bottom: 1rem;
  position: relative;
}

.domain-inline {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.6);
}

.domain-picker {
  position: relative;
}

.domain-button {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  text-transform: lowercase;
}

.domain-button:hover {
  border-color: rgba(140, 224, 255, 0.6);
}

.caret {
  font-size: 0.8rem;
}

.domain-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 60%), #0b0c16;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1.2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  padding: 0.75rem;
  min-width: 240px;
  z-index: 3;
  display: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 0.25rem 0.5rem;
}

.domain-menu.open {
  display: grid;
}

.domain-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 2;
  visibility: hidden;
  pointer-events: none;
}

.domain-overlay.visible {
  visibility: visible;
  pointer-events: auto;
}

.domain-menu a {
  display: block;
  padding: 0.25rem 0.35rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.domain-menu.open {
  display: block;
}

.domain-menu a:hover {
  background: rgba(140, 224, 255, 0.1);
}

.domain-menu a.active {
  color: #8ce0ff;
  font-weight: 600;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  letter-spacing: 0.04em;
}

.poem {
  margin-top: 1.2rem;
  font-family: 'Space Mono', 'Space Grotesk', monospace;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  white-space: pre-line;
}

footer {
  margin-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

footer a {
  color: #8ce0ff;
}
