/* 전체 페이지 레이아웃 */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background-color: #000; /* 배경색을 블랙으로 변경 */
    color: white;
}

.main-header {
    padding: 20px;
    text-align: left;
    background-color: transparent; /* 헤더의 배경을 투명하게 설정 */
}

.main-header img {
    width: 150px; /* 로고 크기 설정 */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#language-select {
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* 메인 콘텐츠 레이아웃 */
.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* 전체 최대 너비를 설정 */
    margin: 0 auto; /* 가운데 정렬 */
    padding: 50px 20px; /* 좌우 여백 추가 */
    flex-wrap: nowrap; /* 플렉스 아이템들이 한 줄에 나열되도록 설정 */
}

/* 좌측 설명 영역 스타일 */
.intro-section {
    flex: 1; /* 좌측 설명 영역의 크기를 유연하게 */
    padding-right: 50px; /* 우측에 여백 추가 */
    min-width: 300px; /* 최소 너비 설정 */
    text-align: left; /* 텍스트 좌측 정렬 */
}

.text-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #F9CF58; /* 포인트 컬러를 #F9CF58로 설정 */
    text-align: center; /* 타이틀 중앙 정렬 */
}

.text-content p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* 스토어 다운로드 버튼 스타일 */
.store-buttons {
    display: flex;
    gap: 20px;
    justify-content: space-between; /* 버튼을 나란히 배치 */
    flex-wrap: nowrap; /* 줄바꿈 방지 */
}

.store-buttons a img {
    width: 200px; /* 기본 이미지 버튼 크기 */
    transition: transform 0.3s ease;
}

.store-buttons a:hover img {
    transform: scale(1.05); /* 버튼 이미지 확대 효과 */
}

/* 우측 미리보기 이미지 스타일 */
.preview-section {
    flex: 1; /* 우측 미리보기 이미지 영역도 유연하게 */
    text-align: right;
    min-width: 300px; /* 최소 너비 설정 */
}

.preview-section img {
    max-width: 80%; /* 이미지가 부모 요소에 맞게 반응형으로 조절되도록 설정 */
    height: auto;
    border-radius: 10px;
}

/* 반응형 레이아웃: 화면이 768px 이하일 때 */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column; /* 레이아웃을 세로로 변경 */
        padding: 20px;
    }

    .intro-section {
        width: 100%; /* 모바일에서 전체 너비 사용 */
        padding-right: 0;
        text-align: left; /* 텍스트를 좌측 정렬 */
    }

    .text-content h1 {
        font-size: 36px; /* 모바일에서 h1 크기를 줄임 */
        text-align: center; /* 모바일에서도 타이틀 중앙 정렬 */
    }

    .text-content p {
        font-size: 16px; /* 모바일에서 p 크기를 줄임 */
    }

    .store-buttons {
        justify-content: center; /* 모바일에서는 버튼을 중앙 정렬 */
        flex-wrap: wrap; /* 모바일에서는 필요 시 줄바꿈 허용 */
    }

    .store-buttons a img {
        width: 150px; /* 모바일에서는 버튼 크기를 150px로 설정 */
    }

    .preview-section {
        width: 100%; /* 모바일에서 전체 너비 사용 */
        text-align: center; /* 이미지 중앙 정렬 */
        margin-top: 30px; /* 이미지와 버튼 사이 간격 */
    }
}

/* 푸터 스타일 */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer a {
    color: #F9CF58; /* 포인트 컬러 적용 */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    margin: 10px 0;
}
