﻿@charset "UTF-8";

/*초기화 시작*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

body, html {
    scrollbar-gutter: stable;
}

ul, li, ol {
    list-style: none;
}

.red-text {
    color: #ff0000;
}

input[type='text'], [type='tel'] {
    border: none;
    padding-left: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #999;
}

a {
    text-decoration: none;
}

button, [type="button"] {
    border-radius: 8px;
    background: #cc0000;
    color: #fff;
    border: none;
    font-size: 12px;
}

.lgBtn {
    border-radius: 6px;
    background: #116dc7;
    color: #fff;
    border: none;
    font-size: 12px;
}

body, html {
    height: 100%;
}

body {
    background-color: #f7f8fa;
}

.bba-event-loading-cover {
    background: #f7f8fa;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
}
/*초기화 끝*/

/*본 작업 CSS*/

.blue-text {
    color: #3555f4;
}

.red-text {
    color: #ee2941;
}

/*모바일 시작*/

/*헤더 시작*/
.bba-event {
    max-width: 375px;
    margin: 0 auto;
}

    .bba-event .bba-event__top {
        font-size: 11px;
        color: #464646;
        padding: 10px 12px;
        border-bottom: 1px solid #e5e5e5;
        background: #fff;
    }
/*헤더 끝*/

/*설명 시작*/
.bba-event__generals {
    padding: 0px;
    /*margin-bottom: 17px;*/
    background: #fff;
}

    .bba-event__generals h1 {
        font-size: 16px;
        font-weight: 500;
    }

    .bba-event__generals div {
        display: flex;
        gap: 14px;
    }

        .bba-event__generals div img {
            display: block;
            height: 100%;
            width: 100%;
        }

        .bba-event__generals div ul li {
            font-size: 12px;
            line-height: 1.5;
            letter-spacing: -0.43px;
        }

            .bba-event__generals div ul li:last-child {
                font-size: 12px;
                line-height: 1.8;
                letter-spacing: -0.36px;
                color: #ee2941;
                margin-top: 5px;
            }
/*설명 끝*/

.bba-event__layout-wrapper {
    background: #fff;
    padding: 16px 12px 30px;
}

    .bba-event__layout-wrapper h2 {
        margin: 0 0 10px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: -0.43px;
        text-align: left;
        color: #000;
    }
/*통신사 선택 탭 시작*/
.bba-event__telecom-selector {
    display: flex;
    background: #fff;
    margin-bottom: 17px;
    gap: 7px;
}

    .bba-event__telecom-selector input[type=radio] {
        display: none;
    }

    .bba-event__telecom-selector label {
        display: block;
        width: 33.33%;
        height: 45px;
        background-repeat: no-repeat;
        color: #616161;
        background-position: center;
        border: solid 1px #cfcfcf;
        border-radius: 6px;
        cursor: pointer;
    }

        .bba-event__telecom-selector label.skt {
            background-image: url(/images/V3/skt-off.png);
            background-size: 64px 25px;
        }

        .bba-event__telecom-selector label.kt {
            background-image: url(/images/V3/kt-off.png);
            background-size: 24px 20px;
        }

        .bba-event__telecom-selector label.lgu {
            background-image: url(/images/V3/lgu-off.png);
            background-size: 77px 21px;
        }

    .bba-event__telecom-selector #skt:checked + label.skt {
        background-image: url(/images/V3/skt-on.png);
        border: 1px solid #cc0000;
    }

    .bba-event__telecom-selector #kt:checked + label.kt {
        background-image: url(/images/V3/kt-on.png);
        border: 1px solid #cc0000;
    }

    .bba-event__telecom-selector #lgu:checked + label.lgu {
        background-image: url(/images/V3/lgu-on.png);
        border: 1px solid #cc0000;
    }
/*통신사 선택 탭 끝 */

