/* 기본 스타일 초기화 및 전체 화면 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 랜딩 컨테이너 - 화면 중앙 정렬 */
.landing-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
}

/* 이미지 래퍼 - 클릭 영역 배치를 위한 상대 위치 */
.image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
}

/* 랜딩 이미지 - 반응형 설정 */
.landing-image {
    display: block;
    max-width: 100%;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 클릭 영역 - absolute positioning */
.click-area {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    text-decoration: none;
}

/* 도메인 텍스트 - 이미지 없이 동적 렌더링 */
.domain-text {
    display: inline-block;
    line-height: 1;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: bold;
    /* 이미지(1024x1750) 기준 텍스트 62px 비율 - 이미지 표시 크기에 연동 */
    font-size: min(6.05vw, 3.54vh);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    background: linear-gradient(to bottom, #ffe98c 0%, #f7cf58 40%, #e8b23a 70%, #b8862f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
}

/* 클릭 영역 디버그용 (필요시 주석 해제)
.click-area {
    border: 2px solid rgba(255, 0, 0, 0.5);
    background-color: rgba(255, 0, 0, 0.1);
}
*/

/* 모바일 디바이스 최적화 */
@media screen and (max-width: 768px) {
    .landing-image {
        max-width: 95%;
        max-height: 95vh;
    }

    .domain-text {
        font-size: min(5.75vw, 3.36vh);
    }
}

/* 태블릿 디바이스 최적화 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .landing-image {
        max-width: 90%;
        max-height: 90vh;
    }

    .domain-text {
        font-size: min(5.45vw, 3.19vh);
    }
}

/* 작은 모바일 디바이스 */
@media screen and (max-width: 480px) {
    .landing-image {
        max-width: 100%;
        max-height: 100vh;
    }

    .domain-text {
        font-size: min(6.05vw, 3.54vh);
    }
}
