@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap");

:root {
  --bg-ink: #0a1625;
  --bg-ink-soft: #1f2937;
  --bg-curtain: #052e16;
  --accent-amber: #d97706;
  --accent-purple: #a855f7;
  --accent-green: #10b981;
  --text-main: #f8ede0;
  --text-soft: #d7c4e4;
  --card: linear-gradient(145deg, #1e2937, #0f172a);
  --line-soft: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, transform, box-shadow;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 0;
  display: grid;
  place-items: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background: #020617;
}

a {
  color: var(--text-main);
  text-decoration: none;
}

.mobile-frame {
  width: min(560px, 100%);
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-ink), var(--bg-ink-soft));
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.app-shell {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px 24px;
}

.curtain-bg {
  background:
    linear-gradient(var(--bg-curtain) 0%, var(--bg-ink) 30%),
    radial-gradient(circle at top center, rgba(16, 185, 129, 0.35) 0%, transparent 70%);
  position: relative;
  isolation: isolate;
}

.curtain-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: repeating-linear-gradient(90deg, #052e16, #052e16 15px, #10b981 15px, #10b981 35px);
  opacity: 0.08;
  pointer-events: none;
}

.curtain-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(234, 179, 8, 0.15) 1px, transparent 0),
    radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.15) 1px, transparent 0),
    radial-gradient(circle at 40% 70%, rgba(234, 179, 8, 0.12) 1px, transparent 0);
  background-size: 80px 80px;
  opacity: 0.36;
  pointer-events: none;
  z-index: 0;
}

.curtain-bg .bg-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 24%, rgba(251, 191, 36, 0.18) 0, transparent 8%),
    radial-gradient(circle at 74% 38%, rgba(168, 85, 247, 0.16) 0, transparent 10%),
    radial-gradient(circle at 52% 82%, rgba(16, 185, 129, 0.14) 0, transparent 11%),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.65));
  opacity: 0.2;
  filter: saturate(1.02) brightness(0.86);
  pointer-events: none;
  z-index: 0;
  animation: bg-ambient-glow 6s ease-in-out infinite;
}

.curtain-bg .sky-parallax {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.curtain-bg .star-layer {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background-repeat: repeat;
  will-change: transform, opacity;
}

.curtain-bg .star-layer-far {
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(255, 248, 210, 0.82) 1px, transparent 1.8px),
    radial-gradient(circle, rgba(191, 219, 254, 0.4) 1px, transparent 2px);
  background-size: 180px 180px, 220px 220px;
  background-position: 20px 30px, 110px 140px;
  animation: star-drift-far 48s linear infinite, twinkle-far 6.5s ease-in-out infinite;
}

.curtain-bg .star-layer-mid {
  opacity: 0.44;
  background-image:
    radial-gradient(circle, rgba(253, 230, 138, 0.88) 1.2px, transparent 2px),
    radial-gradient(circle, rgba(216, 180, 254, 0.55) 1px, transparent 1.8px);
  background-size: 130px 130px, 160px 160px;
  background-position: 10px 65px, 80px 110px;
  animation: star-drift-mid 30s linear infinite, twinkle-mid 4.8s ease-in-out infinite;
}

.curtain-bg .star-layer-near {
  opacity: 0.55;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 1.4px, transparent 2.2px),
    radial-gradient(circle, rgba(251, 191, 36, 0.75) 1.6px, transparent 2.4px),
    radial-gradient(circle, rgba(167, 139, 250, 0.65) 1.3px, transparent 2.1px);
  background-size: 90px 90px, 120px 120px, 140px 140px;
  background-position: 45px 30px, 0 70px, 80px 10px;
  animation: star-drift-near 18s linear infinite, twinkle-near 3.6s ease-in-out infinite;
}

.curtain-bg .shooting-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.curtain-bg .shooting {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.98) 0%, rgba(251, 191, 36, 0.95) 55%, rgba(251, 191, 36, 0.25) 100%);
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.95);
  opacity: 0;
  animation: shooting-star 9s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.curtain-bg .shooting::before {
  content: "";
  position: absolute;
  left: -140px;
  top: 50%;
  width: 140px;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 244, 203, 0.68), rgba(251, 191, 36, 0.16));
  filter: blur(0.3px);
}

