/* Astria web — same palette and type as the app ("Мөнх Тэнгэр": navy night sky + gold). */
@font-face { font-family: "Cormorant MN"; src: url("assets/fonts/CormorantGaramondMN.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Golos"; src: url("assets/fonts/GolosText.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }

:root {
  --navy: #0B1026;
  --surface: #151C3A;
  --card: #141B3B;
  --gold: #D9B56C;
  --text: #F3EEDF;
  --body: #D6D3C6;
  --muted: #A9AECB;
  --display: "Cormorant MN", "Cormorant Garamond", Georgia, serif;
  --sans: "Golos", "Golos Text", system-ui, -apple-system, sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

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

.page {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 32px 24px;
  min-height: 100vh;
  align-items: center;
}

/* ---------- Left ---------- */
.left { display: flex; flex-direction: column; gap: 28px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand-icon { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(217,181,108,.35), 0 8px 24px rgba(0,0,0,.4); }
.brand-name { font-family: var(--display); font-size: 28px; font-weight: 600; line-height: 1; letter-spacing: .5px; }
.brand-tag { font-size: 12px; color: var(--muted); margin-top: 4px; }

.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase; color: var(--gold); }
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.08; margin: 10px 0 12px; }
h2 { font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.12; margin: 8px 0 6px; }
.lede { color: var(--muted); margin: 0; max-width: 46ch; }

.readings { display: flex; flex-direction: column; gap: 10px; }
.reading {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid rgba(217,181,108,.25);
  border-radius: var(--radius);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.reading:hover, .reading:focus-visible { transform: translateX(4px); border-color: rgba(217,181,108,.9); background: #18204A; outline: none; }
.reading-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(217,181,108,.12); color: var(--gold); }
.reading-icon svg { width: 22px; height: 22px; }
.reading-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.reading-title { font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1.15; }
.reading-title em { font-style: normal; font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 400; }
.reading-text { font-size: 13.5px; color: var(--muted); }
.reading-arrow { color: var(--gold); font-size: 18px; opacity: .6; transition: opacity .25s, transform .25s; }
.reading:hover .reading-arrow { opacity: 1; transform: translateX(3px); }

.disclaimer { font-size: 11.5px; color: rgba(169,174,203,.8); margin: 4px 0 0; }

/* ---------- Right ---------- */
.right { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.glow {
  position: absolute; top: 8%; left: 50%; width: 420px; height: 420px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(217,181,108,.22), transparent 62%);
  filter: blur(30px); pointer-events: none;
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { transform: translateX(-50%) scale(.94); opacity: .8 } 50% { transform: translateX(-50%) scale(1.06); opacity: 1 } }

.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.phone {
  position: relative; width: 286px; aspect-ratio: 660 / 1434;
  border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #1b2247, #0b1026);
  box-shadow: 0 0 0 1px rgba(217,181,108,.55), 0 30px 70px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: var(--navy); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.phone-screen.is-dragging { cursor: grabbing; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; opacity: 0; transform: scale(1.03); transition: opacity .7s ease, transform 1.2s ease; }
.shot.is-on { opacity: 1; transform: scale(1); }
.phone-island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #000; }

.dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(217,181,108,.3); cursor: pointer; transition: width .3s, background .3s; }
.dot.is-on { width: 22px; border-radius: 4px; background: var(--gold); }

.download { text-align: center; max-width: 420px; }
.download p { color: var(--muted); margin: 0 0 18px; }
.stores { display: flex; gap: 16px; justify-content: center; }
.store {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid rgba(217,181,108,.25);
  transition: border-color .25s, transform .25s;
}
.store:hover { border-color: rgba(217,181,108,.9); transform: translateY(-3px); }
.qr { width: 132px; height: 132px; border-radius: 10px; background: var(--text); padding: 6px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--gold); color: var(--navy); font-weight: 600; font-size: 15px; line-height: 1.05;
}
.store-btn svg { width: 20px; height: 20px; }
.store-btn small { display: block; font-size: 10px; font-weight: 500; opacity: .75; }
#android-link .store-btn { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(217,181,108,.6); }

.perks { list-style: none; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 18px 0 0; }
.perks li { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(217,181,108,.35); color: var(--body); }

.foot { position: relative; z-index: 1; display: flex; gap: 18px; justify-content: center; padding: 10px 24px 28px; font-size: 12px; color: var(--muted); }
.foot a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .page { grid-template-columns: 1fr; gap: 40px; padding: 28px 16px 16px; }
  .right { order: -1; }
  .phone { width: 240px; }
  .glow { width: 320px; height: 320px; }
}
@media (max-width: 420px) {
  .stores { flex-direction: column; align-items: center; }
  .reading { grid-template-columns: 36px 1fr; }
  .reading-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-wrap, .glow { animation: none; }
  .shot { transition: none; }
}
