:root {
  --ink: #14031f;
  --ink-soft: #210a34;
  --violet: #6d2bea;
  --violet-light: #a968ff;
  --pink: #e84fcf;
  --orange: #ff7448;
  --cream: #fffaf4;
  --muted: #cbbbd6;
  --card: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 24px 70px rgba(5, 0, 12, 0.4);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 16% 4%, rgba(124, 50, 222, 0.19), transparent 28rem),
    radial-gradient(circle at 92% 70%, rgba(232, 79, 207, 0.1), transparent 30rem),
    linear-gradient(145deg, #11021c, #1b062d 55%, #10021a);
  font-family: "DM Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 1.2px);
  background-position: 0 0, 32px 48px;
  background-size: 89px 89px, 137px 137px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

button, input { font: inherit; }
button { color: inherit; }

.cosmos { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 999px; filter: blur(2px); opacity: .5; }
.orb-one { width: 22rem; height: 22rem; left: -14rem; top: 30%; background: radial-gradient(circle, rgba(112,45,234,.3), transparent 70%); }
.orb-two { width: 28rem; height: 28rem; right: -17rem; bottom: -10rem; background: radial-gradient(circle, rgba(232,79,207,.22), transparent 68%); }
.star { position: absolute; color: rgba(255,255,255,.34); font-size: 1.5rem; animation: twinkle 4s ease-in-out infinite; }
.star-one { left: 9%; top: 21%; }
.star-two { right: 10%; top: 28%; animation-delay: 1.2s; }
.star-three { right: 18%; bottom: 22%; animation-delay: 2.1s; }

.site-header {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.brand > span:last-child > span { color: #d996ff; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 50%;
  color: #ffcfaa;
  background: rgba(255,255,255,.06);
  font-size: 1.4rem;
  box-shadow: inset 0 0 22px rgba(232,79,207,.15);
}

.secure-label { color: var(--muted); font-size: .83rem; }
.secure-label span { margin-right: 6px; color: #ffbd94; }

.app-shell {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  min-height: calc(100vh - 156px);
  margin: 0 auto;
  padding: 34px 0 52px;
}

.quiz-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 48px);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  animation: rise .42s ease both;
}

.eyebrow {
  width: fit-content;
  margin: 0 auto 17px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 154, 105, .35);
  border-radius: 999px;
  color: #ffd5c2;
  background: rgba(255,116,72,.12);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Outfit", sans-serif; }

.hero-title {
  max-width: 650px;
  margin: 0 auto 13px;
  text-align: center;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: .98;
  letter-spacing: -.035em;
}

.hero-title em { color: #ea8eff; font-style: normal; }
.intro { max-width: 520px; margin: 0 auto 30px; color: var(--muted); text-align: center; line-height: 1.55; }

.progress-wrap { margin: 0 auto 30px; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 9px; color: #cbbbd6; font-size: .73rem; }
.progress-dots { display: grid; grid-template-columns: repeat(9, 1fr); gap: 7px; }
.progress-segment { height: 7px; border-radius: 999px; background: rgba(255,255,255,.12); transition: background .25s ease, box-shadow .25s ease; }
.progress-segment.active { background: linear-gradient(90deg, var(--violet-light), var(--pink)); box-shadow: 0 0 15px rgba(232,79,207,.45); }

.question-title { margin-bottom: 9px; text-align: center; font-size: clamp(1.55rem, 5vw, 2.2rem); line-height: 1.1; }
.question-help { margin-bottom: 26px; color: var(--muted); text-align: center; line-height: 1.5; }

.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.option {
  min-height: 75px;
  padding: 14px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  cursor: pointer;
  background: rgba(255,255,255,.065);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.option:hover, .option:focus-visible { transform: translateY(-3px); border-color: rgba(224,128,255,.7); outline: none; background: rgba(166,87,235,.18); }
.option.selected { border-color: #e487ff; background: linear-gradient(145deg, rgba(151,71,225,.35), rgba(232,79,207,.16)); }
.sign-option { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.sign-symbol { color: #efa3ff; font-size: 2rem; line-height: 1; text-shadow: 0 0 18px rgba(232,79,207,.35); }
.sign-name { font-size: .79rem; font-weight: 700; }

.month-group + .month-group { margin-top: 20px; }
.month-label { margin-bottom: 9px; color: #efa3ff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.days-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day-option { min-height: 45px; padding: 8px 4px; border-radius: 11px; font-weight: 700; }

.list-options { display: grid; gap: 10px; }
.list-option { min-height: 58px; display: flex; align-items: center; gap: 13px; padding: 13px 17px; text-align: left; }
.choice-dot { width: 19px; height: 19px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(20,3,31,.7); }
.list-option:hover .choice-dot { background: #e487ff; }

.gender-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gender-option { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; font-size: 1rem; font-weight: 700; }
.gender-icon { width: 58px; height: 82px; fill: #fff; filter: drop-shadow(0 0 16px rgba(232,79,207,.28)); transition: fill .18s ease, transform .18s ease; }
.gender-option:hover .gender-icon { fill: #efa3ff; transform: scale(1.04); }

.field { margin: 8px 0 16px; }
.field label { display: block; margin-bottom: 8px; color: #e7dbea; font-size: .85rem; font-weight: 600; }
.field input {
  width: 100%;
  height: 58px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 15px;
  padding: 0 17px;
  outline: none;
  color: white;
  background: rgba(255,255,255,.075);
  transition: border .2s, box-shadow .2s;
}
.field input::placeholder { color: #a995b2; }
.field input:focus { border-color: #d985f7; box-shadow: 0 0 0 4px rgba(217,133,247,.11); }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 17px 0; color: #bfaec9; font-size: .76rem; line-height: 1.45; }
.consent input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; accent-color: #b35beb; }

.actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; }
.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 0 24px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button-primary { color: white; background: linear-gradient(115deg, #8d3ce2, #d94ccf); box-shadow: 0 13px 30px rgba(143,60,226,.3); }
.button-ghost { color: #cbbbd6; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.button-whatsapp { width: 100%; max-width: 480px; min-height: 72px; font-size: 1.15rem; color: #071a0e; background: linear-gradient(115deg, #45e782, #23c968); box-shadow: 0 15px 35px rgba(35,201,104,.22); animation: pulse 1.4s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.button[disabled] { cursor: wait; opacity: .6; transform: none; }

.error { margin: 12px 0 0; color: #ffad9d; text-align: center; font-size: .84rem; }
.saved-note { color: #b9a8c4; text-align: center; font-size: .72rem; }

.result-card { text-align: center; }
.result-zodiac {
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  margin: 3px auto 20px;
  border: 1px solid rgba(236,158,255,.5);
  border-radius: 50%;
  color: #f1b5ff;
  background: radial-gradient(circle, rgba(177,86,226,.27), rgba(255,255,255,.03));
  font-size: 3.35rem;
  box-shadow: 0 0 45px rgba(194,92,229,.22);
}
.result-title { margin-bottom: 10px; font-size: clamp(2rem, 7vw, 3rem); }
.result-copy { max-width: 530px; margin: 0 auto 24px; color: var(--muted); line-height: 1.55; }

.video-stage {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 26px auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: radial-gradient(circle at 50% 30%, rgba(124,51,215,.34), transparent 55%), #0c0214;
  box-shadow: inset 0 0 50px rgba(0,0,0,.25);
}
.video-stage video { width: 100%; height: 100%; object-fit: cover; background: black; }
.video-placeholder { padding: 24px; color: #c9b8d2; }
.video-placeholder span { display: block; margin-bottom: 9px; color: #eaa5ff; font-size: 2.1rem; }
.video-placeholder strong { display: block; margin-bottom: 6px; color: white; font-family: "Outfit", sans-serif; font-size: 1.1rem; }
.unlock-note { margin: -12px 0 18px; color: #c5b4ce; font-size: .77rem; }

.video-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-overlay-greeting {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 36px 24px;
  background: radial-gradient(circle at 50% 18%, rgba(124,51,215,.28), transparent 60%), #05010a;
}
.greeting-title { margin: 0; font-family: "Outfit", sans-serif; font-weight: 800; font-size: 1.6rem; line-height: 1.3; color: white; text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.greeting-badge { width: 100%; max-width: 340px; height: auto; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,.4)); }
.video-overlay-text { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.video-overlay-text .video-overlay-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.video-overlay-copy { position: relative; z-index: 1; width: 100%; text-align: left; font-family: "Outfit", sans-serif; color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.video-overlay-copy p { margin: 0 0 10px; font-size: 1rem; font-weight: 500; line-height: 1.3; }
.video-overlay-copy p:last-child { margin-bottom: 0; }
.video-overlay-copy strong { font-weight: 800; }
.video-overlay-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; }
.video-overlay-cta img {
  width: 100%;
  max-width: 230px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.5));
  animation: pulse 1.3s ease-in-out infinite;
}
.cta-countdown {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: white;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 20px;
  border-radius: 999px;
  animation: pulse 1.3s ease-in-out infinite;
}
.video-tap-hint {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(8,2,16,.55);
  color: white;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  cursor: pointer;
}

footer { position: relative; z-index: 1; display: flex; justify-content: center; gap: 12px; padding: 0 20px 26px; color: #8f7c9b; font-size: .7rem; }
.footer-star { color: #ff9674; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.9); } 50% { opacity: .75; transform: scale(1.1); } }

@media (max-width: 620px) {
  .site-header { width: calc(100% - 28px); padding-top: 18px; }
  .secure-label { display: none; }
  .app-shell { width: min(100% - 20px, 760px); padding-top: 18px; }
  .quiz-card { border-radius: 22px; }
  .options-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sign-option { min-height: 70px; }
  .days-grid { grid-template-columns: repeat(6, 1fr); }
  .gender-option { min-height: 150px; }
  .actions { flex-direction: column-reverse; }
  .actions .button { width: 100%; }
  footer { flex-wrap: wrap; }
}

@media (max-width: 370px) {
  .options-grid { grid-template-columns: repeat(2, 1fr); }
  .days-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
