/* =========================================
   🎨 MUER – Glimpse of You
   Clean CSS (Floating + Fade-only)
   ========================================= */

@font-face {
    font-family: CN_Title;
    font-weight: bold;
    src: url('../assets/Fonts/CN/ZhengQingKeHuangYouTi/ZhengQingKeHuangYouTi-1.ttf') format("truetype");
}

@font-face {
    font-family: CN_Subtitle;
    src: url('../assets/Fonts/CN/ZCOOL_KuaiLe/ZCOOLKuaiLe-Regular.ttf') format("truetype");
}

@font-face {
    font-family: CN_Body;
    src: url('../assets/Fonts/CN/YouSheYuFeiTeJianKangTi/YouSheYuFeiTeJianKangTi-2.ttf') format("truetype");
}

@font-face {
    font-family: EN_Title;
    font-weight: bold;
    src: url('../assets/Fonts/EN/A1_FunnelDisplay_Headline_Eng/FunnelDisplay-VariableFont_wght.ttf') format("truetype");
}

@font-face {
    font-family: EN_Body;
    src: url('../assets/Fonts/EN/A2_FunnelSans_BodyText_Eng/FunnelSans-VariableFont_wght.ttf') format("truetype");
}

@media screen and (width: 1080px) and (height: 1920px) {
    html {
        zoom: 2;
    }
}

:root {
    --blue-deep: #87B7E4;
    --blue-light: #D7EAFB;
    --blue-cyan: #A7E1F7;
    --text-dark: #204B70;
    --text-light: #FFFFFF;
    --blue-sky: #A9DFFF;

    /* Quiz / Continue Buttons Gradient */
    --btn-top: #76C9FF;
    --btn-mid: #85D1FF;
    --btn-bot: #9DDCFF;
    --btn-top-h: #83D1FF;
    --btn-bot-h: #B0E4FF;

    /* Language Buttons Sky Blue (radial) */
    --lang-btn-top: #8ED6FF;
    --lang-btn-mid: #A6E1FF;
    --lang-btn-bot: #C4EDFF;
    --lang-btn-top-h: #9BE0FF;
    --lang-btn-bot-h: #D3F5FF;

    --button-text: #67B3D9;

    --result-text: #4CBCEF;

    --loadingBar: url("../assets/UI Assets/Question_Load Bar/Load Bar1.png");
}

/* Base layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: EN_Body, sans-serif;
    /*font-size: calc(2vw + 2vh + 1.5vmin);*/
}

.title-text {
    font-family: EN_Title, CN_Title, sans-serif;
}

.body-text {
    font-family: EN_Body, CN_Body, sans-serif;
}

.cn-title-text {
    font-family: CN_Title, "Noto Sans", sans-serif;
}

.cn-body-text {
    font-family: CN_Body, "Noto Sans", sans-serif;
}

.subtitle-text {
    font-family: EN_Title, CN_Subtitle, sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    /*overflow: hidden;*/
    color: var(--text-light);
    /*background: linear-gradient(to bottom, #A9DFFF 0%, #F1FAFF 110%);*/
    background-color: #A9DFFF;
    cursor: default;
}

hr {
    border: 0.5px solid var(--text-light);
    margin-top: 5px;
    margin-bottom: 5px;
}

button {
    color: var(--text-light);
    padding: 15px 10px 20px 10px;
}

button:hover, button:active {
    color: var(--button-text);
    padding: 15px 10px 20px 10px;
}

.background-video {
    /*display: inline;*/
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
    object-fit: cover;
}

#screen-container {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: auto;
    position: relative;
    /*justify-content: center;*/
    /*align-items: center;*/
}

/* =========================================
   🧩 Screen Fade Transitions
   ========================================= */
.screen {
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    /*padding: calc(5vh) calc(1.5vw + 1vh);*/
    padding: 100px calc(1.5vw + 1vh) 50px;
}

.screen.active {
    /*opacity: 1;*/
    display: flex;
}

.container {
    width: 100%;
    height: 100%;
    justify-content: center;
    vertical-align: middle;
    align-items: center;
    text-align: center;
}

#top-logo:before {
    display: none;
}

#top-logo {
    position: absolute;
    width: 100%;
    height: 40px;
    top: 5%;
    justify-content: center;
    vertical-align: middle;
    align-items: center;
    text-align: center;
    z-index: 2;
    margin: auto;
}

