:root {
  --bg: #070a14;
  --bg2: #0c1122;
  --panel: rgba(255,255,255,.07);
  --panel-strong: rgba(255,255,255,.1);
  --line: rgba(255,255,255,.12);
  --text: #f6f1e8;
  --muted: rgba(246,241,232,.78);
  --gold: #d8b46a;
  --gold2: #f0d89d;
  --shadow: 0 24px 60px rgba(0,0,0,.34);
  --radius: 26px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(120,92,168,.20), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(216,180,106,.12), transparent 22%),
    linear-gradient(180deg, #05070f 0%, var(--bg) 48%, #090e1b 100%);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.narrow { max-width: 920px; }
.center { text-align: center; }
.section { padding: 92px 0; position: relative; }
.section-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .8rem;
  color: rgba(246,241,232,.72);
}

h1, h2, .brand-text, .panel-top { font-family: 'Cinzel', serif; }
h1, h2 { margin: 0; text-transform: uppercase; letter-spacing: .05em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.12; }
p { color: var(--muted); line-height: 1.9; font-size: 1.02rem; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 90; background: rgba(255,255,255,.06); }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold2)); box-shadow: 0 0 18px rgba(216,180,106,.5); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  background: rgba(6,8,16,.56);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: transform .25s ease, background .25s ease;
}
.site-header.compact { background: rgba(6,8,16,.76); }
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(216,180,106,.18), rgba(255,255,255,.08));
  border: 1px solid rgba(216,180,106,.25);
  color: var(--gold);
  box-shadow: 0 0 24px rgba(216,180,106,.18);
}
.brand-text { letter-spacing: .22em; color: var(--gold); text-transform: uppercase; font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .94rem; color: rgba(246,241,232,.86); transition: color .2s ease; }
.nav-links a:hover { color: var(--gold); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 0; width: 42px; height: 42px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; width: 24px; margin: 5px auto; background: var(--text); border-radius: 99px; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 92px;
  isolation: isolate;
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 84px 0 40px; }
.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; color: rgba(246,241,232,.72);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.8vw, 5.9rem);
  line-height: 1.03;
  text-shadow: 0 2px 20px rgba(0,0,0,.34);
}
.hero h1 span { display: block; color: var(--gold); margin-top: 14px; }
.hero-lead {
  max-width: 820px; margin: 24px auto 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.85;
  color: rgba(246,241,232,.92);
}
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #1a1408; background: linear-gradient(135deg, var(--gold), #f4dfaa);
  box-shadow: 0 18px 38px rgba(216,180,106,.26);
}
.btn-primary:hover { box-shadow: 0 22px 48px rgba(216,180,106,.34); }
.btn-ghost {
  color: var(--text); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
}
.hero-pills {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.hero-pills li {
  padding: 10px 14px; border-radius: 999px; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: rgba(246,241,232,.84);
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,7,15,.84), rgba(5,7,15,.28) 50%, rgba(5,7,15,.76)),
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.08), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(216,180,106,.10), transparent 25%);
}
.zodiac-wheel {
  position: absolute;
  top: 8%; left: 50%; transform: translateX(-50%);
  width: min(64vw, 620px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(216,180,106,.38);
  background:
    radial-gradient(circle, rgba(255,255,255,.03) 0 40%, rgba(255,255,255,.02) 41% 100%),
    conic-gradient(from 0deg, rgba(216,180,106,.05), rgba(255,255,255,.02), rgba(216,180,106,.05));
  box-shadow: 0 0 0 16px rgba(255,255,255,.01), 0 0 80px rgba(216,180,106,.10);
  opacity: .92;
  animation: spin 40s linear infinite;
}
.zodiac-wheel::before, .zodiac-wheel::after {
  content: ""; position: absolute; inset: 10%; border-radius: 50%; border: 1px solid rgba(216,180,106,.18);
}
.zodiac-wheel::after { inset: 24%; border-color: rgba(255,255,255,.08); }
.road {
  position: absolute; bottom: -10%; width: 36vw; height: 84vh;
  clip-path: polygon(50% 0, 58% 0, 100% 100%, 0 100%);
  opacity: .95;
}
.road-left {
  left: 12%; transform: skewX(-11deg);
  background: linear-gradient(180deg, rgba(25,30,54,.55), rgba(8,10,18,.98) 80%);
  border-left: 1px solid rgba(255,255,255,.06);
  border-right: 1px solid rgba(255,255,255,.05);
}
.road-right {
  right: 12%; transform: skewX(11deg);
  background: linear-gradient(180deg, rgba(116,80,24,.18), rgba(22,18,14,.82) 70%, rgba(216,180,106,.08));
  border-left: 1px solid rgba(216,180,106,.12);
  border-right: 1px solid rgba(255,255,255,.05);
}
.road-left::before, .road-right::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.35));
}
.sun {
  position: absolute; right: 16%; top: 31%; width: 140px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff9ea 0%, #f4d991 32%, rgba(216,180,106,.5) 58%, transparent 70%);
  filter: blur(.2px);
  box-shadow: 0 0 90px rgba(240,216,157,.45), 0 0 160px rgba(216,180,106,.18);
  animation: pulse 6s ease-in-out infinite;
}
.glow { position: absolute; border-radius: 50%; filter: blur(24px); }
.glow-one {
  left: 18%; top: 22%; width: 280px; height: 280px;
  background: rgba(112, 92, 168, .20);
}
.glow-two {
  right: 14%; top: 24%; width: 240px; height: 240px;
  background: rgba(216,180,106,.16);
}

