:root {
  --bg: #12071f;
  --surface: #1e0f33;
  --surface-alt: #2a1745;
  --primary: #b08cff;
  --primary-text: #1a0b2e;
  --accent: #ffd37a;
  --text-primary: #f5f0ff;
  --text-secondary: #b9a9d9;
  --border: #3a2358;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
}

body {
  position: relative;
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, #241040 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 85% 100%, #1a0e2e 0%, transparent 55%),
    var(--bg);
}

/* ---------- ambient decoration ---------- */

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

.glow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.4;
}

.blob-amethyst {
  width: 46vw;
  height: 46vw;
  top: -12vw;
  left: -10vw;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.blob-gold {
  width: 34vw;
  height: 34vw;
  bottom: -14vw;
  right: -8vw;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.22;
}

/* ---------- brand ---------- */

.brand {
  position: fixed;
  top: clamp(16px, 3vh, 32px);
  left: clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 211, 122, 0.25);
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

/* ---------- footer ---------- */

.site-footer {
  position: fixed;
  bottom: clamp(12px, 2.5vh, 24px);
  left: 0;
  right: 0;
  z-index: 5;
  text-align: center;
}

.site-footer a {
  font-size: 11.5px;
  color: var(--text-secondary);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.site-footer a:hover {
  opacity: 1;
  color: var(--accent);
}

@media (max-height: 480px) {
  .site-footer { bottom: 6px; }
}

/* ---------- hero layout ---------- */

.hero {
  position: relative;
  z-index: 2;
  height: 100dvh;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 72px);
}

.hero-copy {
  flex: 1 1 480px;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.06;
  color: var(--text-primary);
}

.subhead {
  margin: 0 0 clamp(20px, 3.5vh, 32px);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 46ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.3;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover { transform: translateY(-1px); opacity: 0.94; }
.btn:active { transform: translateY(0); }

.btn-icon { width: 20px; height: 20px; flex: none; }

.btn b { font-weight: 700; }

.btn-primary {
  background: var(--primary);
  color: var(--primary-text);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.fine-print {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* ---------- hero visual ---------- */

.hero-visual {
  position: relative;
  flex: 1 1 380px;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-ring {
  position: absolute;
  border-radius: 50%;
}

.ring-outer {
  width: 78%;
  height: 78%;
  background: radial-gradient(circle, rgba(176, 140, 255, 0.22) 0%, rgba(176, 140, 255, 0.06) 55%, transparent 75%);
  animation: pulse 5s ease-in-out infinite;
}

.ring-inner {
  width: 46%;
  height: 46%;
  background: radial-gradient(circle, rgba(255, 211, 122, 0.28) 0%, rgba(255, 211, 122, 0.08) 60%, transparent 78%);
  animation: pulse 5s ease-in-out infinite 0.4s;
}

.sigil-ring {
  position: absolute;
  width: 62%;
  height: 62%;
  border: 1px solid rgba(255, 211, 122, 0.18);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}

.sigil-ring::before,
.sigil-ring::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

.sigil-ring::before { top: -2.5px; left: calc(50% - 2.5px); }
.sigil-ring::after { bottom: -2.5px; left: calc(50% - 2.5px); }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-star {
  width: 30%;
  height: 30%;
  filter: drop-shadow(0 0 14px rgba(255, 211, 122, 0.55));
}

.hero-star path {
  fill: var(--accent);
}

/* floating info chips */

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(30, 15, 51, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: float 6s ease-in-out infinite;
}

.chip-tarot {
  top: 6%;
  left: -6%;
  animation-delay: 0.3s;
}

.chip-moon {
  bottom: 8%;
  right: -8%;
  animation-delay: 1.4s;
}

.chip-icon { font-size: 20px; line-height: 1; }

.chip-label {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.chip-value {
  margin: 1px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.moon-disc {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border);
  overflow: hidden;
  flex: none;
}

.moon-lit {
  position: absolute;
  top: 0;
  left: 22%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 90px;
    gap: clamp(20px, 3vh, 40px);
  }

  .hero-copy { max-width: 520px; }

  .subhead { margin-left: auto; margin-right: auto; }

  .cta-row { justify-content: center; }

  .hero-visual {
    max-width: 220px;
    order: -1;
  }

  .chip { display: none; }
}

@media (max-height: 680px) {
  .hero-visual { max-width: 180px; }
  h1 { font-size: clamp(28px, 6vw, 44px); }
  .subhead { display: none; }
}

/* Short viewports (phones in landscape): row layout regardless of width,
   so the fixed no-scroll height never has to stack a tall column of
   copy + visual on top of each other. */
@media (max-height: 480px) {
  .hero {
    flex-direction: row;
    padding-top: 0;
    text-align: left;
  }

  .hero-copy { text-align: left; }

  .subhead { display: block; margin: 0 0 10px; font-size: 12.5px; max-width: 42ch; }

  .cta-row { justify-content: flex-start; margin-bottom: 8px; }

  .hero-visual {
    max-width: 130px;
    order: 0;
  }

  .brand { top: 10px; }

  h1 { font-size: clamp(22px, 4.4vw, 32px); margin-bottom: 10px; }

  .eyebrow { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .glow-ring, .sigil-ring, .chip { animation: none; }
}