#top-logo-1 {
    height: 30px;
    margin-right: 10px;
}

#top-logo-2 {
    height: 100%;
    /*margin-right: 10px;*/
}

#top-logo-3 {
    height: 30px;
    margin-left: 10px;
}

#bottom-footer {
    vertical-align: bottom;
    position: fixed;
    width: 100%;
    height: 5%;
    bottom: 1%;
    z-index: 2;
    margin: auto;
}

#bottom-footer p {
    text-align: center;
    font-size: 10px;
}

.sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.sparkles i {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 24px rgba(255, 255, 255, .8);
    animation: float 8s linear infinite
}

@keyframes float {
    from {
        transform: translateY(100svh)
    }
    to {
        transform: translateY(-10vh)
    }
}

.language-content {
    height: auto;
    margin-top: -150px;
}

.language-buttons {
    /*margin-top: calc(10vh + 1.5vmin);*/
    /*margin-bottom: calc(10vh + 1.5vmin);*/
    margin-top: 50px;
    margin-bottom: 50px;
}

.lang-btn {
    background: url("../assets/UI Assets/01_Language_Button.png") no-repeat;
    background-size: contain;

    min-height: 100%;
    border: none;

    color: var(--text-light);
    padding: 65px 60px;
    text-align: center;

    margin-left: 20px;
    margin-right: 20px;
}

.lang-btn:hover, .lang-btn:active {
    background: url("../assets/UI Assets/01_Language_SelectedButton.png");
    background-size: 100% 100%;

    min-height: 100%;
    border: none;
    color: var(--text-light);
    padding: 65px 60px;
    text-align: center;

    margin-left: 20px;
    margin-right: 20px;
}

.logo-content {
    /*max-width: 50cqw;*/
    height: auto;
    margin-top: -150px;
}

.logo-1 {
    height: 100px;
    margin-bottom: 10px;
}

.logo-2 {
    height: 80px;
    margin-top: 20px;
    margin-bottom: 30px;
}

#section-2 img {
    height: 100px;
}

.intro-content {
    width: 100%;
    height: auto;
    justify-content: center;
    vertical-align: middle;
    align-items: center;
    margin-top: -100px;
}

#intro-title-holder {
    /*margin-top: 20%;*/
    /*margin-bottom: 10%;*/
    /*display: inline-block;*/
    margin-bottom: 20px;
}

#intro-title.en {
    display: inline-block;
}

#intro-title.zh {
    display: none;
}

#intro-title2.en {
    display: none;
}

#intro-title2.zh {
    display: inline-block;
}

#intro-continue {
    display: inline-block;
    background: none;
    border: none;
    justify-content: center;
    vertical-align: middle;
    align-items: center;
    font-size: 20px;
    color: var(--text-light);
}

.screen#splash {
    padding: 100px 0 50px;
}

.splash-content {
    height: 100%;
}

#splash-holder {
    margin-top: 120px;

    padding: 100px 50px;

    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 10%, #4CBCEF 40%, #4CBCEF 60%, rgba(255, 255, 255, 0) 90%);
    /*background: linear-gradient(white, white), radial-gradient(circle at top left, #f00, #3020ff);*/
}

#splash-desc {
    max-width: 500px;
    display: inline-block;
}

.clear-float {
    clear: both;
    margin: 0;
    padding: 0;
}

.face-icon {
    height: 20px;
    margin-bottom: 40px;
}

.cloud-icon {
    height: 80px;
    margin-bottom: 10px;
}

.name-content {
    /*padding-top: 200px;*/
    height: auto;
    margin-top: -150px;
}

#name-title {
    /*font-size: calc(1vw + 1vh + 1.5vmin);*/
    margin-bottom: 40px;
    cursor: default;
}

input#user-name, input#user-name:focus {
    background: url("../assets/UI Assets/03_Fill Name_Column_Before.png");
    background-size: 100% 100%;
    /*width: 578px;*/
    /*height: 111px;*/
    /*color: var(--button-text);*/
    color: var(--text-light);
    padding: 15px 20px 15px 20px;
    font-size: 20px;
    text-align: center;
    border: none;
}

input#user-name::selection {
    background-color: transparent;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/*input#user-name:focus {*/
/*    background: url("../assets/UI Assets/03_Fill Name_Column_After.png");*/
/*    background-size: 100% 100%;*/
/*    width: 604px;*/
/*    height: 137px;*/
/*    border: none;*/
/*    color: #67B3D9;*/
/*}*/

