@import url('../font/pretendard/pretendard.css');
@font-face { 
    font-family: 'NEXON-Gothic'; 
    font-weight: normal;
    font-style: normal; 
    src: url(../font/NEXONLv1Gothic-OTF.eot);
    src: url(../font/NEXONLv1Gothic-OTF.woff) format('woff');
  }

/* --- CSS Reset --- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none;}
label,img,input,select,textarea,button {vertical-align:middle;}
a:link, a:visited, a:hover, a:active {text-decoration: none; color: inherit;}
table {border-collapse:collapse;border-spacing:0}

body {
    font-family: 'Pretendard','Apple SD Gothic Neo','맑은 고딕','Malgun Gothic', sans-serif;;
    font-size: 1.125rem;
    font-weight: normal;
    -webkit-text-size-adjust: none;
    background-color: #000;
    min-height: 100vh;
    background: #000 url('../images/bg_evimg.jpg') no-repeat; 
    background-position: center -200px;
    background-size: 1650px;  
}
.fix-wid {
    width: 100%;
    max-width: 744px;
    margin: auto;
}
.font-nexon {font-family: 'NEXON-Gothic';}
.container-evm {
    min-height: 100vh;
    display: flex;
    flex-direction: column;    
}
@media screen and (max-width:768px) {
    body {
        font-size: 1rem;
        background-size: 200%;  
        background-position: 45% top;
    }
}

/* ==== Header ==== */
.head-evp {
    position: sticky;
    top: 0; left: 0;
    height: 91px;
    background: rgba(0,0,0,0.5) url('../images/line-topb.png') no-repeat center bottom;
    z-index: 9;
    flex-shrink: 0;
}
/* -- Slide Side Menu -- */
.head-evp #menu-evh {display: none;}
.btn-evm {
    display: block;
    position: absolute;
    top: 25px;
    background: transparent url('../images/btn-evOpen.png') no-repeat center / cover;
    cursor: pointer;
    z-index: 10;
}
.btn-evm, .sideMBox .btn-evcm {
    width: 33px; height: 33px;
    left: 40px;
}
.sideMBox {
    position: fixed;
    top: 0; left: -80%;
    width: 80%; 
    height: 100%;
    background-color: #000;
    z-index: 10;
    padding: 70px 10px 30px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-transition: left 0.4s;
    transition: left 0.4s;
}
.sideMBox .btn-evcm {
    display: none;
    position: fixed;
    top: 25px;
    background: transparent url('../images/btn_evclose.png') no-repeat center /cover;
    cursor: pointer;
}
.logo-slide {
    text-align: center;
    margin-bottom: 50px;
}
.logo-slide img {
    width: 55%;
    max-width: 200px;
}
.nav-sideBox {}
.nav-sideBox li {
    width: 100%;
    font-size: 1.4em;
    margin-bottom: 1.3em;
    text-align: center;
    color: #b2b2b2;
    font-weight: 600;
    transition: color 0.3s;
}
.nav-sideBox li:last-child {margin-bottom: 1.6em;}
.nav-sideBox li:hover {
    color: #c29d4d;
}
.snsmBox {
    display: flex;
    justify-content: center;
    align-items: center;
}
.snsmBox > a {
    display: block;
    width: 60px; height: 60px;
    background-position: center;
    background-size: cover;
    margin: 5px 12px;
    transition: background-image 0.3s;
}
.snsmBox .tweet-evm {background-image: url('../images/tw-menu.png');}
.snsmBox .facebook-evm {background-image: url('../images/facebook-menu.png');}
.snsmBox .discord-evm {background-image: url('../images/discode-menu.png');}
.snsmBox .tweet-evm:hover {background-image: url('../images/tw-over.png');}
.snsmBox .facebook-evm:hover {background-image: url('../images/facebook-over.png');}
.snsmBox .discord-evm:hover {background-image: url('../images/discode-over.png');}
.tokenGoBtn {
    display: block;
    margin: auto;
    text-align: center;
}
.tokenGoBtn img {
    width: 70%;
    max-width: 289px;
}
/* -- Slide Menu Background -- */
.slideBgc {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.8);
    z-index: 9;
}
.head-evp input#menu-evh:checked ~ .sideMBox {left: 0;}
.head-evp input#menu-evh:checked ~ .slideBgc {display: block;}
.head-evp input#menu-evh:checked ~ .sideMBox .btn-evcm {display: block;}

