/* ───────────────────────────────
   공통 스타일
─────────────────────────────── */
body {
    margin: 0;
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
    background: #fff;
}
.container {
    width: 1140px;
    margin: 0 auto;
}

/* ───────────────────────────────
   헤더
─────────────────────────────── */
header {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}
.header-inner {
    width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 22px;
}
.header-inner img {
    object-fit: contain;
}

/* ───────────────────────────────
   네비게이션
─────────────────────────────── */
nav {
    width: 100%;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}
.nav-inner {
    width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 40px;
}
.nav-inner ul {
    display: flex;
    list-style: none;
    gap: 180px;
    margin: 0;
    padding: 0;
}

.nav-inner li {
    position: relative; /* ← 이것 추가! */
}

.nav-inner li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    line-height: 40px;
    transition: color 0.3s ease;
}
.nav-inner li a:hover { color: #3e82ff; }

/* ─ 배지 */
.badge {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #e60012;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    animation: bounce 2s infinite ease-in-out;
}
.badge::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #e60012;
}

.container {
    width: 1140px;
    margin: 0 auto;
}

.site-footer {
    background: #f8f8f8;
    border-top: 1px solid #e5e5e5;
    padding: 20px 0;
    font-size: 14px;
    color: #555;
}

.footer-inner {
    width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease;
}

.footer-logo img {
    height: 40px;
}

.footer-logo .arrow {
    margin-left: 8px;
    font-size: 18px;
    color: #666;
    transition: transform 0.3s ease;
}

.footer-info {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.footer-info.active {
    max-height: 200px;
    opacity: 1;
}

.copy {
    margin-top: 10px;
    font-size: 12px;
    color: #888;
}

/* 화살표 회전 효과 */
.footer-logo.active .arrow {
    transform: rotate(90deg);
}



@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}

