header {
    position: fixed;
    width: 100%;
    transition: background-color 0.3s ease;
    z-index: 3;
}

header.scrolled {
    background-color: #000000e0;
    color: #fff;
    padding: 0;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: var(--fs-xlarge);
    font-weight: 600;
}

.nav-menu {
    display: flex;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    color: #fff;
    padding: 15px 20px;
    transition: background-color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #fff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0;
    color: #fff;
    font-size: var(--fs-xsmall);
}

.auth-btn {
    color: #fff;
    padding: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.auth-btn::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: #fff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.auth-btn:hover::after {
    transform: scaleX(1);
}

.auth-divider {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 5px;
}

/* 드롭다운 메뉴 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(30, 35, 50, 0.95);
    backdrop-filter: blur(15px);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
    0 1px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-top: 8px;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    color: #fff;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    font-size: var(--fs-small);
    position: relative;
    overflow: hidden;
}

.dropdown-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.dropdown-link:hover::before {
    left: 100%;
}

.dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dropdown-link:last-child {
    border-bottom: none;
}

/* 3뎁스 */
.dropdown-item-with-sub {
    position: relative;
    display: block;
}

/* 2뎁스 전체에 overflow 제거 */
.dropdown {
    overflow: visible !important;
}

/* PC 3 depth */
.sub-dropdown {
    position: absolute;
    top: 0; /* 부모 메뉴와 수직 정렬 */
    left: 100%; /* 오른쪽에 붙이기 */
    margin-left: 4px; /* 약간 간격 */

    background-color: rgba(30, 35, 50, 0.95);
    backdrop-filter: blur(15px);

    min-width: 200px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

    opacity: 0;
    visibility: hidden;
    transform: translateY(0) translateX(10px);
    transition: all .25s ease;

    z-index: 3000;
}

/* PC 3 depth 링크 */
.sub-dropdown-link {
    display: block;
    padding: 14px 18px;
    color: #fff;
    font-size: var(--fs-small);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-dropdown-link:last-child {
    border-bottom: none;
}

.sub-dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* PC 역대 행사 아이콘 */
.dropdown-link.has-sub {
    position: relative;
    padding-right: 28px;
}

.dropdown-link.has-sub::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;

    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);

    transform: translateY(-50%) rotate(-45deg); /* 우측 화살표 형태 */
    transition: all .25s ease;
}

/* Hover 시 조금 앞으로 이동 */
.dropdown-item-with-sub:hover > .dropdown-link.has-sub::after {
    transform: translateY(-50%) translateX(3px) rotate(-45deg);
    border-color: #fff;
}

/* Hover될 때 열림 */
.dropdown-item-with-sub:hover .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(0);
}

/* 햄버거 메뉴 버튼 (모바일용) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 15px 10px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 3px 0;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 햄버거 애니메이션 */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 모바일 사이드바 */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(40, 44, 52, 0.98);
    backdrop-filter: blur(20px);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.sidebar-logo {
    color: #fff;
    font-size: var(--fs-xlarge);
    font-weight: 600;
    letter-spacing: 1px;
}

.close-btn {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-circle);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 15px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 모바일 아코디언 */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-dropdown.active {
    max-height: 400px;
}

.mobile-dropdown-link {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    padding: 15px 20px 15px 50px;
    font-size: var(--fs-medium);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.mobile-dropdown-link.has-sub-3 {
    position: relative;
    padding-right: 35px;
}

.mobile-dropdown-link.has-sub-3::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;

    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);

    transform: translateY(-50%) rotate(45deg);
    transition: all .25s ease;
}

.mobile-dropdown-link.has-sub-3.active::after {
    transform: translateY(-50%) rotate(-135deg);
    border-color: #fff;
}

/* 모바일 3 depth */
.mobile-sub-dropdown {
    max-height: 0;
    overflow: hidden;
    background: rgba(0,0,0,0.25);
    transition: max-height .35s ease;
}

.mobile-sub-dropdown.active {
    max-height: 200px;
}

.mobile-sub-link {
    display: block;
    padding: 14px 20px 14px 70px;
    color: rgba(255,255,255,.9);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: var(--fs-medium);
}

.mobile-sub-link::before {
    content: '–';
    position: absolute;
    left: 55px;
    color: rgba(255, 255, 255, 0.5);
}

.mobile-dropdown-link::before {
    content: '•';
    position: absolute;
    left: 35px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.mobile-dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.mobile-dropdown-link:hover::before {
    color: #fff;
    transform: scale(1.3);
}

.mobile-dropdown-link:last-child {
    border-bottom: none;
}

/* 드롭다운 화살표 */
.mobile-nav-link.has-dropdown::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
}

.mobile-nav-link.has-dropdown.active::after {
    transform: rotate(-135deg);
    border-color: #fff;
}

/* 스크롤바 스타일링 */
.mobile-sidebar::-webkit-scrollbar {
    width: 4px;
}

.mobile-sidebar::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
}

.mobile-sidebar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* 오버레이 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1500;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 푸터 */
.footer {
    background-color: #000;
    color: #fff;
    padding: 20px;
    width: 100%;
}

.footer-inner {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-inner .footer-inner__logo {
    display: flex;
    align-items: center;
    font-size: var(--fs-xxlarge);
    flex-shrink: 0;
}

.footer-inner .footer-inner__description {
    font-size: var(--fs-xsmall);
    line-height: 1.6;
}

.footer-inner .footer-inner__description span {
    margin-right: 15px;
}

.copyright {
    margin-top: 10px;
    display: block;
}

.mobile-br {
    display: none;
}

.marker {
    transform: translate(-50%, -100%);
    position: absolute;
    transition: all 0.3s ease;
}

.marker::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-circle);
    filter: blur(3px);
    transition: all 0.3s ease;
}

.marker-info {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

.marker-name {
    color: #000;
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: 2px;
    text-shadow: -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white,
    0px -1px 0 white,
    0px 1px 0 white,
    -1px 0px 0 white,
    1px 0px 0 white;
}

.marker:hover .place-marker-large {
    box-shadow: 0 5px 20px rgba(238, 90, 82, 0.6);
    transform: rotate(-45deg) scale(1.1);
}

.marker:hover::before {
    width: 30px;
    height: 10px;
    bottom: -10px;
    background-color: rgba(0, 0, 0, 0.25);
}

.marker-large {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    box-shadow: 0 5px 10px rgba(238, 90, 82, 0.4);
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.marker-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: var(--radius-circle);
}

/* 모바일 반응형 */
@media (max-width: 1280px) {
    /* 헤더 */
    .header-container {
        padding: 10px 20px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .auth-buttons {
        display: none;
    }

    /* 푸터 */
    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-inner .footer-inner__logo {
        justify-content: center;
    }

    .footer-inner .footer-inner__description span {
        display: block;
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    .mobile-br {
        display: block;
    }
}