/* -- Store Link Box -- */
.btnBox-evp {
    height: 100%;
    padding: 0 10px 0 10px;
    box-sizing: border-box;
}
.btns-go {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}
.btns-go > a {
    display: block;
    flex: 1;
    text-align: center;
}
.btns-go > a img {
    width: 100%;
    max-width: 230px;
}
@media screen and (max-width:768px) {
    .head-evp {height: 76px;}    
    .btn-evm, .sideMBox .btn-evcm {
        width: 28px; height: 28px;
        left: 13px;
    } 
    .logo-slide {margin-bottom: 30px;}
    .nav-sideBox li {
        margin-bottom: 1.1em;
        font-size: 1.2em;
    }    
    .snsmBox > a {
        width: 50px; height: 50px;
        background-position: center;
        background-size: cover;
        margin: 5px;
    }    
    .btnBox-evp {padding: 0 5px 0 50px;}
    .btns-go > a:last-child { margin-left: 0;} 
    .btns-go > a img {
        width: 100%;
        max-width: 230px;
    }    
}
/* ==== End Header ==== */

/* ==== Information Input Area ==== */
.content-evp {
    flex: 1 0 auto;
    padding: 70px 0 5vw;
    position: relative;
    box-sizing: border-box;
}
.topArea-evp {
    text-align: center;
    padding: 0 13px 25px;
    box-sizing: border-box;
}
.topArea-evp .logoArea-evp {}
.logoArea-evp > img {
    width: 50%;
    min-width: 150px;
    max-width: 320px;
} 
.topArea-evp .tit-tevp {
    margin: 10px 0 15px;
    font-size: 1.89em;
    font-weight: 600;
    color: #fff;
    text-shadow: 1.5px 1.5px 2px #000;
}
.topArea-evp .add-desc20 {
    color: #fff;
    padding: 15px 15px;
    line-height: 1.4;
    background-color: rgba(0,0,0,0.8);
    border-radius: 10px;
    box-sizing: border-box;
}
.topArea-evp .add-desc20 .bbi {
    color: rgba(255,127,80,0.85);
    font-weight: 550;
    text-decoration: underline;
}

/* -- Input Area -- */
.wid-conBox {
    width: 93%;
    height: auto;
    margin: auto;
    padding: 10px 19px 30px;
    border-radius: 8px;
    box-sizing: border-box;
    /* background-color: rgba(0,0,0,0.75);   */
}
.conTBox {}
.row-ievp {
    height: 78px;
    display: flex;
    align-items: center;
}
.row-ievp > label {
    width: 38%;
    font-size: 1.33em;
    display: block;
    color: #fff;
    text-shadow: 1px 1px 1.5px #000;
    font-weight: 600;
    padding: 0 5px;
    box-sizing: border-box;
}
.row-ievp .inne-row {flex: 1;}
.row-ievp input, .row-ievp select {
    font-size: 1em;
    width: 100%;
    height: 48px; vertical-align: middle;
    border: 1.5px solid #111;
    background-color: rgba(255,255,255,0.8);
    outline: none;
    border-radius: 5px;
    padding: 8px 10px;
    box-sizing: border-box;
}
.row-ievp input:focus, .row-ievp select:focus {
    border: 1.5px solid #5b94fd;
    background-color: rgba(226,237,252,0.8);
}
.row-ievp select {
    display: block;
    -webkit-appearance: none;
    -moz-appearance: none; 
    appearance: none;
    background: rgba(255,255,255,0.75) url(../images/caretDown.svg) no-repeat 95% center;
    background-size: 13px auto;   
    outline: none;
}
.row-ievp select::-ms-expand {display:none;}
.row-btn {
    margin-top: 3vw;
    text-align: center;
}
.row-btn .btn-evsubmit {
    display: block;
    width: 60%;
    margin: auto;
    background-color: transparent;
    outline: none; border: none; cursor: pointer;
    box-sizing: border-box;
}
.row-btn .btn-evsubmit > img {
    display: block;
    width: 100%;
}
@media screen and (max-width:768px) {
    .wid-conBox {
        width: 95%;
        padding: 10px 10px 20px;
    }    
    .conTBox {padding-top: 0;}
    .content-evp {padding: 30px 0 50px;}
    .row-ievp > label {width: 36%; font-size: 1.2em;}    
    .row-ievp {height: 70px;}    
    .row-btn {margin-top: 25px;}    
    .row-btn .btn-evsubmit {width: 90%;}      
}
/* ==== End Information Input Area ==== */