/*약관동의 시작*/
.bba-event__terms {
    border-radius: 6px;
    background: #fff;
    border: solid 1px #d0d0d0;
    overflow: hidden;
    margin-bottom: 17px;
}

    .bba-event__terms .bba-event__terms-agree-all {
        background: #f6f6f6;
        font-size: 11px;
        font-weight: 500;
        text-align: left;
        line-height: 1.64;
        color: #7a7a7a;
        letter-spacing: -0.4px;
    }

    .bba-event__terms .bba-event__agreement-list {
        display: flex;
    }

    .bba-event__terms .bba-event__agreement-list {
    }

        .bba-event__terms .bba-event__agreement-list dl {
            display: flex;
            gap: 10px;
            width: 100%;
            flex-direction: column;
            padding: 10px 14px;
        }

            .bba-event__terms .bba-event__agreement-list dl dd .checkbox-img {
                float: left;
                display: block;
                width: 16px;
                height: 16px;
                border: 1px solid #d0d0d0;
                margin: 1px 4px 0 0;
                background-color: #fff;
                border-radius: 50%;
            }

            .bba-event__terms .bba-event__agreement-list dl dd input {
                display: none;
            }

                .bba-event__terms .bba-event__agreement-list dl dd input:checked + .checkbox-img {
                    background-image: url(/images/checkbox.png);
                    border: none;
                    background-size: 100%;
                }

            .bba-event__terms .bba-event__agreement-list dl dd div {
                border-bottom: 1px solid #fff;
                position: relative;
                flex: 1
            }

            .bba-event__terms .bba-event__agreement-list dl dd.agree-all div {
                border-bottom: none;
                width: auto;
            }

            .bba-event__terms .bba-event__agreement-list dl dd div label {
                cursor: pointer;
                font-size: 11px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 8px;
                margin-right: 9px;
            }

        .bba-event__terms .bba-event__agreement-list dd {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .bba-event__terms .bba-event__agreement-list dl dd.agree-all div label {
            width: auto;
        }

        .bba-event__terms .bba-event__agreement-list dl dd div label a {
            color: #616161;
        }

            .bba-event__terms .bba-event__agreement-list dl dd div label a img {
                width: 12px;
                display: block;
                float: right;
                margin: 3px 0 0 4px;
            }

/*약관동의 끝*/

/*휴대폰 인증하기 및 가입버튼 시작*/
.bba-event__phone-auth {
    width: 100%;
}

    .bba-event__phone-auth input::placeholder {
        color: #999;
    }

    .bba-event__phone-auth .bba-event__phone-number {
        width: 100%;
        height: 43px;
        display: flex;
        gap: 6px;
    }

        .bba-event__phone-auth .bba-event__phone-number select {
            min-width: 112px;
            border: 1px solid #d0d0d0;
            border-radius: 6px;
            padding-left: 10px;
        }

        .bba-event__phone-auth .bba-event__phone-number input {
            width: 100%;
            height: 100%;
            border: 1px solid #d0d0d0;
            border-radius: 6px;
        }

        .bba-event__phone-auth .bba-event__phone-number [type='button'] {
            width: 83px;
            height: 100%;
            border-radius: 0 6px 6px 0;
            border: 1px solid #cc0000;
            font-size: 12px;
        }

/*.bba-event__auth-number:after {
    content: '';
    display: block;
    width: 0;
    clear: both;
}*/

.bba-event__auth-number {
    position: relative;
    margin-top: 8px;
/*    display: flex;*/
    gap: 6px;
    justify-content: space-between;
}

    .bba-event__auth-number span {
        position: absolute;
        top: 0px;
        right: 15px;
        font-size: 12px;
        line-height: 43px;
/*        float: left;*/
    }

.bba-event__big-title img {
    display: block;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#goSecubtn {
    cursor: pointer;
    width: 100%;
    height: 43px;
    /*margin-top: 6px;*/
    font-size: 12px;
/*    float: left;*/
    flex:1;
}


    #goSecubtn.resend {
        width: 30%;
    }

.bba-event__bottom-botton-wrapper {
    display: flex;
    margin-top: 6px;
}

.bba-event__join-cancel {
    min-width: 112px;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #666;
    height: 43px;
    margin-right: 6px;
}

/*input.bba-event__input-auth-num {
    border-radius: 6px;
    width: 100%;
    height: 43px;
    border: 1px solid #d0d0d0;
}*/

/*#goSecubtn {
    width: 100%;
    height: 43px;
    margin-top: 10px;
    font-size: 12px;
}
*/
.bba-event__bottom-botton-wrapper {
    display: flex;
    margin-top: 6px;
    /*gap: 6px;*/
}

.bba-event__join-cancel {
    min-width: 112px;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #666;
    height: 43px;
}

.bba-event__join {
    width: 100%;
    height: 43px;
    font-size: 12px;
    position: relative;
}

.bba-event__join-later {
    display: block;
/*    width: 108px;*/
    margin: 20px auto;
    font-size: 12px;
    color: #cfcfcf;
    background: none;
    border-bottom: 1px solid #cfcfcf;
    border-radius: 0;
    cursor: pointer;
}
/*휴대폰 인증하기 및 가입버튼 끝*/

