/* 미디어쿼리 맞춤 */
@media screen and (max-width: 1440px) {
    .fixed-btns .btn-top{width:60px; height:60px; }
}
@media screen and (max-width: 1200px) {
    .evt_wrp{overflow: hidden;}
    .evt_wrp .point_icon, .evt_wrp .qna{width:100%;}
    .evt_wrp .inner, .evt_wrp .conts{width:100%; display: flex;padding: 0 20px;}
    .evt_wrp .point{        
        width: 100%;
        margin: 0 auto 2.5rem;
        overflow: hidden;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .evt_wrp .point li {        
        width:90%;
        float: left;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    .ddd_1200{margin-top:44px;}
    .evt_wrp .tit_check {width:100%;}
    .evt_wrp .point_icon p{display:flex; }
    .bg_01{padding:100px 20px;}
    .evt_wrp .lec_wrap{width:100%;}
    .bg_04 .inner{flex-wrap: wrap; justify-content: center;}
    .evt_wrp .test{width:33.3%;}
    .evt_wrp .point li{border:0;}


    /* 선 */
    .evt_wrp .point li:nth-child(1) {border-top-left-radius:0;}
    .evt_wrp .point li:nth-child(1), .evt_wrp .point li:nth-child(2), .evt_wrp .point li:nth-child(3){border-bottom:1px solid #ccc;}


    
}




/* 팝업창 */
.evt_wrp .quick {
    display: flex;
    flex-direction: column;
    align-items: end;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.2));
    margin-right: 12px;
    margin-top:-57px;
    bottom:20%;
    top:auto;
}
.evt_wrp .quick .quick1 {
    width: 150px;
}
.fixed-btns{bottom:10% !important;}

/* 확대 모션 */
.evt_wrp .quick .quick2 {
    width: 200px;
    animation: enlargement 2s infinite alternate;
    position: relative;
    padding: 3px;
    border-radius: 20px;
    background: #0d4245;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 고급스러운 회전 테두리 효과 */
.evt_wrp .quick .quick2::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        red, 
        #fff, 
        red, 
        transparent 30%
    );
    animation: rotate-border 4s linear infinite;
    z-index: -2;
}

/* 테두리 안쪽 배경 */
.evt_wrp .quick .quick2::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #0d4245;
    border-radius: 20px;
    z-index: -1;
}

/* a 태그 내 광택 효과 */
.evt_wrp .quick2 a {
    display: block;
    padding: 15px 0;
    position: relative;
    overflow: hidden;
    background:#07686e;
    border-radius: 20px;
}

.evt_wrp .quick2 a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: luxury-shine 3s infinite;
}

@keyframes rotate-border {
    100% {
        transform: rotate(1turn);
    }
}

@keyframes luxury-shine {
    0% { left: -150%; }
    100% { left: 150%; }
}

@keyframes enlargement {
    0% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.evt_wrp .quick2 p {
    background: transparent;
    color: #fff;
    text-align: center;
    margin-bottom: 5px;
    padding:0 ;
    font-size:24px;
}

.evt_wrp .quick2 p strong {
    color: #32fdce;
    font-size: 27px;
    display: block;
    margin-top: 5px;
}

.evt_wrp .quick2 span {
    width:80%;
    display: inline-block;
    background: #32fdce;
    color: #212121;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 800;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(50, 253, 206, 0.3);
}

/* 바텀배너 */
.pc_barbnr {
    display: block !important;
}

.mo_barbnr {
    display: none !important;
}

.mo_br {
    display: none !important;
}


/* 팝업창 안 내용 */
.btn_close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: 800;
    color: #ccc;
    cursor: pointer;
}

.cbt-event-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cbt-event-popup-inner {
    background: url('https://image.engineerlab.co.kr/data/www/engr/promotion/2026/moktest/img/tae0009a0413_n_l.jpg') no-repeat top center / cover;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 75vh;
    border: 1px solid #ccc;
    width:700px;
    display: flex;
    flex-direction: column;
    padding: 60px 0;
}
.cbt-event-popup-body {
    padding: 0 30px 55px;
    overflow-y: scroll;
    flex: 1;
}
.cbt-event-popup-body::-webkit-scrollbar {
    width: 10px;
    background: transparent;
}

.cbt-event-popup-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.5);
    border-radius: 7px;
    border: 2px solid rgba(50, 253, 206, 0.4); /* 포인트 색상으로 오버레이 효과 */
    box-shadow: 0 2px 8px rgba(50, 253, 206, 0.12);
    transition: background 0.2s;
}

.cbt-event-popup-body::-webkit-scrollbar-thumb:hover {
    background: rgba(50, 253, 206, 0.6);
    border: 2px solid #fff;
}

.cbt-event-popup-body::-webkit-scrollbar-track {
    background: transparent;
}

.cbt-event-popup-inner-wrap{
    width:85%;
    margin: 0 auto;
    padding-left:2px;
}