/* === Voucher Modal Box === */
.voucWrap{
    display: none;
   position: fixed;
   top: 0; left: 0; right: 0; bottom: 0;
   background-color: rgba(0,0,0,0.8);
   z-index: 11;
}
.voucBox {
    position: absolute;
    top: 45%; left: 50%;
    transform: translate(-50%,-50%);
    padding: 0 15px;
    box-sizing: border-box;
}
.btn-xmobox {
    margin-bottom: 8px;
    text-align: right;
}
#btn-xmo {
    outline: none; border: none; background-color: transparent; cursor: pointer;
    width: 40px; height: 40px;
}
#btn-xmo > img {width: 100%;}
.voucCont {
    position: relative;
    width: 100%;
    padding-top: 46.9369%;
    background: transparent url('../images/coupon-bgx.png') no-repeat center / cover;       
}
.innerCon {
    width: 100%; height: 100%;
    position: absolute;
    top: 0; left: 0; top: 0; bottom: 0;
}
.innerCon .numVouc {
    position: absolute;
    top: 42%;
    left: 3.77%;
    width: 58.4354%;
    color: #fff;
}
.innerCon .numVouc .numvcc {
    display: block;
    font-size: 1.8em;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center; 
}
.innerCon .btnVouc {
    position: absolute;
    top: 66.4%; left: 8.29%;
    width: 50%;
}
.innerCon .btnVouc .btnCopy {
    background-color: transparent;
    outline: none;
    border: none;
    cursor: pointer;
} 
.btnVouc .btnCopy img {width: 100%;}
@media screen and (max-width:768px) {
    .innerCon .numVouc .numvcc {
        font-size: 1.25em;
    }    
    .innerCon .btnVouc {
        left: 5.29%;
        width: 55%;
    }    
}
/* === End Voucher Modal Box === */

/* === Footer === */
.footer-evp {
    flex-shrink: 0;
    padding: 16px 10px 22px;
    background-color: #000;
    font-size: 1rem;
    color: #a6a6a6;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    box-sizing: border-box;
}
.footer-evp .fix-wid > p:not(:first-child) {margin: 5px 0 0 0;}
@media screen and (max-width:768px) {
    .footer-evp {font-size: 0.9em;}
}
/* === End Footer === */

/* === Coupon-related Messages === */
.vmessageBox {
    font-size: 1.25em;
    text-align: center;
    color: #fff;
    margin: 13px auto;
}

