:root {
  --bg-1: #0b0620;
  --bg-2: #1a0b3a;
  --bg-3: #2a1258;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f0ff;
  --muted: #b8afd8;
  --gold: #ffd57a;
  --violet: #9c7fff;
  --pink: #ff9ec7;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-lg: 24px;
  --font-serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
  min-height: 100%;
  background: radial-gradient(ellipse at top, var(--bg-3) 0%, var(--bg-2) 40%, var(--bg-1) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,213,122,0.7), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 15% 60%, rgba(156,127,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 90% 50%, rgba(255,255,255,0.5), transparent);
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

header.site {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
header.site .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold), #d99a2b 70%, #7a4d0f);
  box-shadow: 0 0 20px rgba(255, 213, 122, 0.4);
}
.brand strong { color: var(--gold); font-weight: 600; }

nav.top {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
nav.top a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
nav.top a:hover, nav.top a.active { color: var(--gold); }

@media (max-width: 640px) {
  nav.top { display: none; }
}

/* Hero */
.hero {
  padding: 60px 0 40px;
  text-align: center;
}
.hero .eyebrow {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fff 0%, #d5c5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto;
}

/* Signs grid */
.signs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 32px 0 60px;
}
@media (max-width: 900px) {
  .signs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .signs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.sign-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 16px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sign-card:hover {
  transform: translateY(-4px);
  background: var(--surface-hover);
  border-color: rgba(255, 213, 122, 0.4);
}
.sign-card .glyph {
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(255, 213, 122, 0.5);
}
.sign-card .name {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 4px;
}
.sign-card .range {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Sign page */
.sign-hero {
  text-align: center;
  padding: 48px 0 28px;
}
.sign-hero .glyph {
  font-size: 96px;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 40px rgba(255, 213, 122, 0.6);
  margin-bottom: 12px;
  display: inline-block;
}
.sign-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 500;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #fff 0%, #d5c5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sign-hero .range {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 32px;
  flex-wrap: wrap;
}
.tabs a {
  padding: 10px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.tabs a.active {
  background: linear-gradient(135deg, var(--violet), var(--pink));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(156, 127, 255, 0.35);
}
.tabs a:not(.active):hover { background: var(--surface-hover); color: var(--text); }

.reading {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 24px;
}
.reading .date {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.reading .lead {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 400;
}
.reading p {
  color: #ded6f5;
  margin-bottom: 14px;
  font-size: 16.5px;
}
.reading p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .reading { padding: 24px 20px; }
  .reading .lead { font-size: 19px; }
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
@media (max-width: 720px) {
  .details-grid { grid-template-columns: repeat(2, 1fr); }
}
.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.detail-card .label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.detail-card .value {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 22px;
  line-height: 1.2;
}

.aspects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 720px) {
  .aspects { grid-template-columns: 1fr; }
}
.aspect {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.aspect h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aspect p { color: #d0c7ee; font-size: 15px; line-height: 1.55; }

.other-signs {
  padding: 32px 0 60px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.other-signs h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--muted);
  font-weight: 400;
}
.mini-signs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.mini-signs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}
.mini-signs a:hover { color: var(--gold); border-color: rgba(255,213,122,0.4); }
.mini-signs .g { color: var(--gold); font-size: 16px; }

/* Footer */
footer.site {
  padding: 40px 0 30px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
footer.site .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
footer.site nav { display: flex; gap: 18px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--gold); }

/* Static page (about/privacy/terms/contact) */
.static-page {
  padding: 40px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}
.static-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text);
}
.static-page h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 28px 0 12px;
  color: var(--gold);
  font-weight: 500;
}
.static-page p { color: #d0c7ee; margin-bottom: 14px; }
.static-page a { color: var(--violet); }
