/* ===== 사전신청 랜딩 hero (/test) ===== */
/* 화면보다 콘텐츠가 작으면 브라우저 높이에 꽉 채우고 콘텐츠는 상하좌우 가운데 정렬 */
#pre-hero{position:relative; display:flex; flex-direction:column; min-height:100vh; min-height:100dvh; overflow:hidden; background:#9867f6;}
#pre-hero .pre-hero__inner{position:relative; flex:1 0 auto; display:flex; flex-direction:column; justify-content:center; padding:40px 20px 48px; background:url('/img/pre/pre_index_bg.jpg') center/cover no-repeat;}

#pre-hero .pre-hero__title{position:relative; z-index:3; width:100%; max-width:1320px; margin:0 auto;}
#pre-hero .pre-hero__title img{display:block; width:100%; height:auto;}
#pre-hero .pre-hero__title-m{display:none !important;}

#pre-hero .pre-hero__content{position:relative; display:grid; grid-template-columns:1fr 1fr; gap:32px; width:100%; max-width:1160px; margin:10px auto 0;}
#pre-hero .pre-hero__video{position:relative; z-index:1; aspect-ratio:16 / 9; background:#000; border-radius:20px; overflow:hidden; isolation:isolate;}
#pre-hero .pre-hero__video iframe{position:absolute; inset:0; width:100%; height:100%;}

/* 카드 높이 = 영상 높이 (이미지는 absolute 라 행 높이에 영향 없음) */
#pre-hero .pre-hero__event{position:relative; z-index:1; display:block; background:#fff; border-radius:20px; transition:transform .2s, box-shadow .2s;}
#pre-hero .pre-hero__event:hover{transform:translateY(-4px); box-shadow:0 12px 30px rgba(0,0,0,.15);}
#pre-hero .pre-hero__event img{position:absolute; top:16px; left:30px; width:calc(100% - 60px); height:calc(100% - 32px); object-fit:contain;}

#pre-hero .pre-hero__sticker{position:absolute; height:auto; pointer-events:none;}
#pre-hero .pre-hero__sticker--1{z-index:2; width:18.3%; left:-17%; bottom:30px;}
#pre-hero .pre-hero__sticker--2{z-index:0; width:23.9%; right:-13.7%; top:36%;}

/* 사전 신청 버튼: 콘텐츠 박스 아래 가운데, 박스형 버튼 */
#pre-hero .pre-hero__cta{position:relative; z-index:3; display:flex; align-items:center; justify-content:center; align-self:center; margin:32px auto 0; padding:26px 64px; background:#9867f6; border:3px solid #fff; border-radius:20px; box-shadow:0 6px 0 #6b3fd4, 0 14px 30px rgba(0,0,0,.18); transition:transform .2s, box-shadow .2s, background .2s;}
#pre-hero .pre-hero__cta:hover{background:#8a55f0; transform:translateY(-3px); box-shadow:0 9px 0 #6b3fd4, 0 18px 34px rgba(0,0,0,.2);}
#pre-hero .pre-hero__cta:active{transform:translateY(3px); box-shadow:0 3px 0 #6b3fd4, 0 8px 20px rgba(0,0,0,.18);}
#pre-hero .pre-hero__cta img{display:block; max-width:100%; height:auto;}
#pre-hero .pre-hero__cta-pc{width:600px;}
#pre-hero .pre-hero__cta-m{display:none !important;}

@media(max-width:1279px){
    #pre-hero .pre-hero__content{gap:24px; max-width:calc(100% - 80px);}
    #pre-hero .pre-hero__event{border-radius:20px;}
    #pre-hero .pre-hero__event img{top:14px; left:24px; width:calc(100% - 48px); height:calc(100% - 28px);}
    #pre-hero .pre-hero__cta{margin-top:24px; padding:22px 48px;}
    #pre-hero .pre-hero__cta-pc{width:500px;}
}

@media(max-width:767px){
    #pre-hero .pre-hero__inner{padding:16px 16px 80px;} /* 하단: 퀵메뉴(16px + 46px) + 여백 18px */
    #pre-hero .pre-hero__title-pc{display:none !important;}
    #pre-hero .pre-hero__title-m{display:block !important;}
    #pre-hero .pre-hero__content{grid-template-columns:1fr; gap:16px; max-width:100%; margin-top:8px;}
    #pre-hero .pre-hero__sticker{display:none;}
    #pre-hero .pre-hero__video{border-radius:16px;}
    #pre-hero .pre-hero__event{padding:16px; border-radius:16px;}
    #pre-hero .pre-hero__event:hover{transform:none; box-shadow:none;}
    #pre-hero .pre-hero__event img{position:static; width:100%; height:auto;}
    #pre-hero .pre-hero__cta{width:100%; margin-top:16px; padding:18px 16px; border-radius:16px;}
    #pre-hero .pre-hero__cta:hover{transform:none;}
    #pre-hero .pre-hero__cta-pc{display:none !important;}
    #pre-hero .pre-hero__cta-m{display:block !important; width:100%; max-width:380px;}
}