.curtain-bg .shooting::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 246, 214, 0.88), inset 0 0 6px rgba(255, 255, 255, 0.95);
}

.curtain-bg .shooting-1 {
  top: 10%;
  left: -42%;
  animation-delay: 0.6s;
}

.curtain-bg .shooting-2 {
  top: 34%;
  left: -46%;
  animation-delay: 2.9s;
}

.curtain-bg .shooting-3 {
  top: 56%;
  left: -45%;
  animation-delay: 5.1s;
}

.curtain-bg .shooting-4 {
  top: 78%;
  left: -48%;
  animation-delay: 7.3s;
}

.curtain-bg .shooting-5 {
  top: 22%;
  left: -44%;
  animation-delay: 4.2s;
}

.curtain-bg .shooting-6 {
  top: 70%;
  left: -43%;
  animation-delay: 8.1s;
}

.curtain-bg .shooting-rtl {
  animation-name: shooting-star-rtl;
}

.curtain-bg .shooting-rtl::before {
  left: auto;
  right: -140px;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0), rgba(255, 244, 203, 0.68), rgba(251, 191, 36, 0.16));
}

.curtain-bg .shooting-rtl-1 {
  top: 16%;
  right: -44%;
  animation-delay: 1.8s;
}

.curtain-bg .shooting-rtl-2 {
  top: 58%;
  right: -47%;
  animation-delay: 6.6s;
}

.app-shell > * {
  position: relative;
  z-index: 1;
}

.app-shell > .bg-ambient,
.app-shell > .sky-parallax {
  z-index: 0;
}

.app-shell > .shooting-overlay {
  z-index: 4;
}

.hero {
  text-align: center;
  padding-top: 2px;
}

.kicker {
  margin: 0 0 8px;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #fcd34d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: #fbbf24;
}

h1 {
  margin: 0;
  line-height: 1.02;
  font-size: clamp(1.9rem, 8vw, 2.45rem);
}

.subtitle {
  margin: 10px 0 0;
  color: #dec8f8;
  font-size: 1.03rem;
  position: relative;
}

.subtitle::before,
.subtitle::after {
  content: "✦";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fbbf24;
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.85);
  pointer-events: none;
  animation: star-spin 2.8s linear infinite;
}

.subtitle::before {
  left: 33px;
}

.subtitle::after {
  right: 33px;
  animation-direction: reverse;
}

@keyframes star-spin {
  from {
    transform: translateY(-50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-50%) rotate(180deg) scale(1.1);
  }
  to {
    transform: translateY(-50%) rotate(360deg) scale(1);
  }
}

@keyframes bg-ambient-glow {
  0%,
  100% {
    opacity: 0.17;
    filter: saturate(1) brightness(0.82);
  }
  50% {
    opacity: 0.3;
    filter: saturate(1.18) brightness(1.05);
  }
}

@keyframes star-drift-far {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-120px, -90px, 0);
  }
}

@keyframes star-drift-mid {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-180px, -130px, 0);
  }
}

@keyframes star-drift-near {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-260px, -190px, 0);
  }
}

@keyframes twinkle-far {
  0%,
  100% {
    opacity: 0.26;
  }
  50% {
    opacity: 0.46;
  }
}

