/*
(주)파이브센스_FIVESENSES.Corp.
파이브프로_FIVEPro_웹솔루션.
본 라이브러리(소스코드 및 디자인 포함)는 (주)파이브센스의 자산이며, 저작권법 및 부정경쟁방지법에 의해 보호됩니다.
무단 사용, 외부 유출, 복제, 배포, 변형을 금지합니다.
위반 시 민·형사상 법적 책임 및 손해배상 청구 대상이 됩니다.
작성일: 2025-03-18 | 저작권자: (주)파이브센스(520-86-01244) | All Rights Reserved.
*/

/* 메인 배경 */
.intro_int2 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: #fff;
    opacity: 1; /* 최초 진입 시 즉시 완전히 보임 (fade-in 없음) */
    transition: opacity 1s ease; /* 종료 시 fade-out 용 */
}

.intro_int2.off {
    opacity: 0;
    background: transparent;
    visibility: hidden;
    transition: opacity 1s ease, visibility 0s 1s;
}

.intro_int2 .video_wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* 영상 원본 비율(16:9)을 그대로 유지한 채 화면을 덮고, 넘치는 부분만 크롭.
   기존처럼 세로로만 늘리지 않으므로 화질 왜곡(뭉개짐) 없음 */
.intro_int2 .video_wrap video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    background: #fff;      /* 로드 전/레터박스 영역이 검게 보이지 않도록 */
    pointer-events: none;
}

/* 스킵버튼 */
.intro_int2 .skip_container {
    position: absolute;
    right: 0%;
    bottom: 50px;
    transform: translateX(-50%);
    opacity: 1;
    transition: opacity 3s;
}
.intro_int2.off .skip_container {
    opacity: 0;
}

.intro_int2 .skip_container button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 40px;
    border-radius: 10px;
    background: #222;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: all .3s ease-in-out;
}

.intro_int2 .skip_container button:hover {
    background: #f36f20;
    color: #fff;
}
