* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Pretendard", sans-serif;
}

body {
    background: #f5f5f5;
    overflow: hidden;
}

.container {
    padding: 40px;
    height: 100vh;
}

.slider {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
    background: #fff;
    border-radius: 24px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 언어 버튼 공통 */
.lang-buttons {
    margin-top: 22px;
    display: flex;
    gap: 12px;
}

.lang-btn {
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid #ddd;
    background: #fff;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* hero 상단 언어 선택 위치 */
.hero {
    position: relative; /* 이미 있으면 중복 OK */
}

.hero-lang {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
}

/* hero 안에서는 버튼을 살짝 더 작게 */
.hero-lang .lang-btn {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    font-size: 0.85rem;
    padding: 8px 14px;
}
/* 🇰🇷 한국어 – soft blue */
.lang-ko {
    border-color: #cfd8ff;
}
.lang-ko:hover {
    background: #eef1ff;
    color: #2b3a8f;
}

/* 🇨🇳 중국어 – soft red */
.lang-zh {
    border-color: #ffd6d6;
}
.lang-zh:hover {
    background: #fff0f0;
    color: #9b2c2c;
}

/* 🇯🇵 일본어 – soft neutral pink */
.lang-ja {
    border-color: #f3d6df;
}
.lang-ja:hover {
    background: #fff3f7;
    color: #8b2c4a;
}



/* HERO */
/* .hero-text h1 {
    color: #fff;
    text-shadow:
        0 0 8px rgba(255,255,255,0.6),
        0 0 20px rgba(255,255,255,0.4),
        0 0 40px rgba(255,255,255,0.25);
} */
/* .hero-text h1 {
    color: #fff;
    animation: glow 3.5s ease-in-out infinite;
} */
.hero-text h1::after {
    content: "|";
    margin-left: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
@keyframes glow {
    0% {
        text-shadow:
            0 0 6px rgba(255,255,255,0.4);
    }
    50% {
        text-shadow:
            0 0 18px rgba(255,255,255,0.8),
            0 0 36px rgba(255,255,255,0.5);
    }
    100% {
        text-shadow:
            0 0 6px rgba(255,255,255,0.4);
    }
}

.hero {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.25);
}

.hero-text h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 600;
}

/* 공통 */
h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.btn {
    padding: 14px 28px;
    border-radius: 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
}
/* 언어 선택 버튼 영역 */
.lang-buttons {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

/* 언어 버튼 */
.lang-btn {
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* 페이지 이동용 언어 버튼 */
.lang-link {
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    background: #fff;
    text-decoration: none;
    color: #000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

/* hover */
.lang-link:hover:not(.disabled) {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* 마감 상태 */
.lang-link.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


/* hover 효과 */
.lang-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}


/* 네비게이션 */
.nav {
    position: fixed;
    bottom: 30px;
    right: 40px;
}

.nav button {
    padding: 10px 16px;
    margin-left: 8px;
    border-radius: 50%;
    border: none;
    font-size: 18px;
    cursor: pointer;
}