@keyframes twinkle-mid {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes twinkle-near {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes shooting-star {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(28deg) scale(0.8);
  }
  4% {
    opacity: 0.95;
  }
  17% {
    opacity: 0;
    transform: translate3d(740px, 360px, 0) rotate(28deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(740px, 360px, 0) rotate(28deg) scale(1);
  }
}

@keyframes shooting-star-rtl {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(-28deg) scale(0.8);
  }
  4% {
    opacity: 0.95;
  }
  17% {
    opacity: 0;
    transform: translate3d(-740px, 360px, 0) rotate(-28deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(-740px, 360px, 0) rotate(-28deg) scale(1);
  }
}

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

.zodiac-tile {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 10px 8px;
  min-height: 108px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 3px;
}

.zodiac-tile:hover,
.zodiac-tile:active {
  transform: scale(1.05) rotate(1.3deg);
  box-shadow: 0 0 22px -5px rgba(234, 179, 8, 0.85);
  border-color: rgba(253, 224, 71, 0.6);
}

.zodiac-icon {
  font-size: 1.8rem;
  color: #fbbf24;
}

.zodiac-thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 8px 16px -10px rgba(251, 191, 36, 0.8);
  background: rgba(2, 6, 23, 0.55);
  padding: 3px;
}

.zodiac-name {
  font-weight: 800;
  color: #fde68a;
  font-size: 0.93rem;
}

.zodiac-range {
  color: #d8b4fe;
  font-size: 0.66rem;
}

.lupita-teaser {
  margin-top: 16px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.lupita-heading {
  margin: 0;
  text-align: center;
  font-size: 0.77rem;
  line-height: 1.35;
  color: #fde68a;
  max-width: 270px;
  font-weight: 700;
}

.lupita-photo-button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 999px;
  cursor: pointer;
}

.lupita-photo-button::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: conic-gradient(from 0deg, #f59e0b, #fde047, #a855f7, #f59e0b);
  filter: blur(0.2px);
  animation: ring-spin 2.5s linear infinite;
  z-index: 0;
}

.lupita-photo-button::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 999px;
  border: 2px solid rgba(251, 191, 36, 0.35);
  animation: ring-pulse 1.8s ease-in-out infinite;
  z-index: 0;
}

.lupita-avatar {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(251, 191, 36, 0.65);
  box-shadow: 0 0 18px -6px rgba(251, 191, 36, 0.9);
  position: relative;
  z-index: 1;
}

.lupita-caption {
  margin: 0;
  text-align: center;
  font-size: 0.77rem;
  color: #f9d98b;
  font-weight: 700;
}

.lupita-balloon {
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translate(-50%, -100%) scale(0.92);
  background: rgba(12, 18, 36, 0.95);
  color: #fff3de;
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-radius: 14px;
  padding: 8px 10px;
  width: 230px;
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

.lupita-balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -7px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid rgba(12, 18, 36, 0.95);
}

.lupita-balloon.is-visible {
  opacity: 1;
  transform: translate(-50%, -100%) scale(1);
}

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

@keyframes ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.95;
  }
}

@keyframes cta-magic-pulse {
  0%,
  100% {
    filter: saturate(1) brightness(0.98);
  }
  50% {
    filter: saturate(1.15) brightness(1.08);
  }
}

@keyframes cta-sheen {
  0% {
    left: -26%;
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  35% {
    left: 118%;
    opacity: 0;
  }
  100% {
    left: 118%;
    opacity: 0;
  }
}

.legal-footer {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding-top: 10px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.74rem;
}

.legal-footer a:hover {
  color: #fcd34d;
}

.back-link {
  display: inline-block;
  margin: 4px 0 12px;
  color: #fcd34d;
  font-weight: 800;
}

.card {
  background: transparent;
  border: 2px solid transparent;
  border-image: linear-gradient(to bottom, #d97706, #a855f7) 1;
  border-radius: 24px;
  box-shadow: none;
}

.page-card {
  padding: 20px 16px;
}

.photo-slot {
  margin: 12px 0 14px;
  display: grid;
  place-items: center;
  padding: 0;
}

.detail-zodiac-thumb {
  width: min(100%, 280px);
  max-height: 240px;
  object-fit: contain;
  border-radius: 20px;
  border: none;
  background: transparent;
}

h2,
h3,
h4 {
  margin: 12px 0 8px;
}

h4 {
  color: #fde68a;
}

p {
  color: var(--text-soft);
  line-height: 1.55;
}

.highlight-quote {
  margin: 12px 0 14px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(252, 211, 77, 0.33);
  background: linear-gradient(to right, rgba(88, 28, 135, 0.72), rgba(120, 53, 15, 0.52));
  color: #fef3c7;
}

.asc-result-title {
  margin: 2px 0 4px;
  font-size: clamp(1.65rem, 6vw, 2.2rem);
  white-space: nowrap;
  line-height: 1.05;
}

.asc-sign-line {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 7.2vw, 2.8rem);
  line-height: 1;
  color: #fbbf24;
}

.asc-sign-emoji {
  font-size: 0.95em;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.95)) drop-shadow(0 0 16px rgba(251, 191, 36, 0.75));
}

