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

:root {
    --font-family-primary: 'Nunito', sans-serif;
    --font-family-secondary: 'Cormorant', serif;;
    --bg-gradient: linear-gradient(145.38deg, #5D0F7C -16.96%, #0B032C 32.24%);
    --pulse-animation-duration: 1.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    background-color: rgba(11, 3, 44);
    padding-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    height: auto;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1.2rem;
    overflow: hidden;
}

.gradient {
    background: var(--bg-gradient);
}

.gradient-border {
    position: relative;
    background: linear-gradient(129.71deg, #FFE98D 21.75%, #FED694 27.3%, #FC3DD3 72.26%);
    border-radius: 12px;
    padding: 1px;
}

.horoscope-box {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.horoscope-box__container {
    border-radius: 12px;
    background-color: rgba(11, 3, 44);
}

.horoscope-box__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(94.51deg, rgba(178, 175, 254, 0.25) -24.59%, rgba(178, 175, 254, 0.08) 99.76%);
    border-radius: 12px;
    padding: 12px 16px;
}

.horoscope-box__about {
    margin-bottom: 4px;
    font-family: var(--font-family-primary);
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    background: linear-gradient(139.85deg, #FFE98D 23.4%, #FFFFFF 50.95%, #FC3DD3 94.69%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.horoscope-box__findout {
    font-family: var(--font-family-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    opacity: .8;
}

.users-online__wrap {
    display: inline-flex;
    align-items: center;
    margin-bottom: .8rem;
    gap: 8px;
    padding: 3px 8px;
    border-radius: 1000px;
    font-family: var(--font-family-primary);
    background: linear-gradient(94.51deg, rgba(178, 175, 254, 0.25) -24.59%, rgba(178, 175, 254, 0.08) 99.76%);
    color: #fff;
}

.hero-title {
    font-family: var(--font-family-secondary);
    margin-bottom: .7rem;
    font-size: 45px;
    line-height: 42px;
    font-weight: 700;
    color: #fff;
}

.hero-title span {
    font-style: oblique 14deg;
}

.hero-desc {
    position: relative;
    z-index: 1;
    font-family: var(--font-family-primary);
    font-weight: 400;
    color: #fff;
    opacity: .8;
}

.hero-desc span {
    font-weight: 700;
}

.hero-title__gradient--1 {
    background: linear-gradient(139.85deg, #FFE98D 23.4%, #FFFFFF 40.95%, #FC3DD3 94.69%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title__gradient--2 {
    background: linear-gradient(139.85deg, #FFE98D 30%, #FC3DD3 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.horoscope-icon {
    display: flex;
    justify-content: center;
    margin-top: -388px;
    margin-bottom: -446px;
    transform: scale(.5);
}

.cta-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.cta {
    width: 97%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 9.53px;
    z-index: 10;
    transition: all 0.3s ease;
    animation: pulse var(--pulse-animation-duration) ease-in-out infinite;
    will-change: transform;
    white-space: nowrap;
}

.cta__dot {
    border-radius: 50%;
}

.cta--test .cta__dot {
    background-color: rgb(178, 175, 254);
}

.cta__dot--small {
    width: 6.5px;
    height: 6.5px;
    aspect-ratio: 1;
}

.cta__dot--big {
    width: 12.7px;
    height: 12.7px;
    aspect-ratio: 1;
}

.cta__link-wrap {
    flex: 1;
    padding: .5rem;
    text-align: center;
    border-radius: 52.93px;
    border: 1.06px solid rgba(178, 175, 254, 0.32)
}

.cta__link {
    display: block;
    width: 100%;
    padding: 28.58px 16.94px;
    border-radius: 63.52px;
    color: #fff;
    font-family: var(--font-family-primary);
    font-size: 23.29px;
    font-weight: 800;
    line-height: 21.17px;
    text-transform: uppercase;
    box-shadow: 0px 2.12px 6.35px 0px rgba(240, 240, 255, 0.8) inset;
}

.cta--test .cta__link {
    background: rgba(97, 79, 254, 1);
}

.copyright {
    margin-top: 40px;
    font-family: var(--font-family-primary);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 4%;
    font-weight: 400;
    font-size: 9px;
    color: #fff;
    opacity: .3;
}


/* Quizz */
.quiz-bg {
    position: fixed;
    left: 0;
    right: 0;
    top: 100px;
    width: 100%;
    z-index: -1;
}

.quiz-bg-circle {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    z-index: -1;
}

.quiz-wrap {
    overflow: hidden;
}

.slider {
    transition: all .3s ease;
    will-change: transform;
}

.quiz {
    display: flex;
}

.quiz * {
    -webkit-tap-highlight-color: transparent;
}

.quiz-steps {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2rem;
}

.quiz-step {
    flex: 1;
    height: 3px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
}

.quiz-step-count {
    margin-left: .5rem;
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.quiz-step.active {
    background: rgb(97, 79, 254, 1);
}

.answer {
    position: relative;
    cursor: pointer;
    z-index: 10;
}

.question {
    min-width: 100%;
    padding: 1px;
}

.question__title {
    margin: 1rem 1rem 2rem 1rem;
    font-family: var(--font-family-secondary);
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    color: #fff;
}

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

.zodiac-gradient-border {
    position: relative;
    background: rgba(255, 255, 255, .2);
    border-radius: 16px;
    padding: 1px;
    transition: all .3s ease;
}

.zodiac-gradient-border.selected {
    background: linear-gradient(129.71deg, #FFE98D 21.75%, #FED694 27.3%, #FC3DD3 72.26%);
}

.zodiac-gradient-border.selected .answer {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)), linear-gradient(353.01deg, rgba(97, 79, 254, 0.4) 12.4%, rgba(97, 79, 254, 0) 63.76%);
}

/* .zodiac-gradient-border .zodiac-card img {
    transition: opacity .5s;
} */

.zodiac-gradient-border.selected .zodiac-card img.inactive {
    opacity: 0;
}

.zodiac-gradient-border.selected .zodiac-card img.active {
    opacity: 1;
}

.zodiac-gradient-border-container {
    height: 100%;
    background: #1E1840;
    border-radius: 16px;
    border: 1px solid;
    transition: all .3s ease;
}

.zodiac-gradient-border-wrap {
    height: 100%;
    position: relative;
    z-index: 1;
    border-radius: 16px;
    transition: all .3s ease;
}

.zodiac-card {
    height: 130px;
    position: relative;
    padding: 1rem 1rem 3rem 1rem;
    border-radius: 1rem;
    text-align: center;
    backdrop-filter: blur(21px);
}

.zodiac-card--aquarius img {
    position: relative;
    top: 20px;
}

.zodiac-card--gemini img {
    position: relative;
    bottom: 15px;
}

.zodiac-card img.active {
    opacity: 0;
}

.zodiac-card img {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);
}

.zodiac-card__title {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-family-primary);
    font-weight: 700;
    line-height: 15px;
    color: #fff;
}

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

.color-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 12px;
}

.element-card {
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
}

.element-card img {
    width: 100%;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.element-card__about {
    padding-top: 1rem;
    padding-bottom: .6rem;
}

.element-card__title {
    font-family: var(--font-family-primary);
    font-size: 15px;
    line-height: 15px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.element-card__desc {
    margin-top: .5rem;
    font-family: var(--font-family-primary);
    font-size: 10px;
    line-height: 15px;
    font-weight: 400;
    color: #fff;
    opacity: .5;
    text-align: center;
}

.question__img-wrap--landscape img {
    margin: 2rem 0 4.1rem 0;
    border-radius: 16px;
}

.question__img-wrap {
    display: flex;
    justify-content: center;
    margin: -2rem 0;
}

.question__img-wrap img {
    max-width: 100%;
}

.question__img-wrap--free-time {
    margin: .7rem 0 2rem 0;
}

.question__img-wrap--free-time img {
    border-radius: 16px;
}

.text-answer-option {
    margin-bottom: 1rem;
}

.text-answer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    border-radius: 16px;
}

.text-answer__circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    transition: all .2s ease;
}

.text-answer__circle svg {
    opacity: 0;
    transform: scale(.8);
    transition: all .2s ease;
}

.zodiac-gradient-border.selected .text-answer__circle {
    background: rgba(97, 79, 254);
    border-color: rgba(97, 79, 254);
}

.zodiac-gradient-border.selected .text-answer__circle svg {
    opacity: 1;
}

.text-answer__option {
    font-family: var(--font-family-primary);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

.user-hexagon {
    margin-top: 20px;
    margin-bottom: -70px;
}

.start-section.hide {
    display: none;
}

.quiz-section {
    display: none;
}

.quiz-section.active {
    display: block;
}