/* 202601 신규가입 이벤트 */
@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

body,
html {-webkit-text-size-adjust: none;}
body {font-family: "Pretendard Variable", "Malgun Gothic", "맑은 고딕", sans-serif;}
footer {margin-top:0;}

/* ========== global  ========== */
.joinEvent {position:relative; min-width:320px;}
.joinEvent * {box-sizing:border-box;}
.joinEvent section {position:relative; -webkit-text-size-adjust:none;}
.joinEvent .evt_area {position:relative; width:100%;}
.joinEvent .evt_inner {position:relative; padding:0 5.26vw; margin:0 auto;}
.joinEvent .tit_wrap,
.joinEvent .img_wrap {position:relative; text-align:center; margin:0 auto;}
.joinEvent .img_wrap img {display:block; max-width:100%;}
.joinEvent .btn_wrap {position:absolute; left:0; right:0; padding:0 7.63vw; z-index:3;}

/* text */
.sr-only {position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;}

.nt_txt {margin-top:2.63vw; line-height:1; font-size:2.89vw; font-weight:500; color:#222; text-align:center;}

/* PC version */
.pc-more_btn {padding:1.3rem 1rem; background-color:#fff; text-align:center;}
.pc-more_btn a {display:block; padding:1rem 0; font-weight:bold; background:#f5f5f5;}
.pc-more_btn .btn_box1 {overflow:hidden; display:inline-block; background-color:#fff; min-width:6.1rem;
    padding:0.5rem 0.8rem 0.4rem; border: 0.1rem solid #696e7a; color: #3f3f3f; text-align:center;  vertical-align:middle;}


/* ========== contents  ========== */
/* main title  */
.main_title .group_gravity {position:absolute; left:0; right:0; bottom:max(calc(320px * 0.3421), 34.21vw); text-align:center;}
.main_title .list_period {display:inline-grid; grid-template-columns:1fr max-content; column-gap:1.97vw; row-gap:2.37vw; align-items:center; text-align:left;}
.main_title .list_period dt,
.main_title .list_period dd {font-size:max(calc(320px * 0.03421), 3.421vw); color:#222; font-weight:600; vertical-align:middle;}
.main_title .list_period dt {padding:0.39vw 2.37vw 0.263vw; color:#fff; text-align:center; letter-spacing:-0.125vw; background:#C22830; border-radius:max(calc(320px * 0.02895), 2.895vw);}
.main_title .list_period dd strong {font-weight:700;}
.main_title .list_period + .list_period {margin-top:17px; margin-top:2.237vw;}

.main_title .btn_wrap {bottom:8.86%; margin:0 auto;}

/* event done */
.pageDone {position:absolute; top:35%; right:3%; z-index:2; width:22%;}


/* cont1 */
/* #cont1 .nt_txt{position:absolute; left:0; right:0; bottom:max(calc(320px * 0.1053), 10.53vw);} */
#cont1 .btn_wrap {bottom:9.60%;}
#cont1 .btn_wrap a > img {width:max(calc(320px * 0.5395), 53.95vw); margin:0 auto;}

.randomBox {position:absolute; top:49.85%; width:100%;}
.event_section {display:flex; flex-direction:column; align-items:center;}
.event_section .card_row {display:flex; justify-content:center;}
.event_section .bottom_row {margin-top:-22.37vw;}
.event_section .img_box {display:inline-block; position:relative; z-index:1; margin:0 -3.95vw; cursor:pointer; transition: all 0.3s ease-out;}
.event_section .img_box img {width:28.03vw; height:auto;}
.event_section .img_box:hover {transform: translateY(-6.58vw);}


/* cont2 */
#cont2 {padding-bottom:10.53vw; background:#FEF9D0;}

#cont2 .evt_box_wrap {padding:4.74vw 9.21vw; background:#fff; border-radius:3.29vw; box-shadow:3.5px 4.9px 12px rgba(0, 0, 0, 0.15);}
#cont2 .evt_box_wrap + .evt_box_wrap {position:relative; margin-top:2.63vw;}
#cont2 .evt_box_wrap + .evt_box_wrap::before,
#cont2 .evt_box_wrap + .evt_box_wrap::after {display:block; position:absolute; z-index:10; width:3.55vw; height:4.34vw; background:url("https://s3.unistudy.co.kr/images/mobile/event/2026/joinEvent_2601/evt_box_link.png") no-repeat center / contain; content:'';}
#cont2 .evt_box_wrap + .evt_box_wrap::before {top:-5.5%; left:11%;}
#cont2 .evt_box_wrap + .evt_box_wrap::after {top:-5.5%; right:11%;}

#cont2 .txt_area {text-align:cemter;}
#cont2 .txt_area .logo_mega {width:21.71vw; height:auto; margin:0 auto;}
#cont2 .txt_area h4 {margin-top:1.97vw; line-height:1.18; font-size:5.26vw; font-weight:700; color:#222;}
#cont2 .txt_area h4 em {color:#bf252d; font-weight:700;}
#cont2 .txt_area .nt_txt {margin-top:1.58vw; color:#7f7778;}

#cont2 .gift_area {display:flex; gap:2.63vw; justify-content:center; margin-top:3.55vw; text-align:center;}
#cont2 .gift_area li {position:relative; padding:3.95vw 1.32vw; border-radius:1.97vw;}
#cont2 .gift_area li:first-child {background:#FFDFE3;}
#cont2 .gift_area li:last-child {background:#FEF6CC;}
#cont2 .gift_area li > img {display:block; margin:0 auto; margin-bottom:0.66vw;}
#cont2 .gift_area .num_box {display:flex; justify-content:center; align-items:center; position:absolute; top:0; right:0; width:9.21vw; height:9.21vw; line-height:1.2; font-size:2.63vw; font-weight:700; letter-spacing:-0.8px; color:#fff83d; text-align:center; background:#6A2C33;}
#cont2 .gift_area .btn_radio {position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip: rect(0, 0, 0, 0); border:0;}
#cont2 .gift_area .btn_radio + label {display:inline-flex; align-items:center; cursor:pointer; line-height:1; font-size:3.95vw; color:#222; font-weight:700;}
#cont2 .gift_area .btn_radio + label::before {content: ""; display:inline-block; width:3.68vw; height:3.68vw; margin-right:1.05vw; background: url("https://s3.unistudy.co.kr/images/mobile/event/2026/joinEvent_2601/btn_radio.png") no-repeat center / contain;}
#cont2 .gift_area .btn_radio:checked + label::before {background: url("https://s3.unistudy.co.kr/images/mobile/event/2026/joinEvent_2601/btn_radio_on.png") no-repeat center / contain;}

#cont2 .info_input {text-align:center;}
#cont2 .info_input dt {margin-bottom:1.97vw; line-height:1; font-size:3.95vw; font-weight:700;}
#cont2 .info_input dd {margin-bottom:3.95vw;}
#cont2 .info_input dd:last-child {margin-bottom:0;}
#cont2 .info_input input {width:100%; height:8.55vw; font-size:3.95vw; background:#FFF5D7; border:1px solid #3F3F3F; border-radius:0;}

#cont2 .evt_check {padding:3.68vw 2.63vw 3.68vw 6.32vw; text-align:left; background:#EEEAC6;}
#cont2 .evt_check * {line-height:3.68vw; font-size:2.89vw; color:#3f3f3f; letter-spacing:-0.6px;}
#cont2 .evt_check .chk_label {display:inline-block;}
#cont2 .evt_check .chk_label strong {font-weight:700;}
#cont2 .evt_check input[type=checkbox] {width:max(calc(320px * 0.0224), 2.24vw); height:max(calc(320px * 0.0224), 2.24vw); margin-left:-3.29vw; vertical-align:middle; border:1px solid #222; border-radius:0;}

#cont2 .evt_check {margin-top:3.95vw;}
#cont2 .evt_check .agree_list {padding:0.66vw 0;}
#cont2 .evt_check .agree_list li {margin-left:1.97vw; text-indent:-1.97vw; letter-spacing:-1px;}
#cont2 .evt_check .agree_list li .udl {font-weight:700; text-decoration:underline;}

#cont2 .evt_check .evt_comm {margin:1.32vw 0 2.11vw;}
#cont2 .evt_check .evt_nt li {margin-left:1.97vw; color:#ff6060; text-indent:-1.97vw;}

#cont2 .evt_btn_wrap {display:flex; flex-direction:column; gap:2.63vw; justify-content:center; position:relative; margin-top:3.95vw;}


/* cont3 */
#cont3 {padding-bottom:10.53vw; background:#FF7469;}
#cont3 .bnr_wrap li {margin-top:3.95vw;}
#cont3 .bnr_wrap li:first-child {margin-top:0;}


/* cont4 */
#cont4 {padding-bottom:10.53vw; background:#6484F3;}
#cont4 .btn_wrap {position:relative;}

/* noticeWrap */
.noticeWrap {width:auto; margin-top:57px; margin-top:7.5%;}
.noticeWrap_title {display:block; margin:0 auto; padding:0.8rem 0 0.7rem; background:rgba(0, 0, 0, 0.3); font-size:4.2vw; font-weight:normal; text-align:center; cursor:pointer;}
.noticeWrap_title.sub {margin-bottom:0.5rem; padding:0; background:none; font-weight:bold; font-size:3.6vw; color:#3f3f3f; text-align:left;}
.noticeWrap_list + .noticeWrap_title {margin-top:5vw;}
.noticeWrap_txt {display:inline-block; position:relative; padding:0 1rem 0 0; font-weight:bold; color: #fff;}
.noticeWrap_txt:before {position:absolute; right:-2vw; top:50%; z-index:3; font-size:calc(100% - 1vw); content:"▼"; transform: translateY(-50%);}
.noticeWrap.on .noticeWrap_txt:before {content: "▲";}
.noticeWrap_inner {display:none; margin: 0; padding: 1rem; background: #fff;}
.noticeWrap_item {margin-top:2.63vw;}
.noticeWrap_item:first-child {margin-top:0;}
.noticeWrap_list {position: relative;}
.notice_item {position: relative; padding: 0 0 0 0.7rem; margin-bottom: 0.2rem; font-size:3.2vw; line-height: 1.4; letter-spacing: -0.5px; color: #3f3f3f; word-break: keep-all; word-wrap: break-word;}
.notice_item:before {position: absolute; left: 0; top: 0; z-index: 3; content: "-";}
.notice_link {display: inline-block; font-weight:bold; font-size:inherit; color:#5074f1; text-decoration:underline;}
.notice_item .highlight {color:#ff6060;}


/* ========== popup  ========== */
/* winner-popup-overlay */
.winner-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s ease-out;
}
.winner-popup-overlay.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.5s ease-out;
}
.winner-popup-mszie {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
}
.winner-popup-content {
    min-width: 80%;
    max-width: 90%;
    margin: 0 auto;
    padding: 2rem 0 0;
    background: #fff;
    border-radius: 25px;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}
.winner-popup-overlay.active .winner-popup-content {
    transform: scale(1);
}
.winner-popup-content h2 {
    padding: 0 0 2rem;
    border-bottom: 1px dashed #598bf4;
}
.winner-popup-content h2 > img {
    width: 64%;
    margin: 0 auto;
}
.winner-popup-content .winning-prize h3 {
    margin: 1.5rem 0;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: -0.5px;
    color: #333;
    text-align: center;
}
.winner-popup-content .item-img {
    display: flex;
    margin: 0 0 2rem;
    align-items: center;
    justify-content: center;
}
.winner-popup-content .item-img > img {
    display: block;
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 150px;
}
.close-popup-button {
    display: block;
    width: 100%;
    padding: 1.5rem 0;
    background: #307ef9;
    border-radius: 0 0 25px 25px;
    font-weight: bold;
    font-size: 15px;
    color: #fff;
    text-align: center;
    cursor: pointer;
}
@media screen and (orientation: landscape) {
    .winner-popup-overlay {
        position: absolute;
    }
}