/* 공통 nav / footer 스타일은 app.css를 그대로 사용합니다. */
html, body { margin: 0; padding: 0; }
/* 1280px 미만에서는 페이지를 축소하지 않고 가로 스크롤로 확인합니다.
   app.css의 body overflow-x: hidden을 이 파일에서 덮어씁니다. */
html { overflow-x: auto; }
body { min-width: 1280px; overflow-x: visible; }
nav.nav-top { top: 0; left: 0; }

/* 실제 이미지 크기로 표시합니다.
   화면이 좁아져도 축소하지 않고, 2560px 시안의 중앙을 기준으로 보여줍니다. */
.etherial-container {
    position: relative;
    height: 1946px;
    margin-top: 50px;
    overflow: hidden;
    background: #03021d;
    isolation: isolate;
}
.etherial-stage {
    position: relative;
    left: 50%;
    width: 2560px;
    height: 1946px;
    margin-left: -1280px;
}
.etherial-background {
    position: absolute;
    inset: 0;
    /* 배경 원본 2560 x 2200px: 확대/축소 없이 위쪽부터 표시합니다. */
    background: url("../images/bg.png") center top / 2560px 2200px no-repeat;
    z-index: 0;
}
/* 히어로 영역: 0 ~ 1270px */
.etherial-hero { position: relative; height: 1270px; }
.etherial-character {
    position: absolute;
    /* 캐릭터 위치 수정: left는 가로, top은 세로 좌표입니다. */
    left: 740px;
    top: 0px;
    /* 11/16 참고 이미지 기준 배치: 표시 약 1600 x 1170px.
       새 영상 원본 비율 1945:1422를 유지하며 높이는 자동 계산합니다. */
    width: 1600px;
    height: auto;
    aspect-ratio: 1945 / 1422;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
    z-index: 1;
}
.etherial-title,
.etherial-text,
.etherial-date,
.etherial-section1 {
    position: absolute;
    margin: 0;
    padding: 0;
    z-index: 2;
}
/* 공통 app.css의 max-width 제한을 해제하고 각 파일의 원본 크기를 유지합니다. */
.etherial-stage img { display: block; max-width: none; height: auto; }
/* 변경된 원본 747 x 669px. 네비 하단 기준으로 24px 아래에서 시작합니다. */
.etherial-title { left: 660px; top: 24px; width: 747px; }
.etherial-title img { width: 747px; }
/* 타이틀 하단 693px과 텍스트 상단 587px이 106px 겹칩니다. */
.etherial-stage .etherial-text { left: 700px; top: 587px; width: 521px; }
/* 텍스트 높이 219px: 587 + 219 = 806px, 날짜와 간격 0px */
.etherial-stage .etherial-date { left: 720px; top: 806px; width: 412px; }
.etherial-section1 { left: 0; top: 1270px; width: 2560px; height: 676px; }
/* 섹션1 내부 상단 여백 114px, 컨테이너 기준 이미지 top은 1384px */
.etherial-cards { position: absolute; left: 680px; top: 114px; width: 1212px; height: 386px; }
/* 원본 크기 353 x 386px. 투명 여백을 겹쳐 기존 전체 너비 1212px을 유지합니다. */
.etherial-card { position: absolute; top: 0; width: 353px; height: 386px; pointer-events: none; }
.etherial-card:nth-child(1) { left: 0; }
.etherial-card:nth-child(2) { left: 286.333px; }
.etherial-card:nth-child(3) { left: 572.667px; }
.etherial-card:nth-child(4) { left: 859px; }
.etherial-card img { position: absolute; inset: 0; width: 353px; height: 386px; pointer-events: none; }
/* 반응 영역만 사선으로 자릅니다. 이미지의 테두리와 바깥 광채는 자르지 않습니다. */
.etherial-card::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(23% 2%, 98% 2%, 77% 98%, 2% 98%);
    pointer-events: auto;
}
.etherial-card .card-hover { opacity: 0; transition: opacity 0.2s ease; }
.etherial-card:hover .card-hover,
.etherial-card:focus-visible .card-hover { opacity: 1; }
.etherial-card:focus-visible { outline: 2px solid #e6d4ff; outline-offset: 3px; }

/* 등장 시작 간격 0.3초: 타이틀 0초 → 문구 0.3초 → 날짜 0.6초.
   간격 변경은 아래 animation-delay 값만 수정하시면 됩니다. */
.etherial-title,
.etherial-text,
.etherial-date {
    animation: etherial-reveal 0.4s ease-out both;
}
.etherial-title { animation-delay: 0s; }
.etherial-text { animation-delay: 0.3s; }
.etherial-date { animation-delay: 0.6s; }
@keyframes etherial-reveal {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* 모션 줄이기 설정에서는 대기 없이 표시합니다. */
@media (prefers-reduced-motion: reduce) {
    .etherial-title,
    .etherial-text,
    .etherial-date { animation: none; }
    .etherial-card .card-hover { transition: none; }
}

#ft { position: relative; z-index: 10; min-width: 0; }