/*서비스 안내 시작*/
.bba-event__service-info {
    border-top: 1px solid #e5e5e5;
    padding: 20px 12px 36px;
    background: #fff;
}

    .bba-event__service-info dl dt {
        font-size: 12px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: -0.43px;
        text-align: left;
        color: #3e3e3e;
        margin-bottom: 10px;
    }

    .bba-event__service-info dl dd {
        font-size: 12px;
        line-height: 1.5;
        letter-spacing: -0.64px;
        color: #7e7e7e;
        text-indent: -8px;
        margin-left: 8px;
    }

        .bba-event__service-info dl dd.blue {
            color: #cc0000;
        }
/*서비스 안내 끝*/


/*가입 완료 팝업 시작*/
.layer-alert {
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0,0,0,0.2);
    top: 0;
    left: 0;
    display: none;
    z-index: 999;
}

.layer-alert__wrapper {
    width: calc(100% - 30px);
    max-width: 550px;
    margin: 136px auto 0;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 20px 20px 26px 0 rgba(0, 0, 0, 0.16);
    background-color: #fff;
}

.layer-alert__wrapper2 {width: calc(100% - 30px);max-width: 550px;margin: 0 auto;padding: 40px 20px;border-radius: 12px;box-shadow: 20px 20px 26px 0 rgba(0, 0, 0, 0.16);background-color: #fff;top: 65%;left: 50%;transform: translate(-50%, -50%);position: fixed;}

.layer-alert__wrapper img {
    display: block;
    margin: 0 auto;
/*    width: 60px;
    height: 60px;*/
}

.layer-alert__wrapper2 img {
    display: block;
    margin: 0 auto;
/*    width: 60px;
    height: 60px;*/
}

/*.layer-alert__wrapper2 .btn-banner {
    width: 107px;
    height: auto;
}*/

.layer-alert__wrapper h1 {
    text-align: center;
    font-size: 24px;
    color: #616161;
    margin-top: 20px;
}

.layer-alert__wrapper2 h1 {
    text-align: center;
    font-size: 19px;
    color: #616161;
    margin-top: 20px;
}

.layer-alert__wrapper label {
    display: block;
    height: 56px;
    color: #fff;
    background: #cc0000;
    font-size: 16px;
    letter-spacing: -0.72px;
    max-width: 306px;
    margin: 40px auto 0;
    font-weight: 500;
    text-align: center;
    line-height: 56px;
    border-radius: 6px;
}

.layer-alert__wrapper2 label {
    display: block;
    height: 56px;
    color: #fff;
    background: #cc0000;
    font-size: 16px;
    letter-spacing: -0.72px;
    max-width: 306px;
    margin: 40px auto 0;
    font-weight: 500;
    text-align: center;
    line-height: 56px;
    border-radius: 6px;
}

.layer-alert__warning {
    position: relative;
    width: calc(100% - 30px);
    max-width: 330px;
    margin: 136px auto 0;
    padding: 15px 6px;
    border-radius: 12px;
    box-shadow: 20px 20px 26px 0 rgba(0, 0, 0, 0.16);
    background-color: #fff;
}

    .layer-alert__warning img {
        display: block;
        margin: 0 auto;
/*        width: 60px;
        height: 60px;*/
    }

    .layer-alert__warning h1 {
        text-align: center;
        font-size: 20px;
        color: #616161;
    }

    .layer-alert__warning h4 {
        text-align: center;
        font-size: 18px;
        color: #616161;
        margin: 20px 0px;
    }

    .layer-alert__warning label {
        display: block;
        height: 56px;
        color: #fff;
        background: #cc0000;
        font-size: 18px;
        letter-spacing: -0.72px;
        max-width: 300px;
        margin: 40px auto 0;
        font-weight: 500;
        text-align: center;
        line-height: 56px;
        border-radius: 6px;
    }

    .layer-alert__warning .close_btn {
        position: absolute;
        top: 25px;
        right: 16px;
        cursor: pointer;
        height: 16px;
        width: 16px;
        opacity: 0.3
    }

.description {
    text-align: center;
    padding: 0px 20px;
    font-size: 14px;
}

.sub_description {
    text-align: center;
    padding: 0px 20px;
    font-size: 12px;
}

#service-join-complete:checked ~ .service-join-complete {
    display: block;
}

