/* 공통 헤더 스타일 */

.header {
    background: linear-gradient(135deg, #feb342 0%, #feb342 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 65px;
    width: auto;
    border-radius: 10px !important;
    border: 2px solid transparent !important;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 0.8rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.user-info-display {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
}

.user-level {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    line-height: 1;
}

.language-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .profile-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .user-info-display {
        padding: 0.4rem 0.8rem;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .user-name {
        font-size: 0.8rem;
    }
    
    .user-level {
        font-size: 0.7rem;
    }
    
    .language-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
        height: 55px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
    
    .profile-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .user-info-display {
        padding: 0.3rem 0.6rem;
    }
    
    .user-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
    
    .user-name {
        font-size: 0.7rem;
    }
    
    .user-level {
        font-size: 0.6rem;
    }
    
    .language-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Home 버튼 전용 스타일 - 클릭 시 하얀 배경만, 패딩 없음 */
.home-btn {
    background: transparent !important;
    color: white !important;
    font-weight: 600 !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.home-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: transparent !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 25px !important;
    padding: 0.6rem 1.2rem !important;
}

.home-btn:active {
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 25px !important;
    padding: 0.6rem 1.2rem !important;
}
