﻿.tarotLol {
    max-width: 66ch;
    background-color: #00000067;
    color: #f5e9d0;
    padding: 2em;
    display:none;
    margin: 24px auto;
    text-align: center;
    line-height: 1.6;
    font-style: italic;
    font-size: 1.05rem;
    border-radius: 22px;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.08), transparent 40%), linear-gradient(145deg,#3a1c6b,#2a124d 60%,#1a0a2d);
    box-shadow: 0 18px 45px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,220,150,0.25);
    position: relative;
  }

.tarotLol::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255,220,150,0.4);
    pointer-events: none;
}

.tarotLol::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,220,150,0.18);
    pointer-events: none;
}

img.becky {
    display: none;
}
.tarotScore {
  display: none;
}
.resultMeta {
  display: none;
}

.new-rocker-regular {
    font-family: "New Rocker", serif;
    font-weight: 700;
    font-style: normal;
    color: #fff;
    position: absolute;
    top: 0;
    text-align: center;
    font-size: 4em;
}

@keyframes fortuneWiggle {
  0%  { transform: rotate(-4deg) translateX(0px); }
  15% { transform: rotate(3deg) translateX(1px); }
  30% { transform: rotate(-5deg) translateX(-1px); }
  45% { transform: rotate(4deg) translateX(1px); }
  60% { transform: rotate(-3deg) translateX(-1px); }
  75% { transform: rotate(5deg) translateX(1px); }
  90% { transform: rotate(-4deg) translateX(0px); }
}

div#quizDebug {
    background-color: transparent;
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    max-width: 300px;
    max-height: 100dvh;
    overflow-y: scroll;
}

body {
    --angle: 0deg;
    overflow-x: hidden;
    font-family: sans-serif;
    min-height: 100dvh;
    margin: 0;
    outline: 1px solid #ffd02191;
    outline-offset: -33px;
    background: repeating-conic-gradient(
    from var(--angle),
    #653072 0% 5%,
    #3f256a 5% 10%
  );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: --angle 1s ease-in-out;
    transform-style: preserve-3d;
}

@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
    --angle: 0deg !important;
  }
}

body::before {
    content: "";
    position: fixed;
    width: 100dvw;
    height: 100dvh;
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    outline: 1px solid #ffd02191;
    outline-offset: -33px;
    border-radius: 300px;
    pointer-events: none;
}

@keyframes waveSkew {
  0%, 100% {
    transform: skew(0deg, 0deg) scale(1);
  }
  33% {
    transform: skew(3deg, 2deg) scale(1);
  }
  66% {
    transform: skew(1deg, -1deg) scale(1.00);
  }
}

h2 {
    color: #ffd021;
}

div#quiz {
    display: flex;
    align-items: center;
    min-width: 100dvw;
    min-height: 100dvh;
    justify-content: center;
}

.personalityStage {
  position: relative;
}

.personalityStage::before {
  content: "";
  position: absolute;
  background: radial-gradient(circle, rgba(126, 87, 194, 0.08), transparent 60%);
  filter: blur(20px);
  z-index: 0;
}

.personalityStage > * {
  position: relative;
  z-index: 1;
}

.personalityCard {
    border-radius: 28px;
    padding: 14px;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
}

.personalityCard::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(240, 219, 170, 0.45);
  pointer-events: none;
  display: none;
}

.personalityCard::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 18px;
  border: 1px solid rgba(240, 219, 170, 0.2);
  pointer-events: none;
  display: none;
}

.personalityCardInner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.personalityLabel {
  margin: 0 0 14px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  display:none;
}

.personalityCardContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.personalityCard h2 {
  margin: 0 0 16px;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  font-weight: 700;
}

.personalityDescription {
  margin: 0 auto;
  max-width: 24ch;
  font-size: 1.3rem;
  line-height: 1.5;
  opacity: 0.92;
}

.personalityOrnament {
    font-size: 1.4rem;
    line-height: 1;
    display: none;
    color: rgba(240, 219, 170, 0.9);
}
.personalityOrnamentTop {
  margin-bottom: 8px;
}

.personalityOrnamentBottom {
  margin-top: 8px;
}

.personalityActions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 2em auto;
}

.personalityBtn {
  min-width: 130px;
  padding: 14px 20px;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.personalityBtn:hover {
  transform: translateY(-2px);
}

.personalityBtnPrimary {
  background: #1a1a1a;
  color: white;
}

.personalityBtnGhost {
  background: #ece8df;
  color: #1a1a1a;
}

.enter-from-left {
  animation: cardInLeft 0.45s cubic-bezier(.22,.61,.36,1) both;
}

.enter-from-right {
  animation: cardInRight 0.45s cubic-bezier(.22,.61,.36,1) both;
}

@keyframes cardInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px) rotateY(20deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0) scale(1);
  }
}

