/**
 * Osho Zen Tarot - Scoped Premium Styles
 */

#osho-app {
    --t: #C4714A;
    --td: #A85A35;
    --tl: #D4876A;
    --nu: #E8D5C4;
    --nl: #F2E8DF;
    --cr: #FAF6F2;
    --bk: #5C4038;
    --mi: #8A6858;
    --dk: #2A1A14;

    font-family: 'DM Sans', sans-serif;
    background: var(--cr);
    color: var(--dk);
    min-height: 600px;
    position: relative;
    overflow: hidden;
    line-height: 1.6;
}

#osho-app *,
#osho-app *::before,
#osho-app *::after {
    box-sizing: border-box;
}

/* NAV */
#osho-app .nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250, 246, 242, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(196, 113, 74, 0.1);
}

#osho-app .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--dk);
}

#osho-app .nav-logo em {
    color: var(--t);
    font-style: italic;
}

#osho-app .nav-back {
    font-size: 11px;
    color: var(--mi);
    cursor: pointer;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .2s;
}

#osho-app .nav-back:hover {
    color: var(--t);
}

/* PROGRESS BAR */
#osho-app .pbar {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    z-index: 199;
    padding: 7px 40px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(250, 246, 242, 0.9);
    border-bottom: 1px solid rgba(196, 113, 74, 0.06);
}

#osho-app .pbar.on {
    display: flex;
}

#osho-app .pi {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: var(--mi);
    opacity: .38;
    transition: all .3s;
    font-weight: 400;
}

#osho-app .pi.active {
    opacity: 1;
    color: var(--t);
}

#osho-app .pi.done {
    opacity: .65;
    color: var(--t);
}

#osho-app .pi-n {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 500;
}

#osho-app .pi.done .pi-n {
    background: var(--t);
    border-color: var(--t);
    color: #fff;
}

#osho-app .pi-line {
    width: 18px;
    height: 1px;
    background: rgba(196, 113, 74, .18);
}

/* STEPS */
#osho-app .step {
    display: none;
    min-height: 80vh;
    padding: 100px 24px 60px;
    position: relative;
    z-index: 1;
}

#osho-app #s1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 15% 20%, rgba(196, 113, 74, .10) 0%, transparent 62%), radial-gradient(ellipse 55% 70% at 88% 82%, rgba(232, 213, 196, .45) 0%, transparent 58%);
    pointer-events: none;
}

#osho-app #s2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 45% at 82% 28%, rgba(196, 113, 74, .07) 0%, transparent 56%);
    pointer-events: none;
}

#osho-app #s3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 72% 58% at 50% 0%, rgba(196, 113, 74, .08) 0%, transparent 50%);
    pointer-events: none;
}

#osho-app #s4::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 66% 66% at 50% 50%, rgba(232, 213, 196, .36) 0%, transparent 60%);
    pointer-events: none;
}

#osho-app #s5::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 56% 56% at 50% 36%, rgba(196, 113, 74, .09) 0%, transparent 56%), radial-gradient(ellipse 74% 36% at 50% 100%, rgba(232, 213, 196, .36) 0%, transparent 50%);
    pointer-events: none;
}

#osho-app .step.on {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* HERO ANIMATIONS */
@keyframes fu {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes orb {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes hpulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

#osho-app .orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: orb linear infinite;
    z-index: -1;
}

#osho-app .o1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(196, 113, 74, .08), transparent 70%);
    top: -100px;
    right: -100px;
    animation-duration: 18s;
}

#osho-app .o2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(232, 213, 196, .3), transparent 70%);
    bottom: 50px;
    left: -50px;
    animation-duration: 22s;
    animation-delay: -5s;
}

/* HERO CONTENT */
#osho-app .hero {
    max-width: 650px;
    text-align: center;
}

#osho-app .bmark {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--t);
    margin-bottom: 28px;
    opacity: 0;
    animation: fu 0.9s ease 0.1s forwards;
}

