:root {
  --bg-top: #0b0a1f;
  --bg-bottom: #2a1546;
  --text: #f3eefc;
  --muted: #b9add6;
  --accent: #ffb86b;
  --accent-soft: rgba(255, 184, 107, 0.16);
  --chip-border: rgba(243, 238, 252, 0.18);
}

/* Per-domain accents, set by main.js via <html data-site="..."> */
html[data-site="cloud"] { --accent: #8fd3ff; --accent-soft: rgba(143, 211, 255, 0.16); }
html[data-site="rocks"] { --accent: #ff7aa8; --accent-soft: rgba(255, 122, 168, 0.16); }
html[data-site="guru"]  { --accent: #ffcf6b; --accent-soft: rgba(255, 207, 107, 0.16); }
html[data-site="tech"]  { --accent: #7cf5c4; --accent-soft: rgba(124, 245, 196, 0.16); }

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

html, body { height: 100%; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%) fixed;
  overflow-x: hidden;
}

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px;
  gap: 20px;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 300;
  font-size: clamp(3rem, 12vw, 8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.tld {
  font-weight: 600;
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-soft);
  transition: color 0.4s ease;
}

.tagline {
  max-width: 34ch;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: var(--muted);
  line-height: 1.5;
}

.domains {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.domains a {
  padding: 8px 16px;
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.domains a:hover,
.domains a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.domains a[aria-current="page"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-soft); }
  70%  { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 16px;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}
