#quiz-container{

    position:fixed;

    inset:0;

    z-index:999999;

    background:#F7F2FF;

    overflow-y:auto;

}

.quiz-screen{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:24px;

    box-sizing:border-box;

}

.quiz-page{

    position:relative;

    width:100%;

    max-width:420px;

    min-height:92vh;

    border-radius:36px;

    overflow:hidden;

    background:
        radial-gradient(circle at 25% 15%,rgba(170,125,255,.28),transparent 35%),
        radial-gradient(circle at 85% 35%,rgba(126,93,255,.22),transparent 28%),
        linear-gradient(180deg,#F7F2FF 0%,#F3EDFF 100%);

    display:flex;

    flex-direction:column;

    align-items:center;

    padding:36px 28px 34px;

    box-sizing:border-box;

}

.quiz-page::before{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    border-radius:50%;

    background:rgba(176,136,255,.22);

    filter:blur(70px);

    top:-80px;

    left:-80px;

}

.quiz-page::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    border-radius:50%;

    background:rgba(132,94,255,.18);

    filter:blur(70px);

    right:-70px;

    top:240px;

}

.quiz-charts{

    position:relative;

    width:100%;

    height:270px;

    margin-top:8px;

}

.chart-left{

    position:absolute;

    width:230px;

    left:5px;

    top:0;

    transform:rotate(-10deg);

    filter:drop-shadow(0 25px 50px rgba(0,0,0,.12));

}

.chart-right{

    position:absolute;

    width:150px;

    right:8px;

    top:70px;

    transform:rotate(10deg);

    filter:drop-shadow(0 20px 40px rgba(0,0,0,.10));

}

.quiz-text{

    position:relative;

    z-index:2;

    text-align:center;

    margin-top:10px;

}

.quiz-text h1{

    font-size:34px;

    line-height:1.18;

    font-weight:800;

    color:#181818;

    margin:0 0 24px;

}

.quiz-text p{

    font-size:20px;

    line-height:1.55;

    color:#444;

    margin:0 0 22px;

}


.quiz-button:active{

    transform:scale(.98);

}

.quiz-page{

    width:100%;

    max-width:430px;

    margin:0 auto;

    padding:28px 22px 34px;

    box-sizing:border-box;

}

.hero-decoration{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:18px;

    margin-top:10px;

    margin-bottom:22px;

}

.hero-decoration .line{

    width:96px;

    height:2px;

    background:#D8C8FF;

}

.hero-decoration .star{

    color:#8B5CF6;

    font-size:22px;

}

.quiz-title{

    margin:0;

    text-align:center;

    font-size:44px;
    line-height:1.05;

    line-height:.95;

    font-weight:800;

    color:#101010;

}

.quiz-subtitle{

    margin:28px 0 18px;

    text-align:center;

    color:#7A55F6;

    font-size:24px;
    line-height:1.25;

    line-height:1.2;

    font-weight:600;

}

.quiz-description{

    margin:0 auto;

    max-width:340px;

    text-align:center;

    font-size:18px;

    line-height:1.55;

    max-width:360px;

    line-height:1.45;

    color:#222;

}

/* ==========================
   COMPARE SECTION
========================== */

.compare-wrapper{
    position:relative;
    width:100%;
    height:285px;
    margin-top:24px;
}

.compare-card:first-child{
    position:absolute;
    left:0;
    top:18px;
    width:150px;
    transform:rotate(-6deg);
    z-index:2;
}

.compare-card:last-child{
    position:absolute;
    right:0;
    top:0;
    width:150px;
    transform:rotate(6deg);
    z-index:3;
}

.compare-card{

      width:135px;

    background:#fff;

     border-radius:28px;

    padding:22px 18px 24px;

    box-sizing:border-box;

    box-shadow:

        0 20px 60px rgba(123,90,255,.10),

        0 2px 10px rgba(0,0,0,.04);

}

.compare-card img{

    width:100%;

    margin-top:18px;

    display:block;

}

.leo-title{

    text-align:center;

    font-size:22px;

    font-weight:700;

    color:#161616;

    margin-bottom:12px;

}

.leo-title::before{

    content:"♌";

    color:#7A55F6;

    margin-right:8px;

}

.birth-date{

    text-align:center;

    font-size:13px;

    color:#222;

}