#osho-app .h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 8vw, 70px);
    font-weight: 300;
    line-height: 1.07;
    letter-spacing: -0.02em;
    color: var(--dk);
    margin-bottom: 20px;
    opacity: 0;
    animation: fu 0.9s ease 0.25s forwards;
}

#osho-app .h1 em {
    font-style: italic;
    color: var(--t);
}

#osho-app .hsub {
    font-size: 16px;
    font-weight: 300;
    color: var(--mi);
    line-height: 1.72;
    max-width: 400px;
    margin: 0 auto 36px;
    opacity: 0;
    animation: fu 0.9s ease 0.42s forwards;
}

#osho-app .btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #fff;
    background: var(--t);
    border: none;
    border-radius: 100px;
    padding: 16px 52px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 15px rgba(196, 113, 74, 0.2);
}

#osho-app .btn:hover {
    background: var(--td);
    transform: translateY(-2px);
    box-shadow: 0 13px 34px rgba(196, 113, 74, 0.34);
}

#osho-app .btn:disabled {
    background: #ccc;
    cursor: default;
    transform: none;
    box-shadow: none;
}

/* CARD FANNING */
#osho-app .pfan-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 52px;
    opacity: 0;
    animation: fu 1.1s ease 0.8s forwards;
}

#osho-app .pfan {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

#osho-app .pcard-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#osho-app .pcard {
    width: 76px;
    height: 116px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(196, 113, 74, 0.3);
    background: #fff;
    transition: transform 0.3s ease;
}

#osho-app .pcard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#osho-app .pcard-item:nth-child(1) .pcard {
    transform: rotate(-8deg) translateY(8px);
    z-index: 1;
}

#osho-app .pcard-item:nth-child(2) .pcard {
    transform: rotate(0deg);
    z-index: 3;
}

#osho-app .pcard-item:nth-child(3) .pcard {
    transform: rotate(8deg) translateY(8px);
    z-index: 2;
}

#osho-app .pcard-item:nth-child(2) {
    margin: 0 -10px;
    z-index: 3;
}

#osho-app .fan-labels {
    display: flex;
    justify-content: center;
    gap: 44px;
    margin-top: 12px;
}

#osho-app .fan-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-style: italic;
    color: var(--mi);
    font-weight: 400;
}

/* MINIFAN (Step 4) */
#osho-app .minifan {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

#osho-app .mc {
    width: 60px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(196, 113, 74, 0.2);
    border: 1px solid rgba(196, 113, 74, 0.25);
    background: #fff;
}

#osho-app .tc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#osho-app .tnum {
    font-size: 10px;
    font-family: 'DM Sans', sans-serif;
    color: var(--mi);
    font-weight: 300;
    letter-spacing: 0.04em;
}

#osho-app .tname {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    font-style: italic;
    color: var(--t);
    text-align: center;
    max-width: 74px;
    line-height: 1.25;
    min-height: 14px;
}

#osho-app .tc-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t);
    border: 1px dashed var(--t);
}

#osho-app .mc:nth-child(1) {
    transform: rotate(-8deg) translateX(5px);
    z-index: 1;
}

#osho-app .mc:nth-child(2) {
    transform: rotate(2deg) translateY(-6px);
    z-index: 3;
    margin: 0 -12px;
}

#osho-app .mc:nth-child(3) {
    transform: rotate(10deg) translateX(-5px);
    z-index: 2;
}

/* STEP 4: EMAIL */
#osho-app .ewrap {
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 1;
    text-align: center;
}

#osho-app .ebox {
    background: #fff;
    border-radius: 22px;
    padding: 38px 34px;
    border: 1.5px solid rgba(196, 113, 74, 0.09);
    box-shadow: 0 16px 68px rgba(42, 26, 20, 0.07);
}

#osho-app .eh2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 31px;
    font-weight: 400;
    color: var(--dk);
    line-height: 1.2;
    margin-bottom: 8px;
}

#osho-app .eh2 em {
    font-style: italic;
    color: var(--t);
}