.asc-sign-name {
  text-shadow: 0 0 9px rgba(251, 191, 36, 0.95), 0 0 22px rgba(251, 191, 36, 0.58);
}

.asc-summary {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 6px;
}

.asc-summary p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #e9ddc8;
}

.natal-chart-card {
  margin: 12px 0 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.natal-chart-card h3 {
  margin: 0 0 8px;
}

.natal-chart-frame {
  border-radius: 14px;
  background: radial-gradient(circle at center, rgba(88, 28, 135, 0.35), rgba(2, 6, 23, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px;
}

.natal-wheel-svg {
  display: block;
  width: 100%;
  height: auto;
}

.natal-chart-meta {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: #d6c5e8;
}

.natal-preview-grid {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.natal-preview-grid h3 {
  margin: 0 0 6px;
}

.natal-preview-grid p {
  margin: 0 0 4px;
  font-size: 0.86rem;
  line-height: 1.38;
}

.unlock-state-banner {
  margin: 12px 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.22), rgba(251, 191, 36, 0.18));
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #d1fae5;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.natal-houses-section {
  margin: 10px 0 14px;
}

.natal-houses-section h3 {
  margin: 0 0 8px;
}

.natal-houses-section .locked-block p {
  margin: 0;
  line-height: 1.45;
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 12px 0;
  border: 0;
  border-radius: 999px;
  padding: 13px 14px;
  font-size: 0.91rem;
  font-weight: 800;
  background: linear-gradient(120deg, #a855f7 0%, #d97706 48%, #f59e0b 100%);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 236, 179, 0.45) inset,
    0 10px 20px -8px rgba(217, 119, 6, 0.95),
    0 0 26px -10px rgba(168, 85, 247, 0.95),
    0 0 28px -8px rgba(251, 191, 36, 0.85);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(40, 10, 4, 0.45);
  animation: cta-magic-pulse 2.8s ease-in-out infinite;
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.34), transparent 44%);
  pointer-events: none;
  z-index: 0;
}

.cta-button::after {
  content: "";
  position: absolute;
  top: -35%;
  left: -22%;
  width: 34%;
  height: 170%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transform: rotate(22deg);
  pointer-events: none;
  animation: cta-sheen 2.4s ease-in-out infinite;
  z-index: 0;
}

.cta-button-annual {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 16px;
  font-size: clamp(0.76rem, 2.2vw, 0.92rem);
  white-space: normal;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 0 0 1px rgba(255, 246, 214, 0.6) inset,
    0 14px 24px -10px rgba(217, 119, 6, 0.95),
    0 0 30px -10px rgba(168, 85, 247, 1),
    0 0 34px -8px rgba(251, 191, 36, 0.95);
}

.cta-button:active {
  transform: translateY(0) scale(0.992);
}

.cta-button-floating {
  position: relative;
  z-index: 6;
  margin-bottom: -34px;
  transform: translateY(100px);
}

.cta-button-floating:hover {
  transform: translateY(98px) scale(1.015);
}

.cta-button-floating:active {
  transform: translateY(100px) scale(0.992);
}

.locked-grid {
  display: grid;
  gap: 10px;
  padding-top: 0;
}

.locked-block {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.42);
  border: none;
}