@keyframes cardInRight {
  from {
    opacity: 0;
    transform: translateX(40px) rotateY(-20deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0) scale(1);
  }
}

/* answers */

#quiz button.quizAnswer {
    appearance: none;
    outline: none;
    display: block;
    width: 100%;
    padding: 18px 22px;
    margin-bottom: 14px;
    border-radius: 0;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    background: #3f256a;
    position: relative;
    border: 1px solid #ffd021;
    opacity: 0;
    transform: translateY(8px);
    animation: answerFade 0.35s ease forwards;
}
#quiz button.quizAnswer:hover,
#quiz button.quizAnswer:focus {

  transform: translateY(-3px);

  background:#653072;

  box-shadow: 0 16px 32px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,220,150,0.45),
    0 0 14px rgba(255,180,80,0.2);
}

#quiz button.quizAnswer:active {
  transform: translateY(1px);
}

.quizAnswer::before {
  content: "✦";
  margin-right: 10px;
  color: rgba(240,219,170,0.8);
}

@keyframes answerFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.steps {
    background-color: #ffffffc2;
    width: fit-content;
    padding: 0.5em;
    border-radius: 0.25em;
    font-weight: bold;
    font-family: sans-serif;
}

/* home panel */
.homeMessage {
  max-width: 520px;
  padding: 48px 40px;
  text-align: center;
  border-radius: 28px;
  position: relative;
  color: #fff;
}

.homeMessage::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  pointer-events: none;
}

.homeMessage h1 {
    font-size: 6rem;
    font-weight: 600;
    line-height: 1.1;
    margin: 0;
}

.homeMessage p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

#startQuiz {
    border-radius: 15px;
    corner-shape: scoop;
    display: inline-block;
    padding: 16px 34px;
    font-size: 1.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    color: #3f256a;
    background-color: #ffd021;
    box-shadow: 0 10px 20px rgba(0,0,0,0.35),
    inset 0 2px 3px rgba(255,255,255,0.35);
    transition: all 0.2s ease;
    font-family: "tt-modernoir", sans-serif;
}

#startQuiz:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.45), 0 0 18px rgba(255,215,120,0.35);
}

/* results */
.resultStage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 20px 0 40px;
}

.resultIntro {
  margin: 0;
  text-align: center;
  color: #f5e9d0;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: none;
}

.tarotCardGrid {
    display: grid;
    gap: 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.tarotCardGrid--tie {
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
}

.tarotResultCard {
    position: relative;
    padding: 14px;
}

.tarotResultCard::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255,220,150,0.45);
  pointer-events: none;
  display: none;
}

.tarotResultCard::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--result-accent, #d4af37) 40%, rgba(255,220,150,0.15));
  pointer-events: none;
  opacity: 0.8;
  display: none;
}

.tarotCardGrid .tarotResultCard:not(:first-child) {
  display: none;
}

.tarotResultInner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px 22px 26px;
  color: #f5e9d0;
}

.tarotResultCard--secondary {
  min-height: 500px;
}

.tarotResultCard--empty {
  width: min(100%, 420px);
}

.tarotKicker {
    margin: 0;
    color: #fff;
    font-size: 1em;
    letter-spacing: 0.18em;
    font-weight: bold;
    opacity: 0.9;
}

.tarotResultCard h2, .tarotResultCard h3 {
    margin: 0;
    line-height: 1.05;
    color: #ffd021;
    font-family: "tt-modernoir", sans-serif;
    margin-bottom: 1em;
}

.tarotResultCard h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.tarotResultCard h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.tarotScore {
  margin: 0;
  font-size: 1rem;
  color: #f5e9d0;
  opacity: 0.9;
}

.tarotImageWrap {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1.2;
    display: none;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,220,150,0.35);
    box-shadow: 0 14px 28px rgba(0,0,0,0.28),
    inset 0 0 0 1px rgba(255,255,255,0.06);
    background: radial-gradient(circle at center, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.tarotImageWrap--small {
  max-width: 180px;
}

.tarotImage {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resultMeta {
  width: min(100%, 520px);
  padding: 18px 22px;
  border-radius: 20px;
  background: rgba(35, 10, 20, 0.72);
  color: #f5e9d0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
}

.resultMeta p {
  margin-top: 0;
}

.resultTopList {
  margin: 0;
  padding-left: 20px;
}

.resultTopList li {
  padding: 3px 0;
}

.goldButton {
  display: inline-block;
    padding: 16px 34px;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 0;
    border: none;
    cursor: pointer;
    color: #3f256a;
    background-color: #ffd021;
    box-shadow: 0 10px 20px rgba(0,0,0,0.35),
    inset 0 2px 3px rgba(255,255,255,0.35);
    transition: all 0.2s ease;
    font-family: "tt-modernoir", sans-serif;
}
.goldButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.45), 0 0 18px rgba(255,215,120,0.22);
}

