/**
 * 공통 Navbar 스타일
 * 모든 페이지에서 일관된 navbar 디자인 적용
 */

/* Noto Sans KR 폰트 임포트 (모든 페이지에서 동일한 폰트 사용) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

/* Navbar 기본 스타일 */
.navbar {
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
    font-family: 'Noto Sans KR', sans-serif !important;
}

/* 브랜드 로고 */
.navbar-brand {
    font-weight: 900 !important;
    font-size: 1.5rem !important;
    background: linear-gradient(135deg, #6C5CE7, #00CEC9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Noto Sans KR', sans-serif !important;
}

.navbar-brand i {
    color: #6C5CE7;
    margin-right: 8px;
    font-size: 1.5rem !important;
}

/* 네비게이션 링크 */
.nav-link {
    color: rgba(255,255,255,0.7) !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
    font-family: 'Noto Sans KR', sans-serif !important;
}

.nav-link:hover {
    color: #00CEC9 !important;
}

.nav-link.active {
    color: #00CEC9 !important;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #00CEC9;
}

/* 드롭다운 메뉴 */
.dropdown-menu {
    background: rgba(22, 22, 31, 0.98);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-top: 8px;
    font-family: 'Noto Sans KR', sans-serif !important;
}

.dropdown-item {
    color: rgba(255,255,255,0.8);
    padding: 10px 20px;
    transition: all 0.2s;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    font-family: 'Noto Sans KR', sans-serif !important;
}

.dropdown-item:hover {
    color: #fff;
    background: rgba(108, 92, 231, 0.2);
}

.dropdown-item i {
    margin-right: 8px;
    width: 16px;
}

.dropdown-divider {
    border-color: rgba(255,255,255,0.1);
}

/* 남은 시간 배지 */
.navbar .badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px;
    font-weight: 500 !important;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
    font-family: 'Noto Sans KR', sans-serif !important;
}

.navbar .badge i {
    margin-right: 5px;
}

.navbar .badge small {
    opacity: 0.75;
    margin-left: 3px;
}

/* 버튼 스타일 */
.navbar .btn {
    padding: 0.5rem 1.2rem !important;
    border-radius: 8px;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s;
    font-family: 'Noto Sans KR', sans-serif !important;
}

.navbar .btn-primary {
    background: linear-gradient(135deg, #6C5CE7, #5849d4);
    border: none;
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

/* 반응형: 모바일 */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 10, 15, 0.98);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar .badge {
        display: inline-block;
        margin: 0.5rem 0;
    }
    
    .nav-link.active::after {
        display: none;
    }
}
