@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
  --bg: #070809;
  --bg2: #0d1014;
  --bg3: #151a20;
  --card: rgba(15, 18, 23, 0.82);
  --card-solid: #11161c;
  --border: rgba(210, 187, 132, 0.16);
  --glass-border: rgba(255, 255, 255, 0.07);
  --purple: #c9a84c;
  --purple2: #e2d3ad;
  --purple-dark: #8f7640;
  --blue: #687889;
  --pink: #766066;
  --gold: #cfb37a;
  --gold2: #f0e4c5;
  --text: #f4efe3;
  --muted: rgba(244, 239, 227, 0.60);
  --muted-strong: rgba(244, 239, 227, 0.80);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --glow: 0 16px 36px rgba(207, 179, 122, 0.10);
  --radius: 26px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(207, 179, 122, 0.09), transparent 34%),
    radial-gradient(circle at bottom right, rgba(104, 120, 137, 0.07), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.6px),
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.6px),
    radial-gradient(circle at 36% 62%, rgba(255, 255, 255, 0.3) 0 1px, transparent 1.6px),
    radial-gradient(circle at 86% 78%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1.6px),
    radial-gradient(circle at 12% 84%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.6px);
}

body::after {
  content: '';
  position: fixed;
  top: -260px;
  right: -220px;
  width: 620px;
  height: 620px;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 179, 122, 0.10) 0%, transparent 68%);
  filter: blur(24px);
  animation: nebula 18s ease-in-out infinite alternate;
}

@keyframes nebula {
  from {
    transform: scale(1) translate(0, 0);
    opacity: 0.55;
  }
  to {
    transform: scale(1.12) translate(-22px, 22px);
    opacity: 1;
  }
}

@keyframes shooting {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(250px) translateY(250px);
    opacity: 0;
  }
}

.shooting-star {
  position: fixed;
  z-index: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px 3px rgba(255, 255, 255, 0.55);
  opacity: 0;
  pointer-events: none;
  animation: shooting 4s linear infinite;
}

.app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.screen {
  display: none;
  width: 100%;
  max-width: 560px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 20px 110px;
  flex-direction: column;
}

.screen.active {
  display: flex;
}

.logo {
  text-align: center;
  margin-bottom: 18px;
}

.logo-icon {
  display: block;
  margin-bottom: 10px;
  font-size: 3.1rem;
  filter: drop-shadow(0 0 16px rgba(207, 179, 122, 0.22));
  animation: float 3.6s ease-in-out infinite;
}

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

.logo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--gold2);
}

.logo-sub {
  margin-top: 8px;
  color: rgba(242, 228, 189, 0.58);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.card {
  background: linear-gradient(180deg, rgba(18, 21, 27, 0.92), rgba(13, 16, 21, 0.94));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  color: #0d1018;
  background: linear-gradient(135deg, #c4a567, var(--gold2));
  box-shadow: 0 12px 26px rgba(207, 179, 122, 0.16);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(207, 179, 122, 0.2);
}

.btn-secondary {
  color: var(--muted-strong);
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.07);
}

.btn-secondary:hover {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--border);
}