#error-holder {
    height: 20px;
}

#name-error {
    /*font-size: calc(0.5vw + 0.5vh + 0.5vmin);*/
    color: red;
}

.name-spacing {
    margin-bottom: 40px;
}

#continue-btn {
    background: url("../assets/UI Assets/03_Fill Name_NextButton_BeforeClick.png");
    background-size: 100% 100%;
    width: 54px;
    height: 54px;
    border: none;
}

#continue-btn:hover, #continue-btn:active {
    background: url("../assets/UI Assets/03_Fill Name_NextButton_AfterClick.png");
    background-size: 100% 100%;
}

#quiz {
    background: url("../assets/UI Assets/Question_BG/Question_BG.png");
    background-size: 100% 100%;
}

#progress-bar {
    background: var(--loadingBar);
    background-size: 100% 100%;
    width: 235px;
    height: 20px;
    display: inline-block;
    margin-bottom: 50px;
}

.quiz-content {
    padding-top: clamp(40px, 10vh, 100px);
    max-width: 600px;
    position: relative;
}

.quiz-content.mobile {
    padding-top: clamp(40px, 5vh, 100px);
}

#question-text {
    margin: 0 auto 40px;
    max-width: 400px;
}

#question-artwork {
    position: absolute;
    bottom: 0;
    right: 0;
    height: clamp(100px, 45vh, 500px);
}

#question-artwork.mobile {
    height: clamp(100px, 30vh, 300px);
}

#choices {
    display: flex;
    flex-direction: column;
    /*align-items: flex-start;*/
    /*justify-content: left;*/
    align-items: center;
    justify-content: center;
    width: 100%;
}

/*#choices {*/
/*    display: grid;*/
/*    grid-template-rows: 10fr 10fr 10fr;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    width: 100%;*/
/*}*/

#choices button {
    border-image: url("../assets/UI Assets/EN/01_EN_Q1_button.png") 115 145 149 146 fill / 115px 145px 149px 146px;
    border-image-repeat: round stretch;
    border-color: var(--text-light);
    background-color: transparent;

    color: var(--button-text);
    padding-left: 50px;
    padding-right: 50px;
    margin-bottom: 10px;
}

#choices button:hover, #choices button:active {
    border-image: url("../assets/UI Assets/EN/01_EN_Q1_selectedbutton.png") 194 207 189 197 fill / 194px 207px 189px 197px;
    border-image-repeat: round stretch;
    border-color: var(--text-light);
    background-color: transparent;

    /*color: var(--text-light);*/
    height: 80px;

    padding-top: 20px;
    padding-left: 60px;
    padding-right: 60px;
    margin-top: -15px;
    margin-bottom: 1px;
    /*margin-left: -10px;*/
}

#static-background {
    background-image: url("../assets/UI Assets/EN/08_CN_BG.png");
    background-repeat: no-repeat;
    background-position: 30% center;
    background-size: cover;
    position: fixed;
    width: 100%;
    height: 100%;
    /*display: none;*/
}

.result-content {
    align-content: center;
    text-align: center;

    justify-content: center;
    /*vertical-align: middle;*/
    align-items: center;
    margin: 0 auto;
    max-width: 600px;
}

.screen#result {
    padding: 70px calc(1.5vw + 1vh) 50px;
}

.result-holder {
    background-image: url("../assets/UI Assets/EN/08_CN_BG2_LightBox.png");
    background-repeat: no-repeat;
    background-size: 100% 115%;
    padding: 60px 50px 10px 50px;
    align-content: center;
    justify-content: center;
    color: var(--result-text);
    width: 100%;
    height: fit-content;
    /*height: 100%;*/
    position: relative;
}

#result-title-holder {
    width: 100%;
    height: 170px;
}

#result-title-holder.zh {
    height: 250px;
}

#result-left {
    float: left;
    width: 60%;
    height: 100%;
}

#result-right {
    float: right;
    width: 40%;
    height: 100%;
    position: relative;
}

#result-username {
    text-align: left;
    font-size: 28px;
}

#result-title {
    text-align: left;
    font-size: 26px;
    margin-bottom: 20px;
}

#result-title-img {
    text-align: left;
    max-width: 95%;
    max-height: 100px;
    float: left;
    overflow-x: hidden;
}

#result-title-img.zh {
    max-height: 50%;
}

#result-title-icon {
    position: absolute;
    max-height: 250px;
    left: -40%;
    bottom: -20%;
}

