/* Common Styles */
body {
    background-color: var(--color-white);
    color: var(--color-white);
    font-family: var(--font-family-secondary);
    overflow-x: hidden;
}

/* 일본어 전용 폰트 - Pretendard 우선, 폴백으로 Noto Sans JP */
html[lang="ja"] body {
    font-family: 'Pretendard', 'Noto Sans JP', sans-serif;
}

html[lang="ja"] * {
    font-family: 'Pretendard', 'Noto Sans JP', sans-serif;
}

/* 중국어 전용 폰트 - Pretendard 우선, 폴백으로 Noto Sans SC */
html[lang="zh"] body {
    font-family: 'Pretendard', 'Noto Sans SC', sans-serif;
}

html[lang="zh"] * {
    font-family: 'Pretendard', 'Noto Sans SC', sans-serif;
}

.container {
    max-width: var(--content-width-desktop);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

/* Responsive Display Classes */
.desktop-only {
    display: block;
}

.tablet-mobile-only {
    display: none;
}

.mobile-only {
    display: none;
}

.tablet-desktop-only {
    display: block;
}

.tablet-only {
    display: none;
}

/* Tablet Styles */
@media (max-width: 1023px) {
    .desktop-only {
        display: none;
    }

    .tablet-mobile-only {
        display: block;
    }

    .tablet-desktop-only {
        display: block;
    }

    .tablet-only {
        display: inline;
    }

    .mobile-only {
        display: none;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }

    .tablet-mobile-only {
        display: block;
    }

    .tablet-desktop-only {
        display: none;
    }

    .tablet-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* 일본어 전용 줄바꿈 */
.ja-desktop-only {
    display: none;
}

html[lang="ja"] .ja-desktop-only {
    display: block;
}

@media (max-width: 1023px) {
    html[lang="ja"] .ja-desktop-only {
        display: none;
    }
}

/* 한국어 태블릿 전용 줄바꿈 */
.ko-tablet-only {
    display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
    html[lang="ko"] .ko-tablet-only {
        display: block;
    }
}

/* 일본어 태블릿 전용 줄바꿈 */
.ja-tablet-only {
    display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
    html[lang="ja"] .ja-tablet-only {
        display: block;
    }
}

/* 일본어 모바일 전용 */
.ja-mobile-only {
    display: none;
}

@media (max-width: 767px) {
    html[lang="ja"] .ja-mobile-only {
        display: block;
    }
}