.service-join-complete .layer-alert__wrapper {
    width: 100%;
    height: 100%;
    padding: 60px 20px 0;
    margin: 0 auto;
    border-radius: 0;
    position: relative;
}

    .service-join-complete .layer-alert__wrapper h1 {
        text-align: center;
        font-size: 32px;
        color: #056dc7;
        text-align: left;
        letter-spacing: -2.24px;
    }

    .service-join-complete .layer-alert__wrapper p {
        margin-top: 20px;
        font-size: 22px;
        letter-spacing: -0.88px;
        font-weight: 600;
    }

    .service-join-complete .layer-alert__wrapper label {
        position: absolute;
        bottom: 40px;
        max-width: 460px;
        width: calc(100% - 30px);
        left: 50%;
        transform: translateX(-50%);
    }
/*가입 완료 팝업 끝*/

.bba-event__service-info dl dd span {
    margin-right: 4px;
}

/*.bba-event__auth-number {
    position: relative;
    margin: 10px 2px 10px 0;
    display: inline-block;
    min-width: 150px;*/
/*width: 200px;*/
/*width: 78%;
    height: 43px;
}*/

.kc_event_top_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bba-event__bottom-botton-wrapper {
    position: relative;
    display: flex;
    margin-top: 6px;
}

.btn-banner {
    position: absolute;
    right: -16px;
    top: -22px;
    max-width: 120px;
}

.glitter1 {
    animation: glitter1 2s infinite;
}

@keyframes glitter1 {
    0% {
        filter: brightness(0.8);
    }

    50% {
        filter: brightness(1.4);
    }

    100% {
        filter: brightness(0.8);
    }
}


.modal-join-complete__button {
    background: #cc0000!important;
}


/*******************input border 그라데이션, 애니메이션 시작(아래에서 덮어씀)********************/
/* 레이아웃 배치 float 에서 flex로 수정 필요 */

input#txt_phone.border-spin {
    flex: 1;
    width: calc(70% - 6px);
    /*    margin-right: 6px;*/
    height: 43px;
    border-radius: 6px;
    border: 1px solid transparent; /* 항상 투명 */
    box-sizing: border-box;
    background: linear-gradient(#fff, #fff) padding-box, #d0d0d0 border-box; /* 평상시엔 회색 border 느낌 */
    position: relative;
    z-index: 1;
}

#txt_phone.debug {
    background: conic-gradient( from var(--angle), #fff2f2, #ffb3b3, #ff4d4d, #cc0000, #ff6b6b, #fff2f2 );
    animation: spin 2s linear infinite;
    color: #000;
}

.bba-event__auth-number {
    display: flex;
}

.bba-event__phone-auth > .bba-event__terms,
.bba-event__phone-auth > .bba-event__show-info-wrap,
.bba-event__phone-auth > .bba-event__main-bottom {
    grid-column: 1 / -1;
}

.bba-event__main-bottom {
    margin: 8px 0;
}

.bba-event__main-bottom img {
    display: block;
    width: 100%;
}

    .bba-event__auth-number input {
        border: 1px solid #d0d0d0;
        border-left: none;
        border-radius: 6px;
        flex: 2;
        width: 70%;
    }

    input#txt_phone {
        flex: 1;
        width: 100%;
    }


        input#txt_phone.border-spin {
            border-width: 2px;
            outline: none;
            background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--angle), #fff2f2, #ffb3b3, #ff4d4d, #cc0000, #ff6b6b) border-box;
            animation: spin 1.5s linear infinite;
            box-shadow: 0 0 10px rgba(204, 0, 0, 0.55), 0 0 20px rgba(255, 80, 80, 0.35);
        }
        input#txt_phone.border-spin {
            border-width: 2px;
            outline: none;
            background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--angle), #fff2f2, #ffb3b3, #ff4d4d, #cc0000, #ff6b6b) border-box;
            animation: spin 1s linear infinite;
/*            box-shadow: 0 0 10px rgba(77,148,255,0.6), 0 0 20px rgba(0,229,255,0.4);*/
        }

/* 회전 애니메이션 */
@keyframes spin {
    to {
        --angle: 360deg;
    }
}

input#txt_phone {
    flex: 1;
    width: calc(70% - 6px);
    height: 43px;
    border-radius: 6px;
    border: 1px solid #d0d0d0;
    outline: none;
/*    box-shadow: 0 0 10px rgba(254, 70, 96, 0.6), 0 0 20px rgba(255, 115, 140, 0.4);*/
/*    animation: glowPulse 1.2s ease-in-out infinite;*/
}

/* 글로우 pulsing 애니메이션 */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 6px rgba(254, 70, 96, 0.3), 0 0 12px rgba(255, 115, 140, 0.2);
    }

    50% {
        box-shadow: 0 0 10px rgba(254, 70, 96, 0.8), 0 0 28px rgba(255, 160, 180, 0.6), 0 0 40px rgba(255, 210, 220, 0.3);
    }

    100% {
        box-shadow: 0 0 6px rgba(254, 70, 96, 0.3), 0 0 12px rgba(255, 115, 140, 0.2);
    }
}

