* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* Best Horoscope page styles. Tracking-gate styles live in tracking-gate.css. */
body {
  color: #f7f1e5;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(93, 77, 139, 0.32),
      transparent 30%
    ),
    linear-gradient(160deg, #171a39 0%, #0b1028 58%, #070a19 100%);
  font-family: Montserrat, sans-serif;
}

.container-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  min-height: 100%;
  height: 100%;
  padding-bottom: 30px;
  overflow-x: hidden;
}

.container {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  padding: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.container::-webkit-scrollbar {
  display: none;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 56px);
}

.brand {
  color: inherit;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.brand span,
.features > article > span {
  color: #d3ad69;
}

.masthead__note,
.features p,
.microcopy {
  color: #b8b7c7;
}

.masthead__note {
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(240px, 320px);
  align-items: center;
  gap: clamp(30px, 7vw, 100px);
  width: 100%;
  max-width: 1040px;
  min-height: 540px;
  margin: 0 auto;
  padding: 30px clamp(18px, 4vw, 56px) 24px;
  text-align: left;
}

.hero__art {
  order: 2;
  position: relative;
  aspect-ratio: 4 / 5;
  width: min(100%, 300px);
  max-height: 375px;
  justify-self: end;
  overflow: hidden;
  border-radius: 220px 220px 28px 28px;
  box-shadow: 0 28px 70px #0008;
}

.hero__art::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #f2d49c88;
  border-radius: inherit;
  pointer-events: none;
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__copy {
  max-width: 600px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #d3ad69;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.hero__lead {
  margin: 25px 0;
  color: #cbc9d7;
  font-size: 18px;
  line-height: 1.65;
}

.answer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 16px;
  width: auto;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #0b1028;
  border: 1px solid #e8c987;
  font-weight: 800;
  box-shadow: 0 12px 28px #0b10282b;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.answer-button:hover {
  transform: translateY(-2px);
  background: #242544;
}

.answer-button:focus-visible {
  outline: 2px solid #d3ad69;
  outline-offset: 3px;
}

.answer-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

.answer-button--light {
  color: #0b1028;
  background: #d3ad69;
}

.microcopy {
  max-width: 490px;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.5;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid #ffffff24;
  border-bottom: 1px solid #ffffff24;
}

.features article {
  padding: 42px clamp(18px, 3vw, 46px);
}

.features article + article {
  border-left: 1px solid #ffffff24;
}

.features h2 {
  margin: 15px 0 10px;
  font-size: 25px;
}

.features p {
  line-height: 1.55;
}

.closing {
  width: 100%;
  margin-top: 60px;
  padding: 72px 20px;
  color: #f7f1e5;
  background: #11152f;
  text-align: center;
}

.closing h2 {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: clamp(34px, 4vw, 54px);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex-shrink: 0;
  max-width: none;
  padding: 0 16px;
  color: #b9bac7;
  font-size: 11px;
  line-height: normal;
  text-align: center;
}

.footer p {
  margin: 0;
  padding: 0;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 760px) {
  .masthead__note {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 24px;
    text-align: center;
  }

  .hero__art {
    order: 2;
    width: min(58vw, 230px);
    max-height: 288px;
    margin: 0 auto;
    justify-self: center;
    border-radius: 180px 180px 24px 24px;
  }

  .answer-button {
    width: 100%;
  }

  .microcopy {
    margin-inline: auto;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .features article + article {
    border-top: 1px solid #ffffff24;
    border-left: 0;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .hero {
    align-items: start;
    min-height: 0;
  }

  .hero__art {
    max-height: 280px;
  }
}

@media (max-width: 600px) {
  div#CybotCookiebotDialog {
    position: fixed !important;
    top: auto !important;
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: 75dvh !important;
    margin: 0 !important;
    overflow-y: auto !important;
    border-radius: 16px !important;
    transform: none !important;
    scale: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