.birth-time{

    text-align:center;

    font-size:14px;

    font-weight:600;

    color:#7A55F6;

    margin-top:4px;

}

.birth-city{

    text-align:center;

    font-size:13px;

    color:#333;

    margin-top:4px;

    margin-bottom:12px;

}

.compare-chart{

    width:112%;
    margin-left:-6%;
    margin-top:12px;

}

.compare-middle{
    position:absolute;
    left:calc(50% + 25px);
    top:38%;
    transform:translate(-50%,-50%);
    z-index:20;
}

.compare-middle .neq{

    font-size:70px;

}

.compare-middle p{

    font-size:16px;

    line-height:1.15;

}

.compare-symbol{

    font-size:62px;

    color:#7A55F6;

    font-weight:800;

    line-height:1;

}

.compare-text{

    margin-top:8px;

    font-size:14px;

    line-height:1.15;

    color:#7A55F6;

    text-align:center;

    width:120px;

    margin-left:-45px;

}

.quiz-button{
    width:100%;
    height:68px;

    margin-top:32px;
    flex-shrink:0;

    border:none;
    border-radius:22px;

    background:#7A55F6;
    color:#fff;

    font-size:24px;
    font-weight:700;

    cursor:pointer;

    box-shadow:0 20px 45px rgba(122,85,246,.28);

    transition:.2s;
}

.quiz-button:hover{
    transform:translateY(-2px);
}

.quiz-button:active{
    transform:scale(.98);
}

/* ==========================
   QUIZ 2
========================== */

.quiz-page-2{
    max-width:430px;
    padding:28px 22px 34px;
}

.quiz2-title{
    margin:0;
    text-align:center;
    font-size:58px;
    line-height:.95;
    font-weight:800;
    color:#101010;
}

.quiz2-title span{
    display:block;
    margin-top:8px;
    background:linear-gradient(180deg,#B08BFF,#6E46F5);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.quiz2-subtitle{
    margin:34px auto 0;
    max-width:330px;
    text-align:center;
    font-size:20px;
    line-height:1.45;
    color:#202020;
}

.quiz2-subtitle strong{
    color:#7A55F6;
}

/* ==========================
   QUIZ 2 CONTENT
========================== */

.quiz2-content{
    margin-top:42px;
    display:flex;
    align-items:flex-start;
    gap:18px;
}

.quiz2-left{
    width:42%;
}

.quiz2-right{
    width:58%;
    display:flex;
    justify-content:center;
    align-items:flex-start;
}

.quiz2-text{
    margin:0 0 22px;
    font-size:17px;
    line-height:1.55;
    color:#202020;
}

.quiz2-text strong{
    color:#7654F4;
    font-weight:700;
}

.feature{
    display:flex;
    align-items:center;
    gap:14px;

    background:rgba(255,255,255,.72);
    backdrop-filter:blur(16px);

    border-radius:18px;

    padding:14px 16px;

    margin-bottom:14px;

    box-shadow:
        0 10px 28px rgba(129,97,255,.08);
}

.feature span{
    width:44px;
    height:44px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;

    background:linear-gradient(180deg,#F7F3FF,#ECE3FF);
}

.feature b{
    font-size:16px;
    line-height:1.25;
    color:#151515;
}

.quiz2-chart{
    width:128%;
    max-width:none;
    display:block;
    margin-top:34px;
    margin-right:-56px;
}

/* ==========================
   QUIZ 2 MOBILE
========================== */

@media (max-width: 768px){

    .quiz-page-2{
        min-height:92vh;
    }

    .quiz2-title{
        font-size:38px;
    }

    .quiz2-subtitle{
        font-size:18px;
        margin-top:22px;
    }

    .quiz2-content{
        flex-direction:column;
        gap:26px;
        margin-top:28px;
    }

    .quiz2-left,
    .quiz2-right{
        width:100%;
    }

    .quiz2-chart{
        width:100%;
        margin:0;
    }

    .feature{
        margin-bottom:12px;
    }

    .quiz-button{
        margin-top:28px;
    }
}

.quiz-page-2 > *{
    position: relative;
    z-index: 2;
}

.quiz-page::before,
.quiz-page::after{
    z-index: 0;
}

.quiz-page{
    isolation: isolate;
}