/* === Error Messages Box === */
.errMesg {
    /* display: none; */
}
.errVouc {
    position: absolute;
    left: 3%; top: 5%; bottom: 5%;
    width: 60%;
    padding: 3%;
    color: #eee;
    background-color: rgba(0,0,0,0.9);
    overflow: hidden;
    border-radius: 3px;
    box-sizing: border-box;
    z-index: 3;
}
.errtxVouc {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 2.5%; top: 53%; bottom:19%; width: 30%;
    background-color: rgba(0,0,0,0.9);
    color: #f8fc96;
    font-size: 2.2em;
    font-weight: bold;
    border-radius: 3px;
    box-sizing: border-box;
    overflow: hidden;
}
@media screen and (max-width:768px) {
    .errtxVouc {font-size: 1.2em;}
}
/* Layer Popup */
#popBox2 {
    position:absolute;
    top: 15%; left: 50%; transform: translateX(-50%);
    display: none;
    font-size: 16px;
    width: 100%; max-width: 600px;
    letter-spacing: -1px;
    border-radius: 5px;
    overflow: hidden;
    box-sizing: border-box;
}
#popBox2 img {display: block; width: 100%;}
.closeBox {
    padding: 7px; box-sizing: border-box;
    display: flex; align-items: center;
    background-color: #f5f5f5;
    color: #707070;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.closeBox .daychkBox {flex: 1;}
.closeBox button {
    font-size: 1em;
    outline: none; border: none; background-color: transparent; cursor: pointer;
    color: #707070;
    font-weight: 600;
}
@media screen and (max-width:768px) {
    #popBox2 {width: 90%; top:18%; font-size: 15px;}
}
/* End Layer Popup */

/* Wallet Guide Link */
.guideLink-wa {
    padding: 20px 0 0;
    text-align: center;
    color: #fff;
}
.btnlink-wag {
    display: inline-block;
    font-size: 1.2em;
    font-weight: 550;
    padding: 8px 28px;
    color: #fff;
    background-color: rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 25px;
    box-sizing: border-box;
    -webkit-transition: color 0.3s, background-color 0.3s;
    transition: color 0.3s, background-color 0.3s;
}
.btnlink-wag:hover {
    color: #000;
    background-color: rgba(255,255,255,0.7);
}
@media screen and (max-width:768px) {
    .guideLink-wa {padding: 15px 0 0;}
    .btnlink-wag {font-size: 1.1em;}
}

/* Wallet Guide Layer */
.waguideWrap {
    display: none;
    position: fixed;
    left: 0; right: 0; top: 0; 
    width: 100%; height: 100vh;
    background-color: rgba(0,0,0,1);
    padding: 50px 0;
    box-sizing: border-box;
    z-index: 10;
    overflow-y: auto;
}
.waguideBox {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 0 10px;
    box-sizing: border-box;
    counter-reset : numbering;
}
.cls-wagl2 {
    display: block;
    position: fixed;
    top: 10px; left: 50%; transform: translateX(-420px);
    z-index: 13;
    width: 40px; height: 40px;
    background: #000 url('../images/btn_evclose.png') no-repeat center / 80%;
    outline: none;
    border: none;
    cursor: pointer;
}
@media screen and (max-width:768px) {
    .cls-wagl2 {
        display: block;
        position: fixed;
        top: 10px; left: 10px; transform: translateX(0);
        width: 35px; height: 35px;
    }    
}
.waguideBox img {
    display: block;
    width: 100%;
    height: auto;
}
.stepBox-wag {
    position: relative;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 5px;
    border-radius: 5px;
    box-sizing: border-box;
}
.stepBox-wag:not(:last-of-type) {margin: 0 auto 50px;}
.stepBox-wag:not(:last-of-type)::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -55px;
    left: 50%; transform: translateX(-50%);
    border-width: 20px; 
    border-style: solid; 
    border-color: rgba(255,127,80,0.8) transparent transparent transparent;
}
.stepBox-wag::before {
    content : 'STEP 'counter(numbering);
    counter-increment : numbering; 
    display: inline-block;
    position: absolute;
    top: 0; right: 0;
    padding: 5px 9px;
    border-radius: 2px;
    background-color: rgba(255,127,80,0.85);
    font-size: 0.93em;
    font-weight: 550;
}
.imgBox-wag, .capBox-wag {
    border-radius: 5px;
    overflow: hidden;    
}
.capBox-wag {
    font-size: 1.13em;
    color: #fff;
    background-color: rgba(255,127,80,0.4);
    border: 1px solid coral;
    padding: 13px 10px;
    margin: 5px auto 0;
    box-sizing: border-box;
}

