:root {
    --main-bg-color: #08001c;
}


body {
    background-color: var(--main-bg-color);
    font-family: "Poppins", sans-serif;
    color: #fff;
}

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 30px 0px;
    text-align: center;
}

.top-bar img {max-width: 200px;}


.hero-circle {
    width: 1200px;
    height: 1200px;
    left:0;
    right:0;
    top:-20px;
    margin: 0 auto;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-variation-settings: normal;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    font-family: Poppins, sans-serif;
    font-feature-settings: "clig" off, "liga" off;
    color: rgb(255 255 255/var(--tw-text-opacity));
    box-sizing: border-box;
    border: 0 solid;
    position: absolute;
    transform: rotate(180deg);
    z-index: -1;
    flex-shrink: 0;
    border-radius: 100%;
    opacity: 0.4;
    mix-blend-mode: luminosity;
    rotate: 180deg;
    background: radial-gradient(60.42% 60.42% at 50.02% 60.42%, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.00) 69.42%, rgba(255, 255, 255, 0.08) 75.33%, rgba(255, 255, 255, 0.13) 80.42%, rgba(255, 255, 255, 0.31) 86.39%, rgba(255, 255, 255, 0.57) 92.19%, #FFF 100%);
    box-shadow: 0px -20px 40px 0px rgba(255, 255, 255, 0.60);
}

.hero {
    max-width: 800px;
    margin-top: 200px;
    text-align: center;
    color: #fff;
}

.hero h1 {
mask-image: linear-gradient(115deg, #fff 44.32%, hsla(0, 0%, 100%, 0) 95.17%);
-webkit-mask-image: linear-gradient(115deg, #fff 44.32%, hsla(0, 0%, 100%, 0) 95.17%);
}

.hero p {
    font-size: 20px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}


@keyframes rotate {
    0% {
        transform: perspective(400px) rotateZ(20deg) rotateX(-40deg) rotateY(0);
    }

    100% {
        transform: perspective(400px) rotateZ(20deg) rotateX(-40deg) rotateY(-360deg);
    }
}

.stars-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.stars {
    transform: perspective(500px);
    transform-style: preserve-3d;
    position: absolute;
    bottom: 0;
    perspective-origin: 50% 100%;
    left: 50%;
    animation: rotate 240s infinite linear;
    z-index: -1;
}

.star {
    width: 1px;
    height: 1px;
    background: #F7F7B6;
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0 -300px;
    transform: translate3d(0, 0, -300px);
    backface-visibility: hidden;
}


.cards {
    text-align: center;
}
.cards .single-card {
    display: inline-block;
    padding: 8px;
    vertical-align: top;
    text-align: center;
}
.cards .single-card img{
    border-radius: 12px;
    border: 2px solid rgba(196, 181, 253, 0.22);
    max-width: 195px;
    transition: all 0.45s ease;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.cards .single-card img:hover {
    border-color: rgba(192, 132, 252, 0.9);
    transform: translateY(-4px) scale(1.03);
}

.cards .single-card.revealed img {
    cursor: default;
    border-color: rgba(167, 139, 250, 0.65);
    box-shadow: 0 14px 36px rgba(124, 58, 237, 0.35);
}

.cards .single-card.revealed img:hover {
    transform: none;
}

.tf-card-caption {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #e9d5ff;
    letter-spacing: 0.03em;
    min-height: 22px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cards .single-card.revealed .tf-card-caption {
    opacity: 1;
}


@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(0px, 0px) rotate(0deg); }
}

.shake {
    display: inline-block;
    padding: 20px;
    margin: 20px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    animation: shake 0.6s infinite;
}

.buttons {
    text-align: center;
    margin-top: 20px;
    display: none;
}

.continue-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 2, 16, 0.76);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 997;
    display: none;
}


.continue-button {
    margin: auto;
    background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 52%, #a855f7 100%);
    color: #fff;
    padding: 12px 26px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 240px;
    height: 56px;
    text-align: center;
    z-index: 998;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.45);
    border: 1px solid rgba(216, 180, 254, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.continue-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(139, 92, 246, 0.6);
}

.reset-button {
    display: block;
    color: rgba(216, 180, 254, 0.78);
    margin-top: 16px;
    font-size: 14px;
    cursor: pointer;
}

.reset-button span:hover {
    color: #fff;
    text-decoration: underline;
}

.tarot-form {
    position: fixed;
    display: none;
    width: min(440px, calc(100vw - 28px));
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    padding: 28px 24px 24px;
    background: linear-gradient(165deg, rgba(24, 15, 48, 0.96) 0%, rgba(11, 6, 26, 0.98) 100%);
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.72), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.tf-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.tf-modal-title {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.tf-modal-sub {
    font-size: 13px;
    color: #b4a9cf;
    margin: 0 0 18px;
}

.tf-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e9d5ff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tf-modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.form-control {
    margin: 0 0 13px;
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    font-size: 14.5px;
    width: 100%;
    max-width: 100%;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: #a78bfa !important;
    background-color: rgba(139, 92, 246, 0.09) !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22) !important;
}

.form-control option {
    background-color: #140b29;
    color: #f5f3ff;
}

.form-control::placeholder {
    color: rgba(196, 185, 224, 0.55);
}

.tf-form-err {
    display: none;
    margin-bottom: 12px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(248, 113, 113, 0.36);
    color: #fecaca;
    font-size: 13px;
}

.tf-form-err.visible {
    display: block;
}

.btn-submit {
    background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 52%, #a855f7 100%);
    color: #fff;
    padding: 10px 16px;
    border-radius: 13px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.2s ease;
    width: 100%;
    height: 52px;
    border: 1px solid rgba(216, 180, 254, 0.35);
    box-shadow: 0 12px 26px rgba(124, 58, 237, 0.42);
}