#result-title-icon.en.waterdrop {
    position: absolute;
    max-height: 250px;
    left: auto;
    right: -20%;
    bottom: -20%;
}

#result-title-icon.zh {
    position: absolute;
    max-height: 100%;
    /*left: auto;*/
    left: -50%;
    bottom: -10%;
}

#result-title-icon.zh.waterdrop {
    position: absolute;
    max-height: 100%;
    left: auto;
    right: -20%;
    bottom: -10%;
}

#result-divider {
    width: 100%;
}

#result-desc {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 30px;
    width: 70%;
}

#result-desc p {
}

#result-analysis {
    float: right;
    text-align: right;
    width: fit-content;
    margin-bottom: 10px;
    position: relative;
}

#result-analysis-desc {
    width: 80%;
    display: inline-block;
}

#result-analysis-title {
    /*margin-bottom: 10px;*/
    font-size: 26px;
}

#result-analysis-hashtag {
    margin-top: 10px;
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.result-hashtag {
    border: 2px solid var(--text-light);
    border-radius: 20px;
    padding: 5px 10px;
    margin: 2px 2px;
    font-size: 12px;
}

#result-button-holder {
    position: absolute;
    top: 40%;
    right: -10px;
}

#result-button-holder.mobile {
    display: none;
}

#result-continue-btn {
    background: url("../assets/UI Assets/03_Fill Name_NextButton_BeforeClick.png");
    background-size: 100% 100%;
    width: 54px;
    height: 54px;
    border: none;
}

#result-continue-btn:hover, #result-continue-btn:active {
    background: url("../assets/UI Assets/03_Fill Name_NextButton_AfterClick.png");
    background-size: 100% 100%;
}

#promo-holder {
    background: url("../assets/UI Assets/EN/08_EN_PromoBG.png") no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 296px;

    padding: 50px 30px 10px 30px;

    color: var(--button-text);
    max-width: 422px;
    display: none;
}

#promo-holder.mobile {
    display: inline-block;
}

#result-qr-holder {
    display: none;
}

#result-qr-holder.mobile {
    display: inline-block;
}

.promo-code-holder {
    background: url("../assets/UI Assets/EN/08_EN_PromoCode_Button.png") no-repeat;
    background-size: 100% 100%;

    width: fit-content;
    padding: 20px 50px 25px 50px;
    display: inline-block;

    margin-top: 10px;
    margin-bottom: 10px;
}

#promo-subtext {
    font-size: 12px;
}

.restart-btn {
    border-image: url("../assets/UI Assets/EN/01_EN_Q1_button.png") 115 145 149 146 fill / 115px 145px 149px 146px;
    border-image-repeat: round stretch;
    border-color: var(--text-light);
    background-color: transparent;

    /*padding: 15px 40px 20px 40px;*/
    padding-left: 50px;
    padding-right: 50px;
}

.restart-btn:hover, #restart-btn:active {
    border-image: url("../assets/UI Assets/EN/01_EN_Q1_selectedbutton.png") 194 207 189 197 fill / 194px 207px 189px 197px;
    border-image-repeat: round stretch;
    border-color: var(--text-light);
    background-color: transparent;

    height: 80px;

    /*padding: 15px 40px 20px 40px;*/

    padding-top: 20px;
    padding-left: 60px;
    padding-right: 60px;
    margin: -15px -10px -9px -10px;
}

.share-btn {
    background: url("../assets/UI Assets/EN/08_EN_ShareToFriends-Button.png");
    background-size: 100% 100%;
    border: none;
    color: var(--text-light);
    padding: 15px 40px 20px 40px;
}

.share-btn:hover, .share-btn:active {
    background: url("../assets/UI Assets/EN/08_EN_ShareToFriends-Button.png");
    background-size: 100% 100%;
    border: none;
    color: var(--button-text);
    padding: 15px 40px 20px 40px;
}

.share-btn {
    display: none;
}

.share-btn.mobile {
    display: inline-block;
}

.qr-content {
    /*height: auto;*/
}

#qr-holder {
    background-image: url("../assets/UI Assets/EN/08_EN_BG2_Mobile.png");
    background-size: 100% 100%;
    display: inline-block;
    padding: 80px 50px 50px 50px;
    margin-top: 50px;
    max-width: 700px;
}

#qr-title {
    color: #62CEFF;
    margin-bottom: 20px;
}