.glass, .card, .split-panel, .mini-card, .register-box {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.card, .mini-card, .split-panel { border-radius: var(--radius); }
.card { padding: 24px; min-height: 190px; }
.card-icon { font-size: 1.6rem; margin-bottom: 14px; }
.card h3 { margin: 0 0 10px; font-size: 1.16rem; line-height: 1.4; }
.card p { margin: 0; font-size: .98rem; color: rgba(246,241,232,.8); }

.alt-section { position: relative; }
.split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch;
}
.split-copy { padding-right: 18px; }
.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li {
  padding: 16px 18px; border-radius: 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
}
.split-panel { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; }
.panel-top { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--gold); line-height: 1.2; text-transform: uppercase; }
.panel-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.panel-badges span {
  padding: 10px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}

.author-grid { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: center; }
.author-photo { border-radius: 30px; overflow: hidden; min-height: 440px; }
.photo-placeholder {
  min-height: 440px; display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(216,180,106,.18), transparent 30%),
    linear-gradient(180deg, rgba(18,22,40,.94), rgba(7,10,20,.96));
}
.photo-circle {
  width: 220px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; line-height: 1.6;
  border: 1px dashed rgba(216,180,106,.35); color: rgba(246,241,232,.86);
  background: rgba(255,255,255,.04);
  box-shadow: 0 0 0 18px rgba(255,255,255,.02);
}
.author-ribbon {
  margin: 10px 0 18px;
  text-transform: uppercase; letter-spacing: .14em; font-size: .84rem;
  color: rgba(216,180,106,.94);
}

.mini-card { border-radius: 22px; padding: 22px; display: grid; gap: 8px; min-height: 120px; }
.mini-card strong { font-size: 1.08rem; color: #fff; }
.mini-card span { color: rgba(246,241,232,.76); line-height: 1.6; }

.register-box {
  border-radius: 30px;
  padding: 34px;
  align-items: center;
}
.register-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.register-form input {
  width: 100%; min-height: 54px; padding: 0 16px;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06); color: var(--text); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.register-form input::placeholder { color: rgba(246,241,232,.56); }
.register-form input:focus {
  border-color: rgba(216,180,106,.55); box-shadow: 0 0 0 4px rgba(216,180,106,.12);
}
.register-form .btn { grid-column: 1 / -1; border: 0; cursor: pointer; }

.footer {
  padding: 44px 0 58px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.footer-grid {
  display: grid; grid-template-columns: 1.15fr .8fr .9fr; gap: 20px; align-items: start;
}
.footer-brand { margin-bottom: 10px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(246,241,232,.84); }
.footer-links a:hover { color: var(--gold); }
.footer-contacts p, .footer p { margin: 8px 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@keyframes spin { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .95; } 50% { transform: scale(1.06); opacity: 1; } }

@media (max-width: 1100px) {
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .author-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .split-copy { padding-right: 0; }
  .register-box { gap: 18px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { position: relative; }
  .nav-links {
    position: absolute; right: 0; top: 100%;
    display: grid; gap: 0; width: min(92vw, 320px);
    padding: 12px; border-radius: 20px;
    background: rgba(6,8,16,.95); border: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow);
    transform: translateY(12px) scale(.98); opacity: 0; pointer-events: none;
    transition: .2s ease;
  }
  .nav-links.open { transform: translateY(10px) scale(1); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 12px; border-radius: 12px; }
  .nav-links a:hover { background: rgba(255,255,255,.05); }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .hero { min-height: 96vh; }
  .hero-content { padding-top: 110px; }
  .road-left { left: 0; width: 46vw; }
  .road-right { right: 0; width: 46vw; }
  .zodiac-wheel { width: 78vw; top: 11%; }
  .sun { right: 10%; top: 34%; width: 96px; }
  .register-form { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 22px, var(--max)); }
  .section { padding: 72px 0; }
  .hero h1 { font-size: clamp(2.05rem, 11vw, 3rem); }
  .hero-lead { line-height: 1.72; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .split-panel, .register-box { padding: 22px; }
  .author-photo, .photo-placeholder { min-height: 360px; }
  .photo-circle { width: 180px; }
}