.btn-gold {
  color: #12161f;
  background: linear-gradient(135deg, #b7892b, var(--gold2));
  box-shadow: 0 14px 28px rgba(201, 168, 76, 0.22);
}

.input-group {
  margin-bottom: 16px;
}

.input-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 15px 16px;
  font: inherit;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.input::placeholder {
  color: rgba(247, 244, 236, 0.34);
}

select.input {
  cursor: pointer;
}

select.input option {
  background: var(--bg3);
  color: var(--text);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.step {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.step.active {
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.28);
}

.step.done {
  background: var(--gold);
}

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.zodiac-btn {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 15px 8px;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.zodiac-btn .zicon {
  display: block;
  margin-bottom: 6px;
  font-size: 1.7rem;
}

.zodiac-btn:hover,
.zodiac-btn.selected {
  transform: translateY(-1px);
}

.zodiac-btn:hover {
  border-color: rgba(201, 168, 76, 0.28);
  background: rgba(201, 168, 76, 0.08);
}

.zodiac-btn.selected {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  box-shadow: inset 0 0 0 1px rgba(242, 228, 189, 0.08);
}

.spheres-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.sphere-btn {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 14px 14px;
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.sphere-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 168, 76, 0.24);
  color: var(--text);
}

.sphere-btn.selected {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold2);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.time-btn {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 12px 4px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.time-btn.selected {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  color: var(--gold2);
}

.main-content {
  flex: 1;
  padding-bottom: 90px;
}

.section-title {
  margin-bottom: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.welcome-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.welcome-hero-card {
  padding: 32px;
}

.welcome-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.welcome-kicker {
  margin-bottom: 0;
}

.welcome-pill,
.welcome-badge,
.home-chip,
.astro-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

.welcome-pill {
  color: var(--gold2);
  border: 1px solid rgba(207, 179, 122, 0.18);
  background: rgba(207, 179, 122, 0.06);
}

.welcome-title,
.home-greeting,
.premium-title,
.profile-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.02;
}

.welcome-title {
  margin-bottom: 14px;
  font-size: clamp(2.3rem, 7vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.welcome-copy {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.74;
}

.welcome-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.welcome-badge {
  color: var(--muted-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.welcome-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.welcome-proof-item {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  padding: 16px 14px;
}

.welcome-proof-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
  color: var(--gold2);
}

.welcome-proof-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.welcome-cta-row {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.welcome-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.welcome-preview-grid {
  display: grid;
  gap: 14px;
}

.welcome-preview-card {
  padding: 22px;
}

.welcome-preview-shell {
  border-radius: 24px;
  border: 1px solid rgba(207, 179, 122, 0.14);
  background: linear-gradient(180deg, rgba(13, 16, 21, 0.98), rgba(18, 21, 27, 0.94));
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.welcome-preview-top,
.welcome-preview-score,
.home-hero-top,
.premium-hero-top,
.home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.welcome-preview-date {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.welcome-preview-sign {
  color: var(--gold2);
  font-size: 0.76rem;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(207, 179, 122, 0.16);
  background: rgba(207, 179, 122, 0.06);
}

.welcome-preview-title {
  margin-top: 16px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.05rem;
  line-height: 1.05;
}

.welcome-preview-text {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.welcome-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.welcome-preview-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.74rem;
}

.welcome-preview-tag.active {
  color: var(--gold2);
  background: rgba(207, 179, 122, 0.06);
  border-color: rgba(207, 179, 122, 0.16);
}

.welcome-preview-score {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
}

.welcome-aside-list {
  display: grid;
  gap: 12px;
}

.welcome-aside-item {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.welcome-aside-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.welcome-aside-item strong {
  color: var(--text);
  font-weight: 500;
}

.welcome-aside-item span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.welcome-mini-grid,
.welcome-offers {
  display: grid;
  gap: 12px;
}

.welcome-mini-grid {
  grid-template-columns: repeat(3, 1fr);
}

.welcome-mini-card {
  padding: 18px 14px;
  text-align: center;
}

.welcome-mini-purple {
  border-color: rgba(201, 168, 76, 0.18);
}

.welcome-mini-gold {
  border-color: rgba(201, 168, 76, 0.22);
}

.welcome-mini-blue {
  border-color: rgba(123, 145, 183, 0.22);
}

.welcome-mini-icon {
  margin-bottom: 10px;
  font-size: 1.7rem;
}

.welcome-mini-text {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.welcome-offer-card {
  padding: 22px;
}

.welcome-offer-premium {
  background: linear-gradient(180deg, rgba(28, 24, 17, 0.88), rgba(16, 19, 24, 0.94));
  border-color: rgba(207, 179, 122, 0.16);
}

.welcome-plan-label {
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.welcome-plan-price {
  margin-top: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.welcome-plan-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.64;
}

.welcome-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-left: 18px;
  color: var(--muted);
}

.welcome-list li {
  font-size: 0.88rem;
  line-height: 1.56;
}

.hint-card {
  margin-top: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.hint-title {
  margin-bottom: 10px;
  color: var(--gold2);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hint-steps {
  display: grid;
  gap: 9px;
}

.hint-step {
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.54;
}

.hint-step strong {
  color: var(--gold2);
}

.hint-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.home-hero {
  margin-bottom: 20px;
  padding: 28px;
}

.home-overline {
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-greeting {
  margin-top: 6px;
  font-size: clamp(2rem, 7vw, 2.7rem);
  font-weight: 500;
}

.home-sign {
  margin-top: 8px;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.home-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.home-chip {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-section-head {
  margin-bottom: 12px;
}

.home-refresh-btn {
  width: auto;
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.install-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  border: 1px solid rgba(207, 179, 122, 0.16);
  background: rgba(207, 179, 122, 0.06);
  padding: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.install-banner:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 168, 76, 0.28);
}

.install-banner-inline {
  max-width: 172px;
  flex-shrink: 0;
}

.install-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.install-text {
  flex: 1;
  color: var(--muted-strong);
  font-size: 0.78rem;
  line-height: 1.35;
}

.install-text strong {
  color: var(--gold2);
}

.install-arrow {
  color: var(--gold2);
  font-size: 1.1rem;
}

.astro-badge {
  margin-bottom: 12px;
  color: var(--gold2);
  border: 1px solid rgba(207, 179, 122, 0.16);
  background: rgba(207, 179, 122, 0.06);
}

.horoscope-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(207, 179, 122, 0.14);
  background: linear-gradient(180deg, rgba(16, 19, 24, 0.98), rgba(11, 14, 18, 0.96));
  padding: 26px;
  box-shadow: var(--shadow), var(--glow);
}

.horoscope-card::before {
  content: '';
  position: absolute;
  top: -48%;
  right: -24%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 179, 122, 0.08) 0%, transparent 70%);
}

.horoscope-date {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.horoscope-sign {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: var(--gold2);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
}

.horoscope-text {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.86;
}

.horoscope-text p {
  margin-bottom: 12px;
}

.horoscope-text p:last-child {
  margin-bottom: 0;
}

.astro-panel {
  margin: 14px 0 8px;
  border-radius: 18px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.astro-kicker {
  margin-bottom: 12px;
  color: var(--gold2);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.astro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.astro-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
}

.astro-label {
  color: var(--muted);
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.astro-value {
  margin-top: 4px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.4;
}

.astro-sub {
  margin-top: 4px;
  color: var(--gold2);
  font-size: 0.8rem;
}

.astro-block {
  margin-top: 10px;
}

.astro-line {
  margin-top: 6px;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.5;
}

.astro-chips,
.astro-pills,
.premium-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.astro-chip,
.astro-pill,
.premium-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 0.75rem;
}

.astro-chip {
  color: var(--gold2);
  border: 1px solid rgba(201, 168, 76, 0.18);
  background: rgba(201, 168, 76, 0.08);
}

.astro-context {
  margin-top: 12px;
}

.astro-pill {
  color: var(--muted-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.astro-details {
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.astro-details summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  padding: 13px 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

.astro-details summary::-webkit-details-marker {
  display: none;
}

.astro-details summary::after {
  content: '›';
  margin-left: auto;
  font-size: 1rem;
  transition: transform 0.18s ease;
}

.astro-details[open] summary {
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.astro-details[open] summary::after {
  transform: rotate(90deg);
}

.astro-details-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 16px 14px;
}

.astro-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted-strong);
}

.astro-planet {
  color: var(--gold2);
  font-size: 0.78rem;
  flex-shrink: 0;
}

#feedback-bar .btn {
  min-height: 48px;
  border-radius: 14px;
}

.nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  justify-content: space-around;
  padding: 10px 12px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 16, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: none;
  border-radius: 16px;
  background: none;
  color: var(--muted);
  padding: 8px 18px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-item.active {
  color: var(--text);
  background: rgba(201, 168, 76, 0.1);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 26%;
  right: 26%;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
}

.nav-icon {
  font-size: 1.24rem;
}

.nav-label {
  font-size: 0.69rem;
  letter-spacing: 0.04em;
}

.premium-hero {
  margin-bottom: 18px;
  padding: 24px;
  border-color: rgba(207, 179, 122, 0.14);
  background: linear-gradient(180deg, rgba(24, 21, 16, 0.94), rgba(14, 17, 22, 0.96));
}

.premium-hero-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.premium-title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 500;
}

.premium-copy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.premium-meta {
  margin-top: 16px;
}

.premium-meta span {
  color: var(--muted-strong);
  border: 1px solid rgba(207, 179, 122, 0.14);
  background: rgba(207, 179, 122, 0.05);
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(18, 21, 27, 0.94), rgba(12, 15, 20, 0.92));
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(207, 179, 122, 0.16);
  box-shadow: var(--glow);
}

.feature-card:active {
  transform: translateY(0);
}

.feature-card.paid {
  border-left: 3px solid var(--gold);
}

.feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(207, 179, 122, 0.14), rgba(104, 120, 137, 0.16));
  font-size: 1.8rem;
}

.feature-info {
  flex: 1;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.feature-card-header h3 {
  flex: 1;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.26rem;
  font-weight: 600;
  color: var(--text);
}

.feature-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  color: #12161f;
  background: linear-gradient(135deg, #c4a567, var(--gold2));
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-tag {
  color: var(--gold2);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.28rem;
  font-weight: 600;
}

.profile-header {
  text-align: center;
  padding: 10px 0 26px;
}

.profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(207, 179, 122, 0.18), rgba(104, 120, 137, 0.2));
  box-shadow: 0 14px 28px rgba(207, 179, 122, 0.1);
  font-size: 2.6rem;
}

.profile-name {
  font-size: 2rem;
  font-weight: 600;
}

.profile-sign {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.stat-box {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  text-align: center;
}

.stat-num {
  color: var(--gold2);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
}

.stat-lbl {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.time-option {
  flex: 1;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 6px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.time-option small {
  display: block;
  margin-top: 2px;
  color: rgba(247, 244, 236, 0.44);
  font-size: 0.73rem;
}

.time-option.active {
  color: var(--gold2);
  border-color: rgba(201, 168, 76, 0.28);
  background: rgba(201, 168, 76, 0.1);
}

.time-option.active small {
  color: var(--muted-strong);
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 0;
}

.spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid rgba(201, 168, 76, 0.12);
  border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}

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

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}

.loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.28;
  animation: dot-pulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot-pulse {
  0%,
  80%,
  100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 200;
  transform: translateX(-50%) translateY(20px);
  border-radius: 14px;
  border: 1px solid rgba(207, 179, 122, 0.12);
  background: rgba(14, 18, 29, 0.96);
  color: var(--text);
  padding: 13px 22px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: var(--shadow);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  border: 1px solid rgba(207, 179, 122, 0.12);
  border-radius: 30px 30px 0 0;
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.98), rgba(10, 14, 22, 0.98));
  padding: 30px 24px max(40px, env(safe-area-inset-bottom));
  animation: slideUp 0.22s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 1rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text);
}

.modal-result-body {
  margin-top: 14px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.84;
  white-space: pre-wrap;
}

.archive-item {
  margin-top: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.archive-date {
  margin-bottom: 6px;
  color: var(--gold2);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.fade-in {
  animation: fadeIn 0.45s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mt8 {
  margin-top: 8px;
}

.mt16 {
  margin-top: 16px;
}

.mt24 {
  margin-top: 24px;
}

.mb16 {
  margin-bottom: 16px;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted);
  font-size: 0.84rem;
}

.divider {
  height: 1px;
  margin: 22px 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

@media (min-width: 480px) {
  .screen {
    padding: 36px 28px 112px;
  }
}

@media (max-width: 520px) {
  .welcome-proof-grid,
  .welcome-mini-grid {
    grid-template-columns: 1fr;
  }

  .welcome-proof-item,
  .welcome-mini-card {
    text-align: left;
  }

  .welcome-preview-top,
  .home-hero-top,
  .home-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .install-banner-inline {
    max-width: none;
    width: 100%;
  }

  .home-refresh-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .card,
  .welcome-hero-card,
  .premium-hero {
    padding: 20px;
  }

  .welcome-title {
    font-size: 2.02rem;
  }

  .logo-title {
    font-size: 1.74rem;
  }
}

@media (max-width: 360px) {
  .zodiac-btn {
    padding: 12px 6px;
    font-size: 0.74rem;
  }

  .zodiac-btn .zicon {
    font-size: 1.4rem;
  }
}