.blurred-text {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

.banners {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.banner {
  display: block;
  padding: 13px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.banner:nth-child(1) {
  color: #1e293b;
  background: linear-gradient(to right, #fcd34d, #f59e0b);
}

.banner:nth-child(2) {
  color: #fff;
  background: linear-gradient(to right, #a855f7, #8b5cf6);
}

.banner:nth-child(3) {
  color: #fff;
  background: linear-gradient(to right, #34d399, #14b8a6);
}

.banner:nth-child(4) {
  color: #fffbeb;
  background: linear-gradient(to right, #b45309, #c2410c, #9a3412);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.astro-form {
  display: grid;
  gap: 11px;
  margin-top: 12px;
}

.astro-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: #ddd6fe;
  font-size: 0.9rem;
}

.astro-form input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(196, 181, 253, 0.42);
  padding: 12px 11px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.astro-form select,
.astro-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(196, 181, 253, 0.42);
  padding: 12px 11px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
  font: inherit;
}

.astro-form textarea {
  resize: vertical;
  min-height: 92px;
}

.astro-form input:focus {
  border-color: rgba(251, 191, 36, 0.85);
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.18);
}

.astro-form select:focus,
.astro-form textarea:focus {
  border-color: rgba(251, 191, 36, 0.85);
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.18);
}

.tarot-preview {
  margin: 12px 0 6px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tarot-preview-card {
  width: 56px;
  height: 84px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  background:
    radial-gradient(circle at 20% 18%, rgba(251, 191, 36, 0.28) 0%, transparent 36%),
    linear-gradient(160deg, rgba(88, 28, 135, 0.9), rgba(30, 41, 59, 0.95));
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 10px 18px -12px rgba(251, 191, 36, 0.95);
}

.tarot-cards-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.tarot-card-block {
  position: relative;
  padding-top: 30px;
}

.tarot-card-block h4 {
  margin: 0 0 6px;
}

.tarot-card-block p {
  margin: 0;
}

.tarot-card-thumb {
  width: 88px;
  height: 146px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 0 8px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 10px 20px -14px rgba(251, 191, 36, 0.95);
  background: rgba(15, 23, 42, 0.75);
}

.tarot-orientation-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff6dd;
  border: 1px solid rgba(251, 191, 36, 0.5);
  background: rgba(180, 83, 9, 0.45);
}

@media (max-width: 420px) {
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cms-block {
  margin: 14px 0 10px;
  padding: 12px 12px 10px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: rgba(15, 23, 42, 0.55);
  box-shadow: 0 14px 26px -18px rgba(0, 0, 0, 0.75);
}

.cms-block__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.cms-block__image {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  margin: 0 0 10px;
}

.cms-block__body {
  color: var(--text-soft);
}

.cms-block__body p {
  margin: 0 0 10px;
}

.cms-block__body p:last-child {
  margin-bottom: 0;
}

.cms-block__cta {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: rgba(180, 83, 9, 0.22);
  color: #fff6dd;
  font-weight: 700;
  font-size: 0.85rem;
}

.share-widget {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: linear-gradient(145deg, rgba(2, 6, 23, 0.72), rgba(30, 41, 59, 0.62));
  box-shadow: 0 14px 24px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(168, 85, 247, 0.1) inset;
}

.share-widget-title {
  margin: 0 0 10px;
  color: #fde68a;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.share-widget-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.share-chip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  color: #fef3c7;
  padding: 8px 10px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.share-chip:hover {
  transform: translateY(-1px) scale(1.01);
  border-color: rgba(252, 211, 77, 0.75);
  box-shadow: 0 10px 18px -16px rgba(0, 0, 0, 0.9);
}

.share-chip-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  font-size: 0.78rem;
  line-height: 1;
}

.share-chip-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.share-chip-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-chip--native .share-chip-icon {
  background: linear-gradient(145deg, #7c3aed, #a855f7);
  color: #fff;
}

.share-chip--whatsapp .share-chip-icon {
  background: #25d366;
  color: #fff;
}

.share-chip--telegram .share-chip-icon {
  background: #229ed9;
  color: #fff;
}

.share-chip--x .share-chip-icon {
  background: #111827;
  color: #fff;
}

.share-chip--facebook .share-chip-icon {
  background: #1877f2;
  color: #fff;
}

.share-chip--email .share-chip-icon {
  background: #f59e0b;
  color: #1f2937;
}

.share-chip--copy .share-chip-icon {
  background: #a855f7;
  color: #fff;
}

@media (max-width: 360px) {
  .share-widget-row {
    grid-template-columns: 1fr;
  }
}

.share-widget-note {
  min-height: 18px;
  margin: 10px 0 0;
  color: #d1fae5;
  font-size: 0.76rem;
}
