/* ============================================================
   STYLE.CSS — the "clothing" for every page on the site.
   Same look as your AI Studio app: black obsidian, gold, glass.
   Change a color here once, and it changes on every page.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Outfit:wght@400;600&family=Inter:wght@300;400;500&display=swap');

:root {
  --obsidian: #020202;               /* page background */
  --gold: #D4AF37;                   /* main gold */
  --gold-light: #F9E79F;
  --gold-deep: #B7950B;
  --gold-muted: #8B7326;
  --violet: #4B0082;                 /* the purple glow */
  --green: #4A6741;                  /* alchemical green */
  --text: #f5f5f5;
  --text-soft: rgba(245, 245, 245, .68);
  --text-faint: rgba(245, 245, 245, .45);
  --glass: rgba(255, 255, 255, .025);
  --glass-line: rgba(255, 255, 255, .07);
  --gold-line: rgba(212, 175, 55, .22);

  --font-logo: "Cinzel Decorative", serif;   /* big mystical titles */
  --font-serif: "Playfair Display", serif;   /* headings */
  --font-brand: "Outfit", sans-serif;        /* small labels and buttons */
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--obsidian);
  background-image:
    radial-gradient(circle at 50% -20%, rgba(212, 175, 55, .10) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(0, 255, 65, .03) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--gold); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
a { color: var(--gold); }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }

/* ---------- the gold shimmer on special words ---------- */
.gold-text {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-font { font-family: var(--font-logo); }

/* ---------- glass panels (frosted see-through boxes) ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.glow { box-shadow: 0 0 30px rgba(212, 175, 55, .15); }

/* ---------- top menu (floating pill) ---------- */
.nav-shell { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px 12px; }
.nav {
  max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  border-radius: 999px; padding: 8px 10px 8px 8px;
  background: rgba(2, 2, 2, .55); border: 1px solid var(--gold-line);
  box-shadow: 0 0 15px rgba(212, 175, 55, .08);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; box-shadow: 0 0 22px rgba(212, 175, 55, .3); flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; stroke: var(--obsidian); fill: none; stroke-width: 2; }
.brand-name { font-family: var(--font-logo); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 7px 13px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-brand); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-soft); transition: all .3s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links a.active { background: var(--gold); color: var(--obsidian); box-shadow: 0 0 15px rgba(212, 175, 55, .3); }
.menu-btn { display: none; background: none; border: 1px solid var(--gold-line); color: var(--gold); border-radius: 999px; padding: 7px 14px; font-family: var(--font-brand); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { border-radius: 26px; flex-wrap: wrap; }
  .nav-links { display: none; width: 100%; flex-direction: column; padding: 10px 4px 4px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 11px 14px; font-size: .8rem; }
}
@media (max-width: 380px) { .brand-name { font-size: .9rem; } }

/* ---------- big welcome area ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 0 80px; overflow: hidden; }
.hero.short { min-height: 0; padding: 140px 0 50px; }
.orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.orb.violet { width: 380px; height: 380px; top: 18%; left: 10%; background: rgba(75, 0, 130, .22); filter: blur(100px); animation: breathe 10s ease-in-out infinite; }
.orb.green { width: 480px; height: 480px; bottom: 6%; right: 6%; background: rgba(74, 103, 65, .14); filter: blur(120px); animation: breathe 15s ease-in-out 2s infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.15); opacity: 1; } }
.hero-inner { position: relative; z-index: 1; max-width: 860px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px; border-radius: 999px;
  border: 1px solid var(--gold-line); background: rgba(212, 175, 55, .05); color: var(--gold);
  font-family: var(--font-brand); font-size: .68rem; text-transform: uppercase; letter-spacing: .3em;
}
.hero h1 { font-family: var(--font-logo); font-weight: 700; font-size: clamp(2.3rem, 7.5vw, 5.4rem); color: var(--text); margin: 26px 0 22px; line-height: 1.1; }
.hero h1 em { font-style: italic; }
.hero p.sub { color: var(--text-soft); font-size: clamp(1rem, 2.4vw, 1.2rem); max-width: 620px; margin: 0 auto 40px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: .45; font-family: var(--font-brand); font-size: .6rem; letter-spacing: .4em; text-transform: uppercase; animation: bob 2s ease-in-out infinite; z-index: 1; }
.scroll-hint span { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 999px;
  background: var(--gold); color: var(--obsidian); text-decoration: none; border: 1px solid var(--gold);
  font-family: var(--font-brand); font-weight: 600; font-size: 1rem; cursor: pointer;
  box-shadow: 0 0 30px rgba(212, 175, 55, .15); transition: all .3s;
}
.btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--gold); border-color: var(--gold-line); box-shadow: none; }
.btn.ghost:hover { background: rgba(212, 175, 55, .06); border-color: var(--gold); }
.btn.small { padding: 9px 18px; font-size: .85rem; }

/* ---------- sections ---------- */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-family: var(--font-logo); font-size: clamp(1.8rem, 4.5vw, 3rem); margin: 14px 0 12px; }
.section-head p { color: var(--text-soft); max-width: 620px; margin: 0 auto; }