.btn-submit:hover {
    color: #fff;
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(139, 92, 246, 0.55);
}

/* Tarot Card-Based Teaser + Blurred Continuation + WhatsApp CTA */
.tf-result-section {
    max-width: 760px;
    margin: 28px auto 0;
    padding: 28px 26px 30px;
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(22, 13, 46, 0.88) 0%, rgba(10, 5, 24, 0.94) 100%);
    border: 1px solid rgba(167, 139, 250, 0.26);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 68px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    text-align: left;
}

.tf-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.16);
    border: 1px solid rgba(167, 139, 250, 0.34);
    color: #e9d5ff;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.tf-result-title {
    font-size: clamp(21px, 3vw, 27px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.3;
}

.tf-chosen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.tf-chosen-grid.tf-single {
    grid-template-columns: minmax(240px, 380px);
    justify-content: center;
}

.tf-chosen-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.tf-chosen-item img {
    width: 44px;
    height: 70px;
    object-fit: cover;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
}

.tf-chosen-pos {
    display: block;
    font-size: 11px;
    color: #a78bfa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.tf-chosen-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #f8f7ff;
    line-height: 1.25;
}

.tf-teaser-box {
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.22);
    margin-bottom: 18px;
}

.tf-teaser-box p {
    font-size: 15px;
    line-height: 1.72;
    color: #ece8fa;
    margin: 0 0 12px;
}

.tf-teaser-box p:last-child {
    margin-bottom: 0;
}

.tf-teaser-box strong {
    color: #d8b4fe;
    font-weight: 600;
}

.tf-locked-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(34, 197, 94, 0.28);
    background: rgba(139, 92, 246, 0.06);
    min-height: 365px;
}

.tf-blurred-copy {
    padding: 22px 24px 36px;
    filter: blur(4.2px);
    -webkit-filter: blur(4.2px);
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    opacity: 0.85;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.72) 65%, rgba(0, 0, 0, 0.2) 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.72) 65%, rgba(0, 0, 0, 0.2) 100%);
}

.tf-blurred-copy h4 {
    font-size: 16px;
    font-weight: 700;
    color: #e9d5ff;
    margin: 0 0 8px;
}

.tf-blurred-copy p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #ede9fe;
    margin: 0 0 14px;
}

.tf-wa-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 64px 20px 24px;
    background: linear-gradient(180deg, rgba(10, 7, 26, 0.08) 0%, rgba(10, 7, 26, 0.56) 42%, rgba(10, 7, 26, 0.88) 100%);
}

.tf-wa-card {
    max-width: 440px;
    width: 100%;
    padding: 24px 22px;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(20, 16, 44, 0.94) 0%, rgba(10, 8, 26, 0.96) 100%);
    border: 1px solid rgba(34, 197, 94, 0.42);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.tf-wa-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 163, 74, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.42);
    color: #4ade80;
}

.tf-wa-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.tf-wa-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #cfc7e6;
    margin: 0 0 18px;
}

.tf-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    padding: 0 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #15803d 0%, #16a34a 52%, #22c55e 100%);
    border: 1px solid rgba(74, 222, 128, 0.48);
    color: #fff !important;
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.4);
    transition: transform 0.16s ease, box-shadow 0.2s ease;
}

.tf-wa-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 16px 34px rgba(34, 197, 94, 0.5);
}

.tf-wa-note {
    font-size: 12px;
    color: #9f94c0;
    margin-top: 10px;
}

.tf-result-actions {
    text-align: center;
    margin-top: 18px;
}

.tf-reset-link {
    color: #c4b5fd;
    font-size: 13.5px;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 8px;
}

.tf-reset-link:hover {
    color: #fff;
}

@media screen and (max-width: 720px) {
    .tf-chosen-grid {
        grid-template-columns: 1fr;
    }
    .tf-result-section {
        padding: 20px 16px 22px;
    }
    .tf-locked-wrap {
        min-height: 360px;
    }
}


.loading-pulse {
    position: relative;
    width: 6px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-animation: pulse 750ms infinite;
    animation: pulse 750ms infinite;
    -webkit-animation-delay: 250ms;
    animation-delay: 250ms;
    border-radius: 10px;
    left: 0;
    right: 0;
    margin: auto;
}

.loading-pulse:before,
.loading-pulse:after {
    content: "";
    position: absolute;
    display: block;
    height: 16px;
    width: 6px;
    background: rgba(255, 255, 255, 0.2);
    top: 50%;
    border-radius: 10px;
    transform: translateY(-50%);
    -webkit-animation: pulse 750ms infinite;
    animation: pulse 750ms infinite;
}

.loading-pulse:before {
    left: -12px;
}

.loading-pulse:after {
    left: 12px;
    -webkit-animation-delay: 500ms;
    animation-delay: 500ms;
}

.form-loading {
    display: none;
    width: 100%;
    height: 100%;
    padding: 100px 20px;
    text-align: center;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 300px;
}

.form-loading p {
    margin-top: 20px;
    font-size: 2rem;
}

.form-loading p span {
    display: block;
    font-size: 1.4rem;
    opacity: 0.5;
}

.container.context {
    max-width: 700px;
    margin-top: 200px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.container.context p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8)  
}
.container.context h2 {
  font-size: 20px;
  margin-top: 20px;  
  font-weight: 600;
}
.container.context h3 {
  font-size: 16px;  
  font-weight: 600;
}

@-webkit-keyframes pulse {
    50% {
        background: white;
    }
}

@keyframes pulse {
    50% {
        background: white;
    }
}

@media screen and (max-width: 600px) {
    .hero-circle {
        width: 320px;
        height: 320px;
    }

    .cards .single-card img {
        max-width: 120px;
    }

    .hero {
        margin-top: 100px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 17px;
    }
}