#result-qr-title {
    color: var(--text-light);
    margin-bottom: 10px;
}

#qr-image, #result-qr-image {
    height: 250px;
    margin-bottom: 30px;
}

#dynamic-qr-image {
    height: 200px;
    display: inline-block;
    margin-bottom: 30px;
}

#qr-footer, #result-qr-footer {
    margin-top: 80px;
    max-width: 800px;
    display: inline-block;
}

#qr-footer-link, #result-qr-footer-link {
    display: flex;
}

#qr-footer p, #result-qr-footer p {
    font-size: 12px;
    text-align: left;
}

#qr-footer a, #result-qr-footer a {
    margin-right: 10px;
    color: var(--text-light);
    vertical-align: middle;
    display: inline-flex;
}

#qr-footer-link img, #result-qr-footer-link img {
    margin-right: 2px;
}

#qr-footer a:link, #qr-footer a:visited, #qr-footer a:active,
#result-qr-footer a:link, #result-qr-footer a:visited, #result-qr-footer a:active {
    text-decoration: none;
    color: var(--text-light);
}

#qr-footer a:hover, #result-qr-footer a:hover {
    text-decoration: none;
    color: var(--button-text);
}

#footer-divider, #result-footer-divider {
    width: 350px;
}

#share-screen {
    background-image: url("../assets/UI Assets/EN/08_CN_BG.png");
    background-repeat: no-repeat;
    background-position: 30% center;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;

    padding: 50px calc(1.5vw + 1vh) 50px;
    color: var(--result-text);
}

.share-holder {
    padding: 60px 50px 10px 50px;

    background: url("../assets/UI Assets/EN/08_CN_BG2_LightBox.png") no-repeat;
    background-size: 100% 100%;
}

#share-title-holder {
    width: 100%;
    height: 170px;
}

#share-title-holder.zh {
    height: 250px;
}

#share-left {
    float: left;
    width: 60%;
    height: 100%;
}

#share-right {
    float: right;
    width: 40%;
    height: 100%;
    position: relative;
}

#share-username {
    text-align: left;
    font-size: 28px;
}

#share-title {
    text-align: left;
    font-size: 26px;
    margin-bottom: 20px;
}

#share-title-img {
    text-align: left;
    max-width: 95%;
    max-height: 100px;
    float: left;
    overflow-x: hidden;
}

#share-title-img.zh {
    max-height: 50%;
}

#share-title-icon {
    position: absolute;
    max-height: 250px;
    left: -40%;
    bottom: -20%;
}

#share-title-icon.en.waterdrop {
    position: absolute;
    max-height: 250px;
    left: auto;
    right: -20%;
    bottom: -20%;
}

#share-title-icon.zh {
    position: absolute;
    max-height: 100%;
    /*left: auto;*/
    left: -50%;
    bottom: -10%;
}

#share-title-icon.zh.waterdrop {
    position: absolute;
    max-height: 100%;
    left: auto;
    right: -20%;
    bottom: -10%;
}

#share-divider {
    width: 100%;
}

#share-desc {
    text-align: left;
    margin-top: 20px;
    margin-bottom: 30px;
    width: 70%;
}

#share-desc p {
}

#share-analysis {
    float: right;
    text-align: right;
    width: fit-content;
    margin-bottom: 10px;
    position: relative;
}

#share-analysis-desc {
    width: 80%;
    display: inline-block;
}

#share-analysis-title {
    /*margin-bottom: 10px;*/
    font-size: 26px;
}

#share-analysis-hashtag {
    margin-top: 10px;
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.share-hashtag {
    border: 2px solid var(--text-light);
    border-radius: 20px;
    padding: 5px 10px;
    margin: 2px 2px;
    font-size: 10px;
}

#share-top-logo {
    /*position: absolute;*/
    width: 100%;
    height: 40px;
    vertical-align: middle;
    align-items: center;
    text-align: center;
    margin: 10px auto auto;
}

#share-top-logo-1 {
    height: 30px;
    margin-right: 10px;
}

#share-top-logo-2 {
    height: 100%;
    /*margin-right: 10px;*/
}

#share-top-logo-3 {
    height: 30px;
    margin-left: 10px;
}

#share-footer {
    vertical-align: bottom;
    position: fixed;
    width: 100%;
    height: 5%;
    bottom: 1%;
    margin: auto;
}

#share-footer p {
    text-align: center;
    font-size: 10px;
}