#osho-app .email-sub-copy {
    font-size: 14px;
    font-weight: 300;
    color: var(--mi);
    line-height: 1.6;
    margin-bottom: 24px;
}

#osho-app .field {
    margin-bottom: 15px;
    text-align: left;
}

#osho-app .field label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--bk);
    margin-bottom: 8px;
}

#osho-app .field input {
    width: 100%;
    padding: 13px 18px;
    background: var(--cr);
    border: 1.5px solid rgba(196, 113, 74, 0.13);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--dk);
    outline: none;
    transition: all 0.3s;
}

#osho-app .field input:focus {
    border-color: var(--t);
    box-shadow: 0 0 0 3px rgba(196, 113, 74, 0.09);
    background: #fff;
}

#osho-app .field input::placeholder {
    color: rgba(90, 64, 56, 0.32);
}

/* STEP LABELS & TITLES */
#osho-app .slbl {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--t);
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}

#osho-app .slbl::before,
#osho-app .slbl::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--t);
    opacity: 0.36;
}

#osho-app .h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(27px, 4.5vw, 40px);
    font-weight: 400;
    line-height: 1.14;
    color: var(--dk);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    text-align: center;
}

#osho-app .h2 em {
    font-style: italic;
    color: var(--t);
}

#osho-app .theme-sub {
    font-size: 14px;
    font-weight: 400;
    color: var(--t);
    line-height: 1.65;
    text-align: center;
    max-width: 440px;
    margin: 0 auto 34px;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
}

/* THEMES */
#osho-app .tgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 900px;
    margin-bottom: 35px;
}

@media (max-width: 768px) {
    #osho-app .tgrid {
        grid-template-columns: 1fr;
    }
}

#osho-app .tc {
    background: #fff;
    border: 1.5px solid rgba(196, 113, 74, .12);
    border-radius: 20px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all .4s cubic-bezier(.2, 1, .3, 1);
    position: relative;
    text-align: left;
}

#osho-app .tc:hover {
    border-color: var(--tl);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(196, 113, 74, 0.15);
}

#osho-app .tc.active {
    border-color: var(--t);
    background: linear-gradient(145deg, #ffffff, var(--nl));
    box-shadow: 0 20px 50px rgba(196, 113, 74, 0.2);
}

#osho-app .tc-ck {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 22px;
    height: 22px;
    background: var(--t);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s;
}

#osho-app .tc.active .tc-ck {
    opacity: 1;
    transform: scale(1);
}

#osho-app .tc-ck svg {
    width: 12px;
    height: 12px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
}

#osho-app .tc-ic {
    font-size: 26px;
    margin-bottom: 15px;
    width: 46px;
    height: 46px;
    background: var(--nl);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

#osho-app .tc:hover .tc-ic,
#osho-app .tc.active .tc-ic {
    background: var(--t);
    transform: rotate(-4deg) scale(1.06);
}

#osho-app .tc-nm {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 3px;
    line-height: 1.2;
}

#osho-app .tc-tg {
    font-size: 10px;
    color: var(--t);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

#osho-app .tc-ds {
    font-size: 12px;
    color: var(--mi);
    font-weight: 300;
    line-height: 1.65;
    flex: 1;
}

#osho-app .tc-ln {
    height: 2px;
    background: linear-gradient(90deg, var(--t), transparent);
    border-radius: 2px;
    margin-top: 13px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#osho-app .tc:hover .tc-ln,
#osho-app .tc.active .tc-ln {
    transform: scaleX(1);
}

/* WHEEL CONTAINER */
#osho-app .wheel-container {
    position: relative;
    width: 500px;
    height: 500px;
    max-width: 90vw;
    max-height: 90vw;
    margin: 0 auto;
}

#osho-app .wheel-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #FAFAF8, #F2E8DF);
    border-radius: 50%;
    border: 2px solid rgba(196, 113, 74, 0.28);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 18px rgba(196, 113, 74, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

#osho-app .hub-sym {
    font-size: 24px;
    color: var(--t);
    animation: hpulse 3s ease-in-out infinite;
}

