:root {
    --primary-color: #0056b3;
    --bg-color: #ffffff;
    --text-color: #333333;
    --header-bg: rgba(255, 255, 255, 0.98);
    --border-color: #eeeeee;
}

.dark-mode {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --header-bg: rgba(18, 18, 18, 0.98);
    --border-color: #333333;
}

body { background: var(--bg-color); color: var(--text-color); font-family: 'Pretendard', sans-serif; transition: background 0.3s; margin: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.main-header { position: sticky; top: 0; z-index: 1000; background: var(--header-bg); border-bottom: 1px solid var(--border-color); padding: 15px 0; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo-area img { max-height: 40px; display: block; }
#layout_container:not(.dark-mode) .logo-dark, .dark-mode .logo-light { display: none; }

.gnb ul { display: flex; list-style: none; gap: 30px; }
.gnb ul li a { text-decoration: none; color: var(--text-color); font-weight: 600; font-size: 1.1rem; }
.gnb ul li.active a { color: var(--primary-color); }

/* Slider */
.main-slider { height: 500px; background: #000; overflow: hidden; }
.swiper-slide { background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; position: relative; color: #fff; }
.swiper-slide::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.slide-content { position: relative; z-index: 2; text-align: center; max-width: 800px; }
.ani-text { font-size: 2.5rem; transform: translateY(30px); opacity: 0; transition: 0.8s; }
.ani-text-p { font-size: 1.2rem; margin-top: 15px; transform: translateY(30px); opacity: 0; transition: 0.8s 0.2s; }
.btn-more { display: inline-block; margin-top: 30px; padding: 12px 35px; background: var(--primary-color); color: #fff; text-decoration: none; border-radius: 50px; opacity: 0; transition: 0.8s 0.4s; }
.swiper-slide-active .ani-text, .swiper-slide-active .ani-text-p, .swiper-slide-active .btn-more { transform: translateY(0); opacity: 1; }

/* Footer */
.main-footer { padding: 60px 0; border-top: 1px solid var(--border-color); text-align: center; }
.footer-info { margin-bottom: 20px; font-size: 0.95rem; }

@media (max-width: 768px) {
    .main-header .container { flex-direction: column; gap: 15px; }
    .main-slider { height: 350px; }
    .ani-text { font-size: 1.8rem; }
}