.bba-event__features::before {
    content:"";
    display:block;
/*    position: absolute;*/
    width:400px;
    height:16px;
    background: #f7f8fa;
    margin-bottom:16px;
    margin-left:-16px; 
}

input#txt_phone.glow {
    flex: 1;
    width: calc(70% - 6px);
    height: 43px;
    border-radius: 6px;
    border: 1px solid #cc0000;
    outline: none;
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.55), 0 0 20px rgba(255, 80, 80, 0.35);
    animation: glowPulse 1s ease-in-out infinite;
}

/* 글로우 pulsing 애니메이션 */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(204, 0, 0, 0.35), 0 0 10px rgba(255, 80, 80, 0.2);
    }

    50% {
        box-shadow: 0 0 8px rgba(204, 0, 0, 0.75), 0 0 26px rgba(255, 80, 80, 0.55);
    }

    100% {
        box-shadow: 0 0 5px rgba(204, 0, 0, 0.35), 0 0 10px rgba(255, 80, 80, 0.2);
    }
}







@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}


/*******************input border 그라데이션, 애니메이션 끝********************/


.updown {
    animation: updown 1s ease-in-out infinite;
}


@keyframes updown {
    0% {
        transform: translateY(0rem);
    }

    50% {
        transform: translateY(-0.5rem);
    }
    /* 위로 */
    100% {
        transform: translateY(0rem);
    }
    /* 다시 아래 */
}

/* phone-auth 전체를 2열 그리드로: (폰입력) + (버튼) */
.bba-event__phone-auth {
    display: grid;
    grid-template-columns: 1fr 110px; /* 오른쪽 버튼 폭 */
    grid-template-rows: 43px auto; /* 1행: 폰+버튼, 2행: 인증번호 */
    gap: 6px;
}

/* 기존 wrapper들이 배치를 방해하니까 "wrapper는 투명화" */
.bba-event__phone-number,
.bba-event__auth-number {
    display: contents;
}

/* 1행 1열: 폰번호 */
#txt_phone {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 100%;
    height: 43px;
}

/* 1행 2열: 인증요청/재전송 버튼 (항상 여기 고정) */
#goSecubtn {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    width: 100% !important;
    height: 43px;
}

    /* ✅ 기존에 있던 resend width:30% 같은 거 완전 무력화 */
    #goSecubtn.resend {
        width: 100% !important;
    }

/* 2행 전체: 인증번호 입력 (혼자 풀폭) */
#txt_secNum,
.bba-event__input-auth-num {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    width: 100%;
    height: 43px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
}

/* g04 layout override: terms -> showInfo -> phone/request row -> auth number */
.bba-event__generals,
.bba-event__big-title,
.bba-event__main-bottom {
    margin: 0;
    padding: 0;
}

.bba-event__main-bottom {
    line-height: 0;
    background: #fff;
}

.bba-event__main-bottom--top {
    padding: 0 12px;
    box-sizing: border-box;
    background: #fff;
}

.bba-event__phone-auth {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bba-event__phone-number {
    display: flex;
    gap: 6px;
    width: 100%;
    height: 43px;
}

.bba-event__auth-number {
    display: block;
    width: 100%;
    margin: 6px 0 0 !important;
    position: relative;
}

.bba-event__phone-auth > .bba-event__terms,
.bba-event__phone-auth > .bba-event__show-info-wrap {
    width: 100%;
}

.bba-event__phone-number #txt_phone {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0;
    height: 43px;
}

.bba-event__phone-number #txt_phone.glow,
.bba-event__phone-number #txt_phone.border-spin {
    border-color: #cc0000 !important;
}

.bba-event__input-auth-num {
    width: 100% !important;
    height: 43px;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

.bba-event__phone-number #goSecubtn {
    flex: 0 0 112px !important;
    width: auto !important;
    min-width: 0;
    height: 43px;
    border-radius: 8px !important;
}

.bba-event__phone-number #goSecubtn.resend {
    flex: 0 0 112px !important;
    width: auto !important;
    border-radius: 8px !important;
}

.bba-event__bottom-botton-wrapper {
    margin-top: 6px !important;
}

#lbt_submit,
#lbt_secok {
    display: none !important;
}

.bba-event__show-info-wrap,
#showInfo {
    display: block !important;
}