.goldButton--small {
  padding: 12px 20px;
  font-size: 0.95rem;
}

.goldButton--restart {
    margin-top: 4px;
    background-color: transparent;
    color: #fff;
    border: 2px solid;
    corner-shape: scoop;
    border-radius: 16px;
}

.reveal-card {
  animation: tarotReveal 0.55s cubic-bezier(.22,.61,.36,1) both;
}

.reveal-card-delay {
  animation-delay: 0.14s;
}

@keyframes tarotReveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96) rotate(-1.2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@media (max-width: 900px) {
    .tarotCardGrid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .tarotResultCard--primary,
    .tarotResultCard--secondary {
        min-height: auto;
    }
    .homeMessage h1 {
        font-size: 3.5rem;
        FONT-WEIGHT: 600;
        line-height: 1.1;
        margin: 0;
    }

    #startQuiz {
        border-radius: 15px;
        corner-shape: scoop;
        display: inline-block;
        padding: 16px 34px;
        font-size: 1.4rem;
        font-weight: 700;
        border: none;
        cursor: pointer;
        color: #3f256a;
        background-color: #ffd021;
        box-shadow: 0 10px 20px rgba(0,0,0,0.35),
        inset 0 2px 3px rgba(255,255,255,0.35);
        transition: all 0.2s ease;
        font-family: "tt-modernoir", sans-serif;
    }
    div#quiz {
        display: flex;
        align-items: center;
        min-width: 100dvw;
        min-height: 100dvh;
        box-sizing: border-box;
        padding: 4em;
        justify-content: center;
    }
}

.bodyFont{
    font-family: "tt-modernoir", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.titleFont {
    font-family: "tt-modernoir", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: #ffd021;
}

.boldFont{
    font-family: "tt-modernoir", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.corner {
    position: absolute;
    width: 190px;
    height: 150px;
    background-image: url('/SiteElements/2026/future-finder/frame.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
    z-index: 10;
    margin: 10px;
}

.corner-tr {
    top: 0;
    right: 0;
}

.corner-tl {
    top: 0;
    left: 0;
    transform: scaleX(-1);
}

.corner-br {
    bottom: 0;
    right: 0;
    transform: scaleY(-1);
}

.corner-bl {
    bottom: 0;
    left: 0;
    transform: scaleX(-1) scaleY(-1);
}

.frame-content {
    position: relative;
    z-index: 1;
}

/* flava */
.ornament {
    position: absolute;
    left: 50%;
    width: 160px;
    height: 10px;
    background-image: url('/SiteElements/2026/future-finder/flavour.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
}

.ornament-top {
    top: 60px;
}

.ornament-bottom {
    bottom: 60px;
    transform: translateX(-50%) scaleY(-1);
}

.ornament-left {
    left: 20px;
}

.ornament-right {
    right: 0px;
}

.ornamentHz {
    position: absolute;
    top: calc(50dvh - 80px);
    width: 20px;
    height: 160px;
    background-image: url('/SiteElements/2026/future-finder/flavour2.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 10;
}

.form-container {
    display: flex;
    align-items: center;
    min-width: 100dvw;
    min-height: 100dvh;
    justify-content: center;
}

  .hs-form-frame {
    z-index: 999;
  }

.hs-form-theme {
  --hsf-default-background__padding: 1em;
  --hsf-richtext__color: #fff;
  --hsf-default-richtext__font-size: 1.1rem;
  --hsf-field-label__color: #fff;
  --hsf-erroralert__color: #FFD021;
  --hsf-field-label-requiredindicator__color: #FFD021;
  --hsf-heading__color: #FFD021;
  --hsf-heading__font-family: "tt-modernoir", sans-serif;
}

.hs-form-theme h1 {
  margin-bottom: 0;
}

.hs-form-html {
  max-width: 75%;
}

.hsfc-RichText p {
  opacity: 0.9;
  font-size: 1.1rem !important;
}


body.form::before {
  outline: unset;
}

@media (max-width: 900px) {
    .form-container {
        display: flex;
        align-items: center;
        min-width: 100dvw;
        min-height: 100dvh;
        box-sizing: border-box;
        padding: 4em;
        justify-content: center;
    }

    .hs-form-html {
      max-width: 100%;
  }
}