/*********************************************
    Intro — absolute 배치
*********************************************/
body.is-intro {
    overflow: hidden;
}

.intro {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #fff;
    overflow: hidden;
}

.intro_stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.intro_phrases {
    position: absolute;
    right: calc(50% + 6px);
    top: calc(50% - 20px);
    width: 400px;
    visibility: hidden;
}

.intro_phrases.is-ready {
    visibility: visible;
}

.intro_phrases_mask {
    position: absolute;
    right: 0;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 40px;
}

.intro_phrases_list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    height: 40px;
}

.intro_phrases_list li {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #000;
    font-family: 'Pretendard', sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.2;
    white-space: nowrap;
}

.intro_char {
    display: inline-block;
    will-change: transform, opacity;
}

.intro_chak_wrap {
    position: absolute;
    left: calc(50% + 18px);
    top: calc(50% - 103.5px);
    width: 221px;
    height: 207px;
    opacity: 0;
    will-change: transform, opacity;
}

.intro_chak {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.intro_privilege {
    position: absolute;
    left: calc(50% + 110px);
    top: calc(50% - 40px);
    margin: 0;
    color: #000;
    font-family: 'Pretendard', sans-serif;
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    visibility: hidden;
    will-change: transform, opacity;
}

.intro_privilege .intro_char {
    opacity: 0;
}

.intro_skip {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    border: 0;
    border-radius: 50%;
    background: #1E2A59;
    color: #fff;
    font-family: 'Pretendard', sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    will-change: transform, opacity;
}

.intro_skip:focus-visible {
    outline: 2px solid #E3B965;
    outline-offset: 3px;
}

.intro_skip.is-fixed {
    left: auto;
    top: auto;
    right: 20px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    font-size: 14px;
    transform: none;
}

/*********************************************
    Intro — ≤1024 (vw 스케일)
*********************************************/
@media screen and (max-width: 1024px) {
    .intro_phrases {
        right: calc(50% + 0.5vw);
        top: calc(48% - 2vw);
        width: 40vw;
    }

    .intro_phrases_mask,
    .intro_phrases_list,
    .intro_phrases_list li {
        height: clamp(22px, 3.6vw, 36px);
    }

    .intro_phrases_list li {
        font-size: clamp(14px, 2.6vw, 24px);
        letter-spacing: 0.2vw;
    }

    .intro_chak_wrap {
        left: calc(50% + 1vw);
        top: calc(48% - 9.35vw);
        width: 20vw;
        height: 18.7vw; /* 207/221 */
        max-width: 180px;
        max-height: 168px;
    }

    .intro_privilege {
        left: calc(50% + 9.5vw);
        top: calc(48% - 3.2vw);
        font-size: clamp(28px, 6.2vw, 56px);
    }

    /* SKIP: vw 쓰면 화면 넓어질수록 커짐 → 고정 px */
    .intro_skip,
    .intro_skip.is-fixed {
        left: auto !important;
        top: auto !important;
        right: 16px;
        bottom: 16px;
        width: 56px !important;
        height: 56px !important;
        font-size: 13px !important;
        transform: none !important;
    }
}

/*********************************************
    Intro — ≤480 (vw 스케일 추가 축소)
*********************************************/
@media screen and (max-width: 480px) {
    .intro_phrases {
        right: calc(50% + 0.4vw);
        top: calc(48% - 2.6vw);
        width: 46vw;
    }

    .intro_phrases_mask,
    .intro_phrases_list,
    .intro_phrases_list li {
        height: clamp(20px, 5.2vw, 32px);
    }

    .intro_phrases_list li {
        font-size: clamp(13px, 3.8vw, 18px);
        letter-spacing: 0.14vw;
    }

    .intro_chak_wrap {
        left: calc(51% + 0.6vw);
        top: calc(48% - 12.6vw);
        width: 27vw;
        height: 25.25vw;
        max-width: 128px;
        max-height: 120px;
    }

    .intro_privilege {
        left: calc(53% + 12vw);
        top: calc(48% - 4.2vw);
        font-size: clamp(24px, 8.4vw, 40px);
    }

    .intro_skip,
    .intro_skip.is-fixed {
        right: 14px;
        bottom: 14px;
        width: 62px !important;
        height: 62px !important;
        font-size: 14px !important;
        transform: none !important;
    }
}