.label { font-family: var(--font-brand); font-size: .66rem; text-transform: uppercase; letter-spacing: .25em; color: var(--gold); }

/* ---------- card grid ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card {
  border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px;
  background: var(--glass); border: 1px solid var(--glass-line); text-decoration: none; color: inherit;
  transition: border-color .4s, transform .4s, box-shadow .4s;
}
a.card:hover, .card.hover:hover { border-color: rgba(212, 175, 55, .4); transform: translateY(-3px); box-shadow: 0 0 30px rgba(212, 175, 55, .12); }
.card h3 { font-size: 1.45rem; }
.card p { margin: 0; color: var(--text-soft); }
.card .grow { flex-grow: 1; }
.card.soon { opacity: .5; }
.card .btn { align-self: flex-start; }
.symbol {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(212, 175, 55, .08); border: 1px solid var(--gold-line); color: var(--gold); font-size: 1.5rem;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--font-brand); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; background: rgba(74, 103, 65, .14); color: #9fc493; border: 1px solid rgba(74, 103, 65, .35); }

/* ---------- video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; border: 1px solid var(--gold-line); background: var(--glass); max-width: 900px; margin: 0 auto; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--text-faint); font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; }

/* ---------- daily oracle ---------- */
.oracle { max-width: 640px; margin: 0 auto; border-radius: 28px; padding: 48px 28px; text-align: center; cursor: pointer; border: 1px solid var(--gold-line); transition: border-color .4s; position: relative; overflow: hidden; }
.oracle:hover { border-color: rgba(212, 175, 55, .45); }
.oracle .big-symbol { font-size: 3rem; color: var(--gold); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.oracle h3 { font-family: var(--font-logo); font-size: 1.6rem; margin: 14px 0 8px; }
.oracle .hint { color: var(--text-faint); font-style: italic; margin: 0; }
.oracle blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--gold-light); margin: 18px 0; }
.oracle .meaning { color: var(--text-soft); margin: 0 0 18px; }
.oracle .reflect { border-top: 1px solid var(--glass-line); padding-top: 18px; color: var(--text); }
.reveal-in { animation: revealIn .7s ease both; }
@keyframes revealIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- free gift box ---------- */
.gift { border-radius: 32px; padding: 56px 24px; text-align: center; border: 1px solid var(--gold-line); background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, .12), transparent 70%), var(--glass); }
.gift h2 { font-family: var(--font-logo); font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 14px 0; }
.gift p { color: var(--text-soft); max-width: 520px; margin: 0 auto 28px; }

/* ---------- search and filter buttons ---------- */
.search {
  width: 100%; padding: 15px 22px; border-radius: 999px; margin-bottom: 16px;
  background: var(--glass); border: 1px solid var(--glass-line); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; outline: none; transition: border-color .3s;
}
.search:focus { border-color: var(--gold); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filters button {
  background: var(--glass); color: var(--text-soft); border: 1px solid var(--glass-line); border-radius: 999px;
  padding: 8px 18px; cursor: pointer; font-family: var(--font-brand); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; transition: all .3s;
}
.filters button:hover { color: var(--text); }
.filters button.on { background: var(--gold); color: var(--obsidian); border-color: var(--gold); }
.empty { color: var(--text-faint); text-align: center; padding: 40px; font-style: italic; }

/* ---------- pop-up window ---------- */
dialog {
  width: min(560px, calc(100% - 32px)); max-height: 86vh; overflow-y: auto; padding: 32px 26px;
  border-radius: 28px; border: 1px solid var(--gold-line); color: var(--text);
  background: rgba(10, 10, 10, .92); backdrop-filter: blur(20px);
}
dialog::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
dialog h3 { font-family: var(--font-logo); font-size: 1.6rem; margin-bottom: 4px; }
dialog .latin { font-family: var(--font-serif); font-style: italic; color: var(--text-faint); margin: 0 0 18px; }
dialog h4 { font-family: var(--font-brand); font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; margin: 22px 0 6px; }
dialog p { color: var(--text-soft); margin: 0; }
.close { float: right; background: none; border: 1px solid var(--gold-line); color: var(--gold); border-radius: 999px; width: 36px; height: 36px; cursor: pointer; font-size: 1.1rem; }

/* ---------- small print ---------- */
.note { color: var(--text-faint); font-size: .85rem; text-align: center; font-style: italic; margin-top: 32px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--glass-line); padding: 50px 0 40px; margin-top: 40px; text-align: center; }
footer .brand-name { font-size: 1.2rem; }
footer p { color: var(--text-faint); font-size: .85rem; margin: 10px 0 0; }
.socials { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- gentle fade-up when things scroll into view ---------- */
.fade { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.fade.seen { opacity: 1; transform: none; }

/* People who turn off motion on their device get a still page */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
