@charset "UTF-8";
/* 서브4 MEDIA : 와이드 PC */

.videoBox{width:100%; height:100%; overflow:hidden; position:absolute;}
#imgBG{position:absolute; left:50%; top:50%; width:auto; min-width:100%; height:auto; min-height:100%;
	transform:translateX(-50%) translateY(-50%); z-index:-100;}
.videoBox::after{content:''; position:absolute; left:0; top:0; width:100%; height:100%;
	background:linear-gradient(0deg, #070a14 0%, #070a1466 40%, #070a1433 75%, #070a1490);}
.sub_visual{position:absolute; left:0; top:50%; z-index:1; width:100%; text-align:center; transform:translateY(-50%);}
.sub_title{margin-top:20px; font:600 7.5rem/1 var(--font-en); letter-spacing:.06em; text-shadow:0 6px 40px #000;}

/* SCROLL */
.down, .down:link, .down:visited{position:absolute; left:50%; bottom:40px; z-index:1; transform:translateX(-50%);}
.down_copy{display:block; font-family:var(--font-en); font-size:0.6875rem; letter-spacing:.35em; color:#e6d0a6;}
.down_copy::after{content:''; display:block; width:1px; height:50px; margin:12px auto 0;
	background:linear-gradient(var(--color-main), transparent); animation:hint 1.8s infinite;}
@keyframes hint{
	0%{height:0; opacity:1;}
	50%{height:50px; opacity:1;}
	100%{height:50px; opacity:0;}
}

/* ===== 본문 공통 ===== */
#content{width:100%; margin-top:100vh; background:#070a14;}
.section_title{font-family:var(--font-en); font-weight:600; line-height:1.08; color:var(--color-font1); text-shadow:0 5px 30px #000;}

/* ===== 1. 시네마틱 ===== */
.cine{position:relative; min-height:100vh; padding:126px 0 48px; overflow:hidden; display:flex; justify-content:center; align-items:center; background:#000;}
.cine::after{content:''; position:absolute; left:0; top:0; width:100%; height:100%; background:linear-gradient(90deg, #000000e8 0%, #000000ab 50%, #000000e8 100%);}

/* 뒤 배경 사진 5장 */
.cine_bg{position:absolute; left:0; top:0; width:100%; height:100%; background-size:cover; background-position:center; opacity:0; filter:blur(3px); transform:scale(1.05); transition:opacity 1s;}
.cine_bg.on{opacity:1;}
.cine_bg:nth-child(1){background-image:url(../images/sub4/cine_01.jpg);}
.cine_bg:nth-child(2){background-image:url(../images/sub4/cine_02.jpg);}
.cine_bg:nth-child(3){background-image:url(../images/sub4/cine_03.jpg);}
.cine_bg:nth-child(4){background-image:url(../images/sub4/cine_04.jpg);}
.cine_bg:nth-child(5){background-image:url(../images/sub4/cine_05.jpg);}

/* 큰 틀 하나 : 왼쪽 대표 영상 + 오른쪽 목록 */
.cine_panel{position:relative; z-index:2; display:grid; grid-template-columns:minmax(0, 1fr) 340px; gap:24px; width:min(1440px, calc(100% - var(--gutter) * 2), calc((100vh - 250px) * 16 / 9 + 416px)); padding:44px 26px 26px;
	background:radial-gradient(120% 90% at 50% 0, #241a0e 0%, #130d06 60%, #0b0704 100%); border:2px solid #8a6a2c;
	box-shadow:0 0 0 6px #120d08, 0 0 0 8px #5c4520, 0 30px 80px #000, inset 0 0 40px #000;}
.cine_title{position:absolute; left:50%; top:-24px; padding:9px 38px; transform:translateX(-50%); white-space:nowrap;
	background:linear-gradient(180deg, #3a2a12, #1c140a); border:2px solid #c9a24a;
	font-family:var(--font-en); font-size:1.125rem; font-weight:700; letter-spacing:.2em; color:#ffd200; text-shadow:0 0 10px #000;}

/* 대표 영상 */
.cine_feature{position:relative; aspect-ratio:16 / 9; align-self:start; overflow:hidden; border:1px solid #5c4520; background:#0d0f18;}
.cine_hero{position:absolute; inset:0; display:block;}
.cine_hero[hidden], .cine_screen[hidden]{display:none;}
.cine_hero_img{width:100%; height:100%; object-fit:cover; transition:transform .5s, filter .3s; filter:brightness(.88);}
.cine_hero:hover .cine_hero_img, .cine_hero:focus-visible .cine_hero_img{transform:scale(1.02); filter:brightness(1);}
.cine_hero_play{position:absolute; left:50%; top:45%; display:flex; justify-content:center; align-items:center; width:76px; height:76px; margin:-38px 0 0 -38px; border:2px solid #c9a24a; border-radius:50%;
	background:radial-gradient(circle at 50% 35%, #4a3418, #1a1006 70%); box-shadow:0 0 0 2px #000, 0 0 0 5px #5c4520, inset 0 2px 0 rgba(255,220,150,.35), 0 10px 30px rgba(0,0,0,.6);
	font-size:1.375rem; color:#ffd770; padding-left:5px; transition:transform .3s, box-shadow .3s;}
.cine_hero:hover .cine_hero_play, .cine_hero:focus-visible .cine_hero_play{transform:scale(1.06); box-shadow:0 0 0 2px #000, 0 0 0 5px #8a6a2c, 0 0 26px rgba(255,200,60,.6);}
.cine_hero:focus-visible{outline:none;}
.cine_hero_info{position:absolute; left:0; right:0; bottom:0; display:grid; grid-template-columns:1fr auto; padding:60px 24px 18px; background:linear-gradient(180deg, transparent, rgba(0,0,0,.88)); text-align:left;}
.cine_hero_info strong{font-size:1.625rem; font-weight:700; letter-spacing:.02em; color:#ffd200; text-shadow:0 2px 6px #000;}
.cine_hero_info span{grid-row:2; margin-top:4px; font-family:var(--font-en); font-size:0.875rem; letter-spacing:.04em; color:#e8e2d6;}
.cine_hero_info em{grid-column:2; grid-row:1 / 3; align-self:end; font-family:var(--font-en); font-size:0.8125rem; font-style:normal; color:#d9c9a3;}
.cine_screen{position:absolute; inset:0; background:#000;}
.cine_screen iframe{display:block; width:100%; height:100%; border:0;}
.cine_close{position:absolute; right:10px; top:10px; z-index:2; display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:6px 14px; border:1px solid #c9a24a; border-radius:3px;
	background:linear-gradient(180deg, #a8241a, #420604); font-family:inherit; font-size:0.8125rem; font-weight:700; color:#ffd200; text-shadow:1px 1px 0 #000; cursor: url(../images/common/ui/cursor_sword.png) 0 0, pointer;}
.cine_close:hover, .cine_close:focus-visible{filter:brightness(1.2);}

/* 오른쪽 목록 */
.cine_list{display:flex; flex-direction:column; gap:6px;}
.cine_list a{position:relative; display:grid; grid-template-columns:112px 1fr; grid-template-rows:1fr auto auto 1fr; column-gap:12px; height:75px; padding:6px; text-align:left;
	border:1px solid transparent; border-radius:3px; transition:background .2s, border-color .2s, box-shadow .2s;}
.cine_list a:hover{background:rgba(58,40,20,.5);}
.cine_thumb{grid-row:1 / -1; display:block; width:112px; height:63px; overflow:hidden; border:1px solid #2a2014; background:#0d0f18;}
.cine_thumb img{width:100%; height:100%; object-fit:cover; filter:brightness(.75) saturate(.9); transition:filter .2s;}
.cine_list a strong{grid-column:2; grid-row:2; font-size:0.9375rem; font-weight:700; color:#e8c77a; text-shadow:1px 1px 0 #000;}
.cine_ko{grid-column:2; grid-row:3; margin-top:2px; font-family:var(--font-en); font-size:0.75rem; letter-spacing:.03em; color:#ddd3be;}   /* 어두운 바탕에서도 읽히게 조금 밝게 */
.cine_list a em{position:absolute; right:8px; bottom:6px; font-family:var(--font-en); font-size:0.75rem; font-style:normal; color:#cdbb94;}
.cine_list li.on a, .cine_list a:focus-visible{border-color:#c9a24a; background:rgba(58,40,20,.65); box-shadow:0 0 10px rgba(255,200,60,.25);}   /* 고른 영상 : 얇은 금테 + 약한 발광 */
.cine_list li.on .cine_thumb img, .cine_list a:hover .cine_thumb img{filter:none;}
.cine_list li.on a strong{color:#ffd200;}
.cine_list a:focus-visible{outline:none;}
.cine_list a.new .cine_thumb{position:relative;}
.cine_list a.new .cine_thumb::after{content:'NEW'; position:absolute; left:0; top:5px; padding:1px 7px 1px 5px; background:linear-gradient(90deg, #e8c77a, #b58a45);
	clip-path:polygon(0 0, 100% 0, 88% 50%, 100% 100%, 0 100%); font-family:var(--font-en); font-size:0.5625rem; font-weight:700; letter-spacing:.12em; color:#1a0a00;}

/* 900 이하 : 대표 영상 위, 목록은 가로로 넘기는 필름 스트립 */
@media screen and (max-width:900px) {
	.cine_panel{grid-template-columns:minmax(0, 1fr); gap:16px; padding:40px 16px 16px;}
	.cine_list{flex-direction:row; gap:10px; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; padding-bottom:6px; scrollbar-width:thin;}
	.cine_list li{display:flex; flex:0 0 auto; scroll-snap-align:start;}   /* 카드 높이는 가장 긴 카드에 맞춰 모두 같게 */
	.cine_list a{grid-template-columns:112px; grid-template-rows:auto auto auto; align-content:start; width:136px; height:auto; padding:6px 6px 8px; row-gap:4px;}
	.cine_thumb{grid-row:auto;}
	.cine_list a strong, .cine_ko{grid-column:1; grid-row:auto;}
	.cine_list a strong{display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.6em; font-size:0.8125rem; line-height:1.3;}   /* 제목이 한 줄이든 두 줄이든 아래 줄 위치는 같게 */
	.cine_list a em{position:static; font-size:0.6875rem;}
	.cine_hero_info{padding:40px 14px 12px;}
	.cine_hero_info strong{font-size:1.125rem;}
	.cine_hero_info span{font-size:0.8125rem;}
	.cine_hero_play{top:40%; width:52px; height:52px; margin:-26px 0 0 -26px; padding-left:4px; font-size:1rem;}
}


/* 일반 pc */
@media screen and (max-width:1280px) {
    .sub_title{font-size:6.5rem;}
}

/* 테블릿 */
@media screen and (max-width:1024px) {
    .sub_title{font-size:5.5rem;}

}

/* 소형 테블릿 */
@media screen and (max-width:768px) {
    .sub_title{font-size:4.5rem;}
	#imgBG{width:100%; height:140%; top:30%; object-fit:cover; object-position:50% 100%;}   /* 보스가 화면 가운데쯤 오게 위로 올림 */

}

/* 모바일 */
@media screen and (max-width:640px) {
    .sub_title{font-size:3.5rem;}
}

/* 최소 사이즈 처리 */
@media screen and (max-width:480px) {
    .sub_title{font-size:3rem;}
}
/* 첫 화면 : 실바나스와 석상 사이 그림 속 사선에 빛이 먼저 스치고, 그 선을 따라 어둠이 두 쪽으로 갈라진다 (선 위치는 sub4.js 가 화면 크기에 맞춰 계산) */
.videoBox.doors::before{display:none;}
.hero_doors{position:absolute; left:0; top:0; z-index:0; width:100%; height:100%; pointer-events:none;}
.hero_doors i{position:absolute; left:0; top:0; width:100%; height:100%; background:#05070e; will-change:transform;
	transition:transform 1s cubic-bezier(.7,0,.2,1) .38s, opacity .5s ease-in .9s;}
.hero_doors b{position:absolute; left:0; top:0; width:2px; height:var(--seam-len); margin-left:-1px; transform-origin:50% 0; transform:translate(var(--seam-x), 0) rotate(var(--seam-rot)) scaleY(0);
	background:linear-gradient(180deg, rgba(255,240,200,0), #fff4d6 20%, #ffe2a0 80%, rgba(255,240,200,0)); box-shadow:0 0 10px 2px rgba(255,214,140,.7);
	transition:transform .42s cubic-bezier(.4,0,.2,1), opacity .5s ease-out .55s;}
.hero_doors.open b{transform:translate(var(--seam-x), 0) rotate(var(--seam-rot)) scaleY(1); opacity:0;}
.hero_doors.open i:nth-child(1){transform:translate(var(--dx-l), var(--dy-l)); opacity:0;}
.hero_doors.open i:nth-child(2){transform:translate(var(--dx-r), var(--dy-r)); opacity:0;}
@media screen and (max-width:768px){
	.videoBox.sub_hero::before{background: #05070e; animation: heroShade .6s ease-out both;}
}

/* 목록은 차례로 들어오고, 대표 영상은 어두운 막이 좌우로 걷히며 나타난다 (메인 시네마틱과 같은 박자) */
.cine_panel.wait .cine_list li{opacity:0; transform:translateX(-18px); transition:opacity .42s cubic-bezier(.22,.8,.3,1), transform .42s cubic-bezier(.22,.8,.3,1);}
.cine_panel.wait.in .cine_list li{opacity:1; transform:none;}
.cine_panel.wait.in .cine_list li:nth-child(2){transition-delay:.08s;}
.cine_panel.wait.in .cine_list li:nth-child(3){transition-delay:.16s;}
.cine_panel.wait.in .cine_list li:nth-child(4){transition-delay:.24s;}
.cine_panel.wait.in .cine_list li:nth-child(5){transition-delay:.32s;}
.cine_panel.wait .cine_feature::before, .cine_panel.wait .cine_feature::after{content:''; position:absolute; top:0; z-index:4; width:50.5%; height:100%; background:rgba(6,4,2,.82); pointer-events:none;
	transition:transform .6s cubic-bezier(.22,.8,.3,1) .42s;}
.cine_panel.wait .cine_feature::before{left:0;}
.cine_panel.wait .cine_feature::after{right:0;}
.cine_panel.wait.in .cine_feature::before{transform:translateX(-101%);}
.cine_panel.wait.in .cine_feature::after{transform:translateX(101%);}
.cine_panel.wait .cine_hero_play, .cine_panel.wait .cine_hero_info{opacity:0; transition:opacity .45s ease-out .62s, transform .3s, box-shadow .3s;}
.cine_panel.wait.in .cine_hero_play, .cine_panel.wait.in .cine_hero_info{opacity:1;}