/* ===== 
Event Information
===== */
.container-evinfo {color: #bfbfbf;}
.container-evinfo > .fix-wid {padding: 0 15px; box-sizing: border-box;}
.gap-evinfo {height: 30px;}
.sty5-desc .desc-box .title-sdesc {color: rgba(255,127,80,0.85); font-size: 1.15em; font-weight: 600; margin: 0 0 10px;}
.sty5-desc .desc-box .desc-list {font-size: 0.95em; line-height: 1.4; padding: 20px 15px; border-radius: 8px; background-color: rgba(255,255,255,0.14); box-sizing: border-box; }
.sty5-desc .desc-box .desc-list > li:not(:first-child) {margin: 7px 0 0;}
.sty5-desc .desc-box .desc-list .tit-list {color: #fff; font-weight: 550; }

.sty5-desc .desc-box .desc-list.bullet01 {padding: 20px 15px 20px 35px; counter-reset : numbering;}
.sty5-desc .desc-box .desc-list.bullet01 > li {position: relative;}
.sty5-desc .desc-box .desc-list.bullet01 > li::before {counter-increment : numbering; content : counter(numbering)'.'; position: absolute; left: -20px; color: #fff; }

.sty5-desc .desc-box .desc-list.bullet02 {padding: 20px 15px 20px 30px;}
.sty5-desc .desc-box .desc-list.bullet02 > li {position: relative;}
.sty5-desc .desc-box .desc-list.bullet02 > li::before {content: '•'; position: absolute; left: -15px; color: #fff; }

/* ====
Event completed Popup
==== */
.content-ecp {padding: 0 10px 0; color: #ebebeb; box-sizing: border-box; margin: 15px auto 40px;}
.content-ecp .txs20 {color: rgba(255,127,80,0.85); text-decoration: underline; font-weight: 550;}
.container-ecp {padding: 25px 15px 35px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.25); box-shadow: 0 2px 4px rgba(0,0,0,0.4); box-sizing: border-box; background: #151515 url('../images/bg-010.png') repeat-x center top / 550px;}
.container-ecp .wrap-ecp .main-title {text-align: center; line-height: 1.4; padding: 10px 10px; box-sizing: border-box; }
.container-ecp .wrap-ecp .main-title .tit-ecp {font-size: 1.2em; font-weight: 500; margin: 10px 0 35px; line-height: 1.25; border: 3px solid rgba(255,127,80,0.5); padding: 25px 15px; border-radius: 10px; background-color: rgba(0,0,0,0.2); box-sizing: border-box; }
.container-ecp .wrap-ecp .main-title .tit-ecp .ivvx {display: block; font-size: 1.3em; margin:0 0 6px; font-weight: 600;}

.container-ecp .wrap-ecp .sty5-desc .desc-box .desc-list {background-color: rgba(255,255,255,0.1); }
.container-ecp .wrap-ecp .buttonBx-ecp {text-align: center; padding: 10px 0;}
.container-ecp .wrap-ecp .buttonBx-ecp .btn-evb {display: block; width: 90%; max-width: 600px; margin: auto; background-color: rgba(255,127,80,0.85); color: #fff; font-size: 1.2em; font-weight: 550; padding: 13px 15px; border-radius: 30px; box-sizing: border-box; cursor: pointer;}

/* ====
Banner
==== */
.banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.banner-image {
    max-width: 720px;
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
}
.countdown {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
}
.close-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 1001; /* 배너보다 위에 위치하도록 z-index 설정 */
}
.close-btn-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}