#osho-app .hub-txt {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--mi);
    margin-top: 2px;
}

#osho-app .wheel-ptr {
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 24px;
    background: linear-gradient(180deg, var(--t), transparent);
    border-radius: 3px;
    z-index: 21;
    filter: drop-shadow(0 0 5px rgba(196, 113, 74, 0.7));
}

#osho-app .wheel-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

#osho-app .spin-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--t);
    background: transparent;
    border: 1.5px solid rgba(196, 113, 74, 0.36);
    border-radius: 100px;
    padding: 10px 30px;
    cursor: pointer;
    transition: all 0.3s;
}

#osho-app .spin-btn:hover {
    background: rgba(196, 113, 74, 0.06);
    border-color: var(--t);
}

#osho-app .w-hint {
    font-size: 12px;
    color: var(--mi);
    font-weight: 300;
    font-style: italic;
    text-align: center;
}

/* TRAY */
#osho-app .tray {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

#osho-app .tslot {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.3;
    transition: opacity 0.5s;
}

#osho-app .tslot.filled {
    opacity: 1;
}

#osho-app .tc-img {
    width: 65px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid var(--t);
    margin-bottom: 8px;
    background: var(--nl);
}

#osho-app .tc-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--t);
    border: 1px dashed var(--t);
}

/* MODAL / GATE */
#osho-app .s-gate {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 26, 20, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#osho-app .gate-box {
    background: #fff;
    border-radius: 25px;
    padding: 45px 35px;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(196, 113, 74, 0.1);
}

#osho-app .gate-icon {
    font-size: 40px;
    color: var(--t);
    margin-bottom: 20px;
}

#osho-app .gate-h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    margin-bottom: 15px;
}

#osho-app .gate-h2 em {
    font-style: italic;
    color: var(--t);
}

#osho-app .gate-txt {
    font-size: 15px;
    color: var(--mi);
    margin-bottom: 30px;
}

#osho-app .gate-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* STEP 5: OUTCOME CONTENT */
#osho-app #s5 {
    padding: 56px 24px;
    position: relative;
}

#osho-app #s5::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 56% 56% at 50% 36%, rgba(196, 113, 74, .09) 0%, transparent 56%),
        radial-gradient(ellipse 74% 36% at 50% 100%, rgba(232, 213, 196, .36) 0%, transparent 50%);
    pointer-events: none;
}

#osho-app .cwrap {
    max-width: 460px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

#osho-app .cicon {
    width: 74px;
    height: 74px;
    background: linear-gradient(135deg, var(--t), var(--tl));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
    margin: 0 auto 24px;
    box-shadow: 0 14px 36px rgba(196, 113, 74, 0.3);
    animation: popIn .6s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

#osho-app .ch2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--dk);
    line-height: 1.14;
    margin-bottom: 13px;
}

#osho-app .ch2 em {
    font-style: italic;
    color: var(--t);
}

#osho-app .ctxt {
    font-size: 14px;
    font-weight: 300;
    color: var(--mi);
    line-height: 1.72;
    margin-bottom: 26px;
}

#osho-app .sitbox {
    background: var(--nl);
    border-left: 3px solid var(--t);
    border-radius: 0 13px 13px 0;
    padding: 16px 20px;
    text-align: left;
    margin-bottom: 26px;
}

#osho-app .sitlbl {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--t);
    margin-bottom: 5px;
}

#osho-app .sittxt {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--dk);
    line-height: 1.42;
}

#osho-app .ctacopy {
    font-size: 13px;
    color: var(--mi);
    font-weight: 300;
    margin-bottom: 11px;
}


/* Tinh chỉnh kh vực nút bấm */
#osho-app .gbtn {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--mi);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: .65;
    transition: opacity .2s;
}

#osho-app .tcta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#osho-app .reveal-btn-wrap {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

:where(.wp-site-blocks)>* {
    margin-block-start: 0;
}