.cbt-event-popup-inner h2 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    font-size: 40px;
    color:#fff;
}
.cbt-event-popup-inner h2 strong {
    background: linear-gradient(to right, #a8ff78, #78ffd6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.event-schedule {
    text-align: left;
    margin: 20px auto;
    display: inline-block;
}

.event-schedule p {
    color: #fff;
    line-height: 1.5;
    font-size:18px;
}

/* 트로피 섹션 */
.trophy-section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.trophy-row {
    display: flex;
    gap: 24px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    background-color:#fff;
    align-items: center;
}

.trophy-txt {
    text-align: left;
}

.trophy-txt .trophy-txt-title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 5px;
}
.trophy-txt p{
    padding:5px 0;
}
.trophy-txt p,
.event-schedule p{
    position: relative;
    padding-left:10px;
}

.trophy-txt p::before,
.event-schedule p::before {
    content: '-';
    position: absolute;
    left:0;
}

/* 선물 섹션 */
.gift-section {
    text-align: left;
    margin-top:30px;
}

.gift-title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 10px;
    color:#fff;
}
.gift-section ul{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.gift-section ul li {
    margin-bottom: 5px;
    font-size: 18px;
}
.gift-section ul li strong {
    background:#111;
    padding: 10px 5px;
    text-align: center;
    border-radius: 5px;
    color:#fff;
    display:grid;
}
.gift-section ul li p{
    margin-top:10px;
}
.gift-section ul li img{
    margin-top:15px;
    width:100%;
}
.gift-section .trophy-row {
    flex-direction: column;
    align-items: center;
}


/* 유의사항 */
.notice-section {
    text-align: left;
    margin-top: 30px;
    background-color:#333;
    border-radius: 10px;
    padding: 20px;
    color:#ccc;
}

.notice-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.notice-section ul li {
    line-height: 1.5;
    margin-bottom: 3px;
    font-size: 14px;
    position: relative;
    padding-left: 10px;
}

.notice-section ul li::before {
    content: '-';
    position: absolute;
    left: 0;
}

/* 응시 버튼 */
.btn-apply-wrap {
    margin: 30px 0 10px;
}

.btn-popup-apply {
    display: inline-block;
    background: #32fdce;
    color: #212121;
    padding: 12px 50px;
    border-radius: 50px;
    font-size: 25px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-popup-apply:hover {
    background:#fff;
    border:1px solid #32fdce;
}


@media screen and (max-width: 820px) {
    .fixed-btns .btn-top{width:44px; height:44px; margin-top:15px;}
    .evt_wrp .point li{width:100%;}
    .evt_wrp .point_icon p{display:block;}
    .bg_01{padding:3rem 20px;}
    .evt_wrp .test{width:100%;}
    .evt_wrp .conts span{width:45%;}
    .bg_04 .inner{gap:10px;}
    .mo_br {
        display: block !important;
    }

    .quick {
        display: none !important;
    }


    .pc_barbnr {
        display: none !important;
    }

    /* 붕붕 모션 */
    .mo_barbnr {
        display: block !important;
    }

    .trophy-row {
        display: block !important;
    }

    .cbt-event-popup-inner {
        width: 90vw;
        aspect-ratio: 714/1000;
        padding-top: 40px;
    }

    .cbt-event-popup-inner h2 {
        font-size: 24px;
        line-height: 1.3;
    }
    .cbt-event-popup-body{
        padding: 0 15px 30px;
    }
    .gift-section ul{display:block;}
    .gift-section ul li{margin-bottom:20px;}

    .event-schedule {
        display: block;
        border:1px solid #ccc;
        background-color:#fff;
        border-radius: 10px;
        padding: 20px;
    }
    .event-schedule p b{
        font-size:18px;
    }
    .event-schedule p{
        color:#212121;
        letter-spacing: -0.05em;
        font-size:16px;
    }
    .trophy-img{
        padding-bottom:16px;
        border-bottom:1px solid #ccc;
        margin-bottom:16px;
    }
    .btn_close{
        top:-30px;
        color:#fff;
    }
    .btn-apply-wrap{
        width: 70vw;
        margin: 30px auto;
    }

    .btn-popup-apply {
        padding: 12px 30px;
        font-size: 1em;
        width: 100%;
        box-sizing: border-box;
    }
    /* 모바일바  업다운 애니메이션 효과*/
    .evt_wrp .barbnr{
        position: fixed;
        background:#111;
        padding:15px 0;
        border-radius: 50px;
        bottom:2%;
        width:95%;
        left:50%;
        transform: translateX(-50%);
        border:1px solid #ccc;
        z-index: 100;
        animation: updown 1s both infinite alternate;
    }
    @keyframes updown {
        0% {
            transform: translateX(-50%) translateY(-5px);
        }
        100% {
            transform: translateX(-50%) translateY(5px);
        }
    }
    .evt_wrp .barbnr span{margin:0;}
    .evt_wrp .barbnr strong{
        background: linear-gradient(to right, #a8ff78, #78ffd6);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-fill-color: transparent;
        margin:0 auto;
    }
    body.cbt-popup-open {
        overflow: hidden;
    }
    body.cbt-popup-open .mo_barbnr {
        display: none !important